Commit Graph

1240 Commits (mbed-os-5.13)

Author SHA1 Message Date
adbridge 75ca176183 Revert "Add Unittest equeue tests"
This reverts commit 7ea8e0e89a.
2019-08-23 14:33:43 +01:00
Dominika Maziec 5edea42b6f Greentea testing wifi connect nonblocked 2019-08-23 11:37:41 +01:00
Szymon Kwiatkowski 7ea8e0e89a Add Unittest equeue tests 2019-08-23 11:37:41 +01:00
int_szyk 6cb405d3b8 tweak watchdog kick reset test Change the value of KICK_ADVANCE_MS so targets pass the test in worst cases 2019-08-23 11:37:41 +01:00
int_szyk 555f86548a tweak atomic_test timeout 2019-08-23 11:37:41 +01:00
int_szyk 0a50a4e0fa tweak overflow_protect() common_tickers() 2019-08-23 11:37:41 +01:00
int_szyk c82cc8f09c tweaked overflow_protect() lp_ticker() 2019-08-23 11:37:41 +01:00
Przemyslaw Stekiel 93fe9015ca tests-mbed_hal-us_ticker: adapt to the new requirements (relax us ticker frequecy). 2019-08-23 11:37:41 +01:00
int_szyk ef369dd926 Newline at the end of files 2019-08-12 08:32:07 +01:00
int_szyk 2e7c7f754f Astyle 2019-08-12 08:32:06 +01:00
int_szyk 50edb3d920 Update main.cpp 2019-08-12 08:32:06 +01:00
int_szyk 6d38596a27 Updated testcases 2019-08-12 08:32:06 +01:00
Steven Cooreman 54de9fa1df Increase ADC test tolerance to 5%
During the SiP workshop, we discovered that 3% is too narrow due to a combination of:
Voltage rail differences between target and FPGA
Extension of lesser-resolution ADC's to 16-bit results
2019-07-25 15:18:27 +01:00
Filip Jagodzinski a8cdabceee Test: HAL: serial: Add DEVICE_SERIAL_FC guards
Fix undefined references to serial_set_flow_control.
2019-07-25 15:18:27 +01:00
jeromecoutant e42de1f055 FPFA I2C: correct init bloc number 2019-07-25 15:18:27 +01:00
jeromecoutant eb4b323e2e FPGA PWM: wait 1 period before measurement 2019-07-25 15:18:27 +01:00
Chun-Chieh Li 67edba468c Fix mbed_hal-watchdog failing with OOM
This is to fix OOM error on targets with just 16KiB RAM.
2019-07-25 15:18:27 +01:00
Chun-Chieh Li c19397da8d Fix mbed_drivers-watchdog failing with OOM
This is to fix OOM error on targets with just 16KiB RAM.
2019-07-25 15:18:27 +01:00
jeromecoutant 333ed3e85a FPGA SPI: ASYNC issue 2019-07-25 15:18:27 +01:00
Devaraj Ranganna efb94025d8 Include psa/crypto.h instead of mbedtls/config.h.
Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
2019-07-25 15:18:27 +01:00
Devaraj Ranganna 7e4c435c45 Include mbedtls/config.h before evaluating MBEDTLS_PSA_CRYPTO_C
Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
2019-07-25 15:18:27 +01:00
Filip Jagodzinski a7178b3519 Test: Watchdog: Fix test_restart case
Watchdog::stop() is called in this test. If the target does not support
stopping the watchdog this case needs to be skipped.
Also improve handling ignored test cases.
2019-07-11 11:55:28 +01:00
Filip Jagodzinski fd92a22993 Test: Watchdog: Fix astyle errors 2019-07-11 11:55:28 +01:00
Filip Jagodzinski be6a26e0ef Test: WatchdogManager: Remove tests
This component no longer exists in Mbed OS.
2019-07-11 11:55:28 +01:00
Filip Jagodzinski 9c6cd2b669 Test: Watchdog: Add new driver tests 2019-07-11 11:55:28 +01:00
Filip Jagodzinski df372fd19e ResetReason: Update the header file
Minor doxygen fixes.
2019-07-11 11:55:18 +01:00
Martin Kojtal 2a26e1af4b watchdog: fix copyright 2019-07-11 11:55:18 +01:00
Filip Jagodzinski 33ef09b3df Test: watchdog_mgr: Remove dead code 2019-07-11 11:55:18 +01:00
Filip Jagodzinski f52eca9ebe Test: update reset_reason driver test
Update the watchdog timing requirements:
1. The watchdog should trigger at, or after the timeout value.
2. The watchdog should trigger before twice the timeout value.

