Commit Graph

16 Commits (mbed-os-5.13)

Author SHA1 Message Date
int_szyk ef369dd926 Newline at the end of files 2019-08-12 08:32:07 +01:00
int_szyk 6d38596a27 Updated testcases 2019-08-12 08:32:06 +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
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
Martin Kojtal 2a26e1af4b watchdog: fix copyright 2019-07-11 11:55:18 +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 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
Mel W cbb26403eb Capitalizing Watchdog 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
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
Steve Cartmell 4f2acf5f03 test(api-watchdog): Fix errors in compiling watchdog greentea tests
The latest rebase of the watchdog feature branch introduced errors in compiling
watchdog tests due to missing headers.

- Watchdog HAL API test
  Include missing header files to main.cpp (mbed_wait_api.h, stdlib.h).

- Watchdog HAL API timing test
  Include missing header files to main.cpp (us_ticker_api.h).

- Watchdog Driver API test
  Include missing header files to main.cpp (mbed_wait_api.h, stdlib.h).
  Inject mbed namespace into main.cpp to fix Watchdog name resolution.
2019-07-11 11:55:09 +01:00
ccli8 90c75f5d01 Enlarge wait time for flushing serial buffer in Greentea test code
Original wait time is not enough for UART to flush out before deepsleep/reset on some targets.
2019-07-11 11:55:08 +01:00
Filip Jagodzinski a7734d0fc8 Tests: HAL API: Watchdog: Add tests 2019-07-11 11:55:04 +01:00