Russ Butler
f68958df4e
Fix tests to work with LPTICKER_DELAY_TICKS
...
Fix the HAL common_tickers and sleep tests so they work correctly when
the define LPTICKER_DELAY_TICKS is set.
2018-08-17 11:58:55 -05:00
Martin Kojtal
e52bb68f93
tests: astyle fix
...
All tests should comply to our coding standard now
2018-08-03 10:23:38 +01:00
ccli8
9416a32636
Enlarge wait time for flushing serial buffer in Greentea test code
...
Original wait time is not enough for UART to flush out before deepsleep on some targets.
2018-06-21 15:55:14 +08:00
Maciej Bocianski
53548e212b
fix and enable sleep_usticker_test
...
Increases tolerance value for sleep_usticker_test to cover extra time needed
for cpu stats computation (for more details see MBED_CPU_STATS_ENABLED).
Prevent scheduling interrupt during ticker initialization (in lp_ticker_init)
while test execution.
2018-06-11 10:07:34 +02:00
Maciej Bocianski
fb28c41be1
enable HAL sleep test
2018-06-05 06:56:48 +02:00
Maciej Bocianski
0ed26e58a0
HAL sleep test fix
...
Prevents ticker upper layer initialization during test execution
2018-06-05 06:56:47 +02:00
Bartek Szatkowski
4ae6491fd5
Disable sleep tests as they are unstable
2018-05-27 23:31:20 -05:00
Bartek Szatkowski
817bf0b092
Disable intermittently failing sleep test
2018-05-27 23:31:20 -05:00
Bartek Szatkowski
a305d849a8
Rename LOWPOWERTIMER to LPTICKER
2018-05-25 13:06:56 -05:00
Przemyslaw Stekiel
f226ae2fc9
tests-mbed_hal-sleep: decrease delay when testing if us ticker is disabled in deep-sleep mode.
...
This is done because of possible limitations of lowpower ticker freq/width.
2018-05-25 12:04:32 -05:00
Przemyslaw Stekiel
996374e4dc
tests-mbed_hal-sleep: fix formatting.
2018-05-25 12:04:32 -05:00
Przemyslaw Stekiel
7f56bb0c23
tests-mbed_hal-sleep: remove unused variable.
2018-05-25 12:04:32 -05:00
Przemyslaw Stekiel
20a9da5b73
tests-mbed_hal-sleep: use lp ticker data while testing deepsleep.
2018-05-25 12:04:32 -05:00
Przemyslaw Stekiel
160c75d099
tests-mbed_hal-sleep: add lp/us ticker overflow handling.
2018-05-25 12:04:32 -05:00
Przemyslaw Stekiel
b2d3338ad7
Add test and test header to Sleep HAL API.
2018-05-25 12:03:37 -05:00