Antti Kauppila
6adc2440a3
DNS manual cleanup mechanism added
2019-09-20 10:20:48 +03:00
Martin Kojtal
8689c3fbc1
Merge pull request #11455 from hugueskamba/hk-add-ability-to-run-minimal-printf-floating-point-tests-manually
...
minimal-printf: Add capability to run floating point tests manually
2019-09-19 13:57:13 +02:00
Martin Kojtal
e134b22dab
Merge pull request #11473 from michalpasztamobica/gcc_warnings_fixes
...
Fix compilation warnings from GCC in netsocket/network tests
2019-09-19 10:36:16 +02:00
Martin Kojtal
926ffb0ede
Merge pull request #11440 from mtomczykmobica/ONME-4239
...
Add missing documentation about tls testing
2019-09-18 11:23:38 +02:00
int_szyk
dc5b9fba09
Tweak equeue chain tests
...
Changed the order of destroying queues because it is needed to destroy
queues in specified order when they are chained.
2019-09-16 13:35:28 +02:00
Michal Paszta
9ce69b6f7d
Fix compilation warnings from GCC
2019-09-16 12:11:26 +03:00
Martin Kojtal
ac7b851ba0
Merge pull request #11409 from dmaziec1/esp8266-nonblocking
...
esp8266 nonblocking connect/disconnect
2019-09-13 16:12:13 +02:00
int_szyk
b481e15eaa
Change reset_reason timeout.
...
Changed mbed_drivers-reset_reason and mbed_hal-reset_reason tests
because sometimes for some devices it was a little bit to short.
2019-09-13 13:29:56 +02:00
Marcin Tomczyk
df8e3c87fe
Add missing documentation about tls testing - review comments fixes
2019-09-12 07:51:30 +02:00
Martin Kojtal
2cd10fc786
Merge pull request #11421 from tymoteuszblochmobica/dns_cache
...
Dns synchronous cache fix
2019-09-11 14:44:32 +02:00
Filip Jagodzinski
01e6bc5827
Tests: USBHID: Use libusb0 backend on Windows
...
libusb0 supports all features used for testing. A newer version
(libusb1) does not have a complete implementation for Windows.
2019-09-11 14:00:30 +02:00
Filip Jagodzinski
db2995052f
Tests: USB: Use libusb0 backend on Windows
...
libusb0 supports all features used for testing. A newer version
(libusb1) does not have a complete implementation for Windows.
2019-09-11 14:00:22 +02:00
Hugues Kamba
5a1333e5ab
minimal-printf: Add capability to run floating point tests manually
2019-09-11 09:44:19 +01:00
Martin Kojtal
5e693778f4
Merge pull request #11441 from gpsimenos/gp-move-source-files
...
Organize source files and add Doxygen labels
2019-09-11 08:00:03 +02:00
Amanda Butler
4c3cca028e
Edit README.md
...
Edit document.
2019-09-10 15:20:55 -05:00
George Psimenos
bd95c53a4c
Move source files and add Doxygen labels
2019-09-10 14:31:24 +01:00
Dominika Maziec
f5ccbe7972
esp8266 nonblocking connect/disconnect
...
`ESP8266Interface::connect()` and `ESP8266Interface::disconnect()` can be used in terms of asynchronous operations. Mainly, it is based on newly added private variable of type `esp_connection_software_status` which is used to keep tracking of state of connection.`wifi_connect_nonblock` test was renamed and amended to test both `connect()` and `disconnect()` operation
2019-09-10 09:37:46 +02:00
Martin Kojtal
1800632655
Merge pull request #11417 from Tharazi97/GR_LYCHEE-stats_CPU
...
Change stack sizes of threads used in tests. GR_LYCHEE failing CI
2019-09-09 14:38:06 +02:00
Marcin Tomczyk
da8dbca561
Add missing documentation about tls testing
2019-09-09 11:54:19 +02:00
Martin Kojtal
7c423db9cc
Merge pull request #11377 from dustin-crossman/master
...
Fixed byte string related TypeError if using python3.
2019-09-09 10:40:06 +02:00
int_szyk
e821c4da6f
Change stack sizes.
...
Change stack sizes in test stats_cpu and mbedmicro-rtos-mbed-threads.
The value 384 was declared to make this test pass on STM32F070RB,
but its main stack value has been changed to 3KB so now it passes
this test with 512 stack size. The change was needed to make GR_LYCHEE
pass this test on ARM compiler.
2019-09-06 16:09:05 +02:00
Tymoteusz Bloch
126ac1e559
DNS cache synchronous fix - Non zero TTL test server change
2019-09-05 17:21:33 +02:00
Martin Kojtal
e001216b55
Merge pull request #11315 from Patater/psa-crypto-api-1.0b3
...
Update Mbed OS for PSA Crypto API 1.0b3
2019-09-03 09:20:15 +02:00
Jaeden Amero
3d1b8363db
Use PSA Crypto API 1.0b3
...
The PSA Crypto API has moved on from 1.0b2 to 1.0b3, bringing along with
it some breaking changes. Update Mbed OS to use the 1.0b3 API.
2019-09-02 17:10:59 +01:00
Martin Kojtal
bdd6cb8dee
Merge pull request #11342 from maciejbocianski/event_queue_static_alloc
...
add queue static allocation support
2019-08-30 20:14:02 +02:00
Maciej Bocianski
b45d6d6a76
queue test: add counter overflow protect
...
without this fix test_equeue_break_no_windup was failing on IAR
2019-08-30 14:04:43 +02:00
Maciej Bocianski
6440aea843
queue test: add user allocated events test
2019-08-30 14:04:42 +02:00
Dustin Crossman
006adf3592
Fixed byte string related TypeError if using python3.
2019-08-29 13:28:43 -07:00
Maciej Bocianski
e7e5cd2aa4
equeue tests: add user allocated events tests
2019-08-29 15:02:41 +02:00
Evelyne Donnaes
d9f32639eb
Changed minimal-printf to call fputc so that it does not bypass the retargetting code
...
Removed minimal-printf-console-output
2019-08-29 11:30:34 +01:00
Martin Kojtal
453122944c
Merge pull request #11366 from 0xc0170/dev_rollup
...
Rollup part 2 for 5.14
2019-08-29 09:28:49 +02:00
Kyle Kearney
364df397e7
Add QSPI flash configs for several Cypress targets
2019-08-28 10:56:15 -07:00
Martin Kojtal
96d9a8fea9
Merge branch 'MX25LM51245G_QSPI_test_config' of git://github.com/LMESTM/mbed into dev_rollup
2019-08-28 18:37:17 +01:00
Martin Kojtal
d2c05915ac
Merge pull request #11276 from ARMmbed/sip-workshop
...
Add integration tests
2019-08-28 07:13:30 +02:00
Qinghao Shi
701e1a7589
Intefrations Tests: remove docs
2019-08-23 22:15:27 +01:00
Martin Kojtal
f1a8eeca4d
Merge pull request #11289 from michalpasztamobica/unity_replace_macro
...
Replace TEST_ASSERT_INT_WITHIN usage in netsocket tests
2019-08-23 15:43:39 +02:00
Laurent Meunier
1c291361ec
MX25LM51245G test config: explicitely remove unsupported commands
2019-08-23 14:47:21 +02:00
Martin Kojtal
48b5939b33
Merge pull request #11152 from OpenNuvoton/nuvoton_fpga-ci
...
Nuvoton: Fix FPGA CI test failing
2019-08-23 10:02:19 +02:00
Laurent Meunier
4f22a10978
Add MX25LM51245G Serial Flash test config file
2019-08-22 15:15:53 +02:00
Laurent Meunier
ac085926dc
QSPI test: Add condition to multiple IO read support
...
For memories like MX25LM51245G that do not support dual or quad read (in
this case because it supports single and octo-IO modes)
2019-08-22 15:15:53 +02:00
Laurent Meunier
7dddf643ed
Add QSPIF test flash config for TARGET_DISCO_L4R9I
2019-08-22 15:10:19 +02:00
Michal Paszta
05e94afca3
Replace TEST_ASSERT_INT_WITHIN usage in netsocket tests
...
IPCore's netsocket tests are expected to run all tests even if some of them fail. The TEST_ASSERT_INT_WITHIN macro sets a global variable Unity.CurrentTestFailed which prevents further checks and gives incorrect failure count. Other assertion macros in Unity do not do that.
2019-08-22 14:32:59 +03:00
Qinghao Shi
8d7c100fa1
fix docs issue
2019-08-22 10:17:52 +01:00
Martin Kojtal
5c09ff12ac
Merge pull request #11220 from jarvte/fix_cellular_dns_test
...
Fix cellular dns test with IAR compiled binary
2019-08-22 10:57:22 +02:00
Qinghao Shi
e2a77a6a33
TEST: add integration tests for connectivity and storage
2019-08-21 15:09:29 +01:00
Martin Kojtal
590ce2c958
Merge pull request #11194 from dmaziec1/Wifi_test_connect_nonblock
...
Greentea testing wifi connect nonblocked
2019-08-21 16:00:58 +02:00
Dominika Maziec
8f4a865db0
Greentea testing wifi connect nonblocked
2019-08-20 15:53:23 +02:00
Martin Kojtal
398515a367
Merge pull request #11236 from hugueskamba/hk-iotcore-1315-remove-floating-point-ticker
...
Force inline Timer::attach() to get rid of floating-point instructions
2019-08-20 11:47:54 +02:00
Martin Kojtal
181f4f7e93
Merge pull request #11067 from Tharazi97/equeue_tests
...
Add Unittest equeue tests
2019-08-20 10:28:23 +02:00
Martin Kojtal
3b631fd752
Merge pull request #11172 from Tharazi97/Watchdog_fail
...
make watchdog kick reset test pass CI (LSI problem)
2019-08-20 09:42:24 +02:00
Chun-Chieh Li
1bf6d898b0
FPGA: Free up I2C pins to avoid interference with following I2C tests
...
The most suitable place to free up I2C pins is in i2c_free(). Due to
i2c_free() not available in I2C HAL, we free up I2C pins manually by
configuring them back to GPIO.
Without free-up of I2C pins, SDA/SCL pins of the same I2C peripheral may
share by multiple ports due to 'all ports' tests here, and the following I2C
tests would be subject to interference by shared ports.
2019-08-20 13:12:40 +08:00
Chun-Chieh Li
0e092603df
FPGA: Skip some Nuvoton targets not supporting input pull-up/pull-down mode
...
The Nuvoton targets listed below don't support input pull-up/pull-down mode
and so are skipped for test:
- NUMAKER_PFM_NANO130
- NUMAKER_PFM_NUC472
- NUMAKER_PFM_M453
2019-08-20 13:12:02 +08:00
Hugues Kamba
3373d78ec8
Rename hal/rtc test callback to avoid overloading
2019-08-19 16:13:14 +01:00
Hugues Kamba
5635e94af5
Force inline Timer::attach() to get rid of floating-point instruction
...
Calls to Timer::attach() are inlined in order not to use floating-point
library functions calls given Timer::attach_us() expects an integer
for the callback interval.
2019-08-19 16:13:14 +01:00
Hugues Kamba
d6429ef45f
Fix lp_ticker and ticker unit test case wait times
2019-08-19 16:13:14 +01:00
Hugues Kamba
80cdc3e625
Ensure tests use the new method.
2019-08-19 16:13:14 +01:00
Hugues Kamba
e1714ec53a
Require integer to specify callback interval with Ticker API
...
* Create new `s_timestamp_t` type to specify timestamp is seconds
* Alter `attach()` API to expect `s_timestamp_t` for interval value
* Create helper macro to convert seconds to milliseconds and help code
readability
* Modify Greentea tests accordingly
2019-08-19 16:13:14 +01:00
Teppo Järvelin
65bf17eff5
Fix netsocket tests for IAR
...
Test case printed IP address. If ip address is null, IAR compiled binary fails.
Added check for printing null. If IP address is null, then it prints string 'null'.
2019-08-15 15:26:36 +03:00
Anna Bridge
42a2c79a68
Merge pull request #11180 from Tharazi97/atomic_test
...
tweak atomic_test timeout
2019-08-15 12:54:48 +01:00
Martin Kojtal
80556a01fd
Merge pull request #11167 from Tharazi97/Lp_ticker_tests
...
Fix lp ticker and common ticker tests
2019-08-13 11:10:10 +02:00
Martin Kojtal
69bfc3460b
Merge pull request #11157 from mprse/us_ticker_freq_fix
...
Relax us ticker frequency requirement + test update
2019-08-13 11:02:16 +02:00
int_szyk
da70c886c1
tweak watchdog kick reset test
...
Change the value of KICK_ADVANCE_MS so targets pass the test in worst cases
2019-08-13 08:16:24 +02:00
Teppo Järvelin
ce36104ab3
Fix netsocket DNS test for IAR
...
Test case printed IP address. If ip address is null, IAR compiled binary fails.
Added check for printing null. If IP address is null, then it prints string 'null'.
2019-08-12 09:39:41 +03:00
Szymon Kwiatkowski
c06b11b386
Add Unittest equeue tests
2019-08-09 12:45:29 +02:00
Martin Kojtal
fafd0a5480
Merge pull request #11051 from evedon/minimal-printf
...
Minimal printf addition
2019-08-09 09:52:36 +01:00
Seppo Takalo
7d7416558a
Merge pull request #11073 from ARMmbed/feature-public-headers
...
Feature public headers
2019-08-07 16:04:45 +03:00
int_szyk
16c91e9ab3
tweak atomic_test timeout
2019-08-07 14:33:24 +02:00
int_szyk
21590320a6
tweak overflow_protect() common_tickers()
2019-08-06 11:29:08 +02:00
Seppo Takalo
fb7bbd25f1
Merge pull request #11009 from jeromecoutant/PR_SPI4
...
FPGA SPI: remove 4 and 12 bits size support
2019-08-05 17:08:42 +03:00
George Psimenos
3b23edb78c
Fix CI for branch feature-public-headers ( #11093 )
...
* Fix rtos include path in NRFCordioHCIDriver
* Flatten USB driver directory structure
* Add missing include for us_ticker
* Add more missing includes for us_ticker
* Fix mbed_hal_fpga_ci_test_shield/uart test
* Fix bare-metal build
* Fix Watchdog UNITTEST
* Fix Mbed OS 2 build for Public/Internal headers relocating
2019-08-02 12:32:40 +01:00
George Psimenos
df5baf6031
USB public APIs cleanup ( #11034 )
...
The contents of the usb directory were moved to appropriate locations and the usb directory removed.
* Public USB headers moved under drivers/
* Internal USB headers moved under drivers/internal/
* USB Source code moved under drivers/source/usb/
* Moved usb/device/hal/ under hal/usb/
* Moved usb/device/USBPhy/ under hal/usb/
* Merged usb/device/targets/ into targets/
* Separated public and private USB API documentation under Doxygen groups drivers-public-api and drivers-internal-api.
2019-08-02 12:23:47 +01:00
Evelyne Donnaes
8013af2f1e
Fixing include files due to latest rebase
2019-08-02 12:23:47 +01:00
Przemyslaw Stekiel
6faf480aba
tests-mbed_hal-us_ticker: adapt to the new requirements (relax us ticker frequecy).
2019-08-02 13:23:32 +02:00
Seppo Takalo
818c1d6f0f
Merge pull request #11130 from Tharazi97/NotSupportedTest
...
Updated testcases
2019-08-02 13:27:54 +03:00
int_szyk
afddbbf2dc
tweaked overflow_protect() lp_ticker()
2019-08-02 10:42:12 +02:00
Evelyne Donnaes
896500be31
Fixed greentea header include path
2019-08-01 17:34:29 +01:00
Evelyne Donnaes
050a338771
Addressed review comments, in particular:
...
* Fixed wrapper functions for IAR
* Fixed and renamed profile to minimal-printf.json
* Moved minimal-printf under platform
* Removed minimal-printf/mbed_lib.json
* Modified exporter template to work with partial profile
* Prevented optimization of printf to avoid compiler function substitution
2019-08-01 12:42:24 +01:00
Evelyne Donnaes
65ab34695e
Integrated minimal-printf in mbed-os
2019-08-01 12:41:59 +01:00
int_szyk
ae6f8be146
Newline at the end of files
2019-08-01 08:44:58 +02:00
int_szyk
a8d8bd6c18
Astyle
2019-07-31 12:27:41 +02:00
int_szyk
17a4c1b2e9
Update main.cpp
2019-07-31 11:41:57 +02:00
int_szyk
8b68a1ea58
Updated testcases
2019-07-31 10:46:38 +02:00
Ari Parkkila
71c7ed2fb4
Cellular: Add BG96 AT driver with DNS support
2019-07-31 00:19:05 -07:00
Filip Jagodzinski
5e17eddf12
Test: FPGA shield: Update the GPIO-IRQ API tests
...
Use the gpio_irq_pinmap() for GPIO-IRQ testing.
2019-07-25 11:04:10 +02:00
Filip Jagodzinski
0e40e89b7f
Add a sanity check for the GPIO-IRQ pinmap
2019-07-25 10:56:04 +02:00
Seppo Takalo
c5c745804d
Merge pull request #11038 from fkjagodzinski/fpga_test-gpio
...
Extend the GPIO HAL API tests
2019-07-24 15:12:32 +03:00
Seppo Takalo
3a96f436ea
Merge pull request #10847 from davidsaada/david_ps_add_sec_flags
...
PSA storage: Conform to "PSA 1.0.0" spec release
2019-07-23 12:05:22 +03:00
Kevin Bracey
b1c35b7a86
Move Atomic.h to <mstd_atomic>
...
`mbed::Atomic<T>` becomes `mstd::atomic<T>`, alongside the other
standard C++ library lookalikes.
2019-07-18 20:02:07 +03:00
Seppo Takalo
3d5489a6f8
Merge pull request #10644 from fkjagodzinski/hal-gpio_pinmap
...
Add a gpio pinmap
2019-07-17 14:39:40 +03:00
Seppo Takalo
987533859a
Merge pull request #10104 from kjbracey-arm/sleep_api
...
Sleep rework, RTOS API for bare metal, wait deprecations
2019-07-17 14:37:53 +03:00
Seppo Takalo
59b9f1da17
Merge pull request #11014 from SiliconLabs/fix/fpga_tests/adc_methodology
...
Increase ADC tolerance to 5% in FPGA-based tests
2019-07-17 14:29:37 +03:00
Arto Kinnunen
9cdfe37783
Merge pull request #10994 from fkjagodzinski/fix-serial_fc_guards
...
Add DEVICE_SERIAL_FC guards to serial HAL API
2019-07-15 15:47:37 +03:00
Arto Kinnunen
85a90221ed
Merge pull request #11004 from jeromecoutant/PR_I2C
...
FPGA I2C: correct init bloc number
2019-07-15 15:46:10 +03:00
Arto Kinnunen
51b44d1cfa
Merge pull request #11005 from jeromecoutant/PR_PWM
...
FPGA PWM: wait 1 period before measurement
2019-07-15 15:44:47 +03:00
Arto Kinnunen
aca726d59f
Merge pull request #11022 from OpenNuvoton/nuvoton_wdt-test-oom
...
Fix watchdog tests failing with OOM
2019-07-15 15:37:24 +03:00
Kevin Bracey
a522dcfa0a
Replace deprecated wait calls
2019-07-15 10:13:50 +03:00
Kevin Bracey
89eba7303f
Timed sleep rework
2019-07-15 10:13:49 +03:00
Kevin Bracey
20451082c1
Move SysTimer to platform, for non-RTOS use
2019-07-15 10:13:49 +03:00
David Saada
fb3559d841
PSA storage: Conform to "PSA 1.0.0" spec release
...
- Add the no confidentiality & no replay protection flags
- Add actual size parameter in PS/ITS get APIs
- Change a few size parameters from uint32_t to size_t
2019-07-14 18:50:47 +03:00
Evelyne Donnaes
2d6db332e6
Merge pull request #11010 from jeromecoutant/PR_ASYNCSPI
...
FPGA SPI: ASYNC issue
2019-07-12 16:34:42 +01:00