Use a SERIAL_FLUSH_TIME_MS value consistent with other tests.
2019-07-11 11:55:17 +01:00
Filip Jagodzinski 4180fcc045 Test: update HAL watchdog-timing test
Update the watchdog timing requirements:
1. The watchdog should trigger at, or after the timeout value.
2. The watchdog should trigger before twice the timeout value.
2019-07-11 11:55:17 +01:00
Filip Jagodzinski 5d76717323 Test: update HAL watchdog-reset test
Update the watchdog timing requirements:
1. The watchdog should trigger at, or after the timeout value.
2. The watchdog should trigger before twice the timeout value.
Remove explicit calls to sleep.
2019-07-11 11:55:17 +01:00
Filip Jagodzinski e55fff9060 Test: update HAL watchdog test
Update the watchdog timing requirements:
1. The watchdog should trigger at, or after the timeout value.
2. The watchdog should trigger before twice the timeout value.
2019-07-11 11:55:17 +01:00
Filip Jagodzinski d585e1bba6 Test: update HAL reset_reason test
Update the watchdog timing requirements:
1. The watchdog should trigger at, or after the timeout value.
2. The watchdog should trigger before twice the timeout value.
2019-07-11 11:55:17 +01:00
Filip Jagodzinski 3a3bb4f90d Tests: Watchdog: Update timing test
Skip test cases with unsupported timeout values.
2019-07-11 11:55:17 +01:00
Filip Jagodzinski d800cc315c Tests: Watchdog: Decrease default timeout to 100 ms 2019-07-11 11:55:16 +01:00
Filip Jagodzinski f163a4c8d4 Tests: Watchdog: Update test case teardown
Added a mechanism which will prevent an initialised watchdog from
resetting the device during final greentea communication.
This allows testing watchdog timeouts as short as 50 ms.
2019-07-11 11:55:16 +01:00
Filip Jagodzinski 715369d6d1 Tests: Update Watchdog Manager test
Update the watchdog timing requirements:
1. The watchdog should trigger at, or after the timeout value.
2. The watchdog should trigger before twice the timeout value.
2019-07-11 11:55:16 +01:00
Filip Jagodzinski 51835f005b Tests: ResetReason: Use the HAL watchdog API
The Watchdog driver has been updated making this test incompatible
with the new API. Use HAL API instead.
2019-07-11 11:55:16 +01:00
Filip Jagodzinski 30319b8464 Tests: Watchdog: Add Watchdog Manager tests 2019-07-11 11:55:16 +01:00
Filip Jagodzinski 5bf6842efc Tests: Watchdog: Remove outdated driver tests
The Watchdog driver has been updated making these tests incompatible
with the new API. The Watchdog driver functionality is tested with the
unit tests located in UNITTESTS/drivers/Watchdog/ .
2019-07-11 11:55:16 +01:00
Mel W 257e4cb686 capitalizing class name
Hope this is alright.
2019-07-11 11:55:11 +01:00
Mel W cbb26403eb Capitalizing Watchdog 2019-07-11 11:55:11 +01:00
Mel W f1a3ccc21b small grammatical changes
Not sure if the formatting's still alright on these.
2019-07-11 11:55:11 +01:00
Filip Jagodzinski f5e61b99a1 Docs: Watchdog: Update code comments
* capitalize driver class name,
* reword test docs for the driver & HAL,
* capitalize Mbed name,
* reword the comments explaining the SERIAL_FLUSH_TIME_MS macro.
2019-07-11 11:55:11 +01:00
Amanda Butler c04ba485fc Edit ResetReason_tests.h
Make minor grammar edits.
2019-07-11 11:55:10 +01:00
Filip Jagodzinski 2e1b524917 Tests: Watchdog: Update the reset-to-sync delay
Change the config parameter used as a delay before sending the sync
packet after the device reset in watchdog and reset_reason tests. Use
'forced_reset_timeout' instead of 'program_cycle_s'.
2019-07-11 11:55:10 +01:00
Filip Jagodzinski e4217cb5e8 Tests: Watchdog: Fix config access in the host script
Move the calls to get_config_item() to the setup() method. The config is
not available in the initializer yet.
2019-07-11 11:55:10 +01:00
Donatien Garnier ec010fc5e6 Fix more astyle failures 2019-07-11 11:55:10 +01:00
Donatien Garnier fd7e46b799 Apply new astyle config style 2019-07-11 11:55:09 +01:00
Donatien Garnier 7c05a83afa Update license headers 2019-07-11 11:55:09 +01:00