mbed-os/platform
Russ Butler 472ababfef Update deep sleep lock check in tests
When the define LPTICKER_DELAY_TICKS is set deep sleep can be randomly
disallowed when using the low power ticker. This is because a Timer
object, which locks deep sleep, is used to protect from back-to-back
writes to lp tickers which can't support that. This causes tests which
assert that deep sleep is allowed to intermittently fail.

To fix this intermittent failure this patch adds the function
sleep_manager_can_deep_sleep_test_check() which checks if deep sleep
is allowed over a duration. It updates all the tests to use
sleep_manager_can_deep_sleep_test_check() rather
than sleep_manager_can_deep_sleep() so the tests work even if deep
sleep is spuriously blocked.
2018-08-17 09:29:41 -05:00
..
ATCmdParser.cpp platform: astyle update 2018-06-29 10:38:44 +01:00
ATCmdParser.h platform: astyle update 2018-06-29 10:38:44 +01:00
CThunk.h platform: astyle update 2018-06-29 10:38:44 +01:00
CallChain.cpp platform: astyle update 2018-06-29 10:38:44 +01:00
CallChain.h platform: astyle update 2018-06-29 10:38:44 +01:00
Callback.h platform: astyle update 2018-06-29 10:38:44 +01:00
CircularBuffer.h CircularBuffer: volatile specifier removal 2018-08-08 10:11:59 +01:00
CriticalSectionLock.h platform: astyle update 2018-06-29 10:38:44 +01:00
DeepSleepLock.h
DirHandle.h platform: astyle update 2018-06-29 10:38:44 +01:00
FileBase.cpp platform: astyle update 2018-06-29 10:38:44 +01:00
FileBase.h platform: astyle update 2018-06-29 10:38:44 +01:00
FileHandle.cpp
FileHandle.h platform: astyle update 2018-06-29 10:38:44 +01:00
FileLike.h
FilePath.cpp platform: astyle update 2018-06-29 10:38:44 +01:00
FilePath.h platform: astyle update 2018-06-29 10:38:44 +01:00
FileSystemHandle.cpp
FileSystemHandle.h platform: astyle update 2018-06-29 10:38:44 +01:00
FileSystemLike.h platform: astyle update 2018-06-29 10:38:44 +01:00
FunctionPointer.h platform: astyle update 2018-06-29 10:38:44 +01:00
LocalFileSystem.cpp platform: astyle update 2018-06-29 10:38:44 +01:00
LocalFileSystem.h platform: astyle update 2018-06-29 10:38:44 +01:00
NonCopyable.h platform: astyle update 2018-06-29 10:38:44 +01:00
PlatformMutex.h platform: astyle update 2018-06-29 10:38:44 +01:00
ScopedLock.h platform: astyle update 2018-06-29 10:38:44 +01:00
SingletonPtr.h platform: astyle update 2018-06-29 10:38:44 +01:00
Stream.cpp platform: astyle update 2018-06-29 10:38:44 +01:00
Stream.h platform: astyle update 2018-06-29 10:38:44 +01:00
Transaction.h platform: astyle update 2018-06-29 10:38:44 +01:00
astyle-branch.out platform: astyle update 2018-06-29 10:38:44 +01:00
critical.h
mbed_alloc_wrappers.cpp platform: astyle update 2018-06-29 10:38:44 +01:00
mbed_application.c Merge pull request #7331 from TomoYamanaka/improve_bootloader 2018-07-03 07:37:19 -05:00
mbed_application.h
mbed_assert.c
mbed_assert.h
mbed_board.c platform: astyle update 2018-06-29 10:38:44 +01:00
mbed_critical.c platform: astyle update 2018-06-29 10:38:44 +01:00
mbed_critical.h platform: astyle update 2018-06-29 10:38:44 +01:00
mbed_debug.h platform: astyle update 2018-06-29 10:38:44 +01:00
mbed_error.c Make location meaningful in print_error_report 2018-07-26 16:21:17 +01:00
mbed_error.h platform: astyle update 2018-06-29 10:38:44 +01:00
mbed_error_hist.c platform: astyle update 2018-06-29 10:38:44 +01:00
mbed_error_hist.h platform: astyle update 2018-06-29 10:38:44 +01:00
mbed_interface.c platform: astyle update 2018-06-29 10:38:44 +01:00
mbed_interface.h platform: astyle update 2018-06-29 10:38:44 +01:00
mbed_lib.json
mbed_mem_trace.cpp platform: astyle update 2018-06-29 10:38:44 +01:00
mbed_mem_trace.h platform: astyle update 2018-06-29 10:38:44 +01:00
mbed_mktime.c platform: astyle update 2018-06-29 10:38:44 +01:00
mbed_mktime.h platform: astyle update 2018-06-29 10:38:44 +01:00
mbed_poll.cpp
mbed_poll.h
mbed_power_mgmt.h Update deep sleep lock check in tests 2018-08-17 09:29:41 -05:00
mbed_preprocessor.h
mbed_retarget.cpp [Nuvoton] Replace __wrap__sbrk with overriding _sbrk 2018-07-26 15:47:25 +08:00
mbed_retarget.h platform: astyle update 2018-06-29 10:38:44 +01:00
mbed_rtc_time.cpp platform: astyle update 2018-06-29 10:38:44 +01:00
mbed_rtc_time.h
mbed_sdk_boot.c platform: astyle update 2018-06-29 10:38:44 +01:00
mbed_semihost_api.c platform: astyle update 2018-06-29 10:38:44 +01:00
mbed_semihost_api.h platform: astyle update 2018-06-29 10:38:44 +01:00
mbed_sleep.h
mbed_stats.c Update stats to fetch Mbed OS version info 2018-07-13 11:58:49 -05:00
mbed_stats.h Update stats to fetch Mbed OS version info 2018-07-13 11:58:49 -05:00
mbed_toolchain.h platform: astyle update 2018-06-29 10:38:44 +01:00
mbed_version.h Separate version header file to get version updates in Mbed OS 2018-07-11 09:41:30 -05:00
mbed_wait_api.h platform: astyle update 2018-06-29 10:38:44 +01:00
mbed_wait_api_no_rtos.c platform: astyle update 2018-06-29 10:38:44 +01:00
mbed_wait_api_rtos.cpp Improved logic in wait_us to avoid division operation in sub-millisec case 2018-07-25 15:04:06 -05:00
platform.h
rtc_time.h
semihost_api.h
sleep.h
toolchain.h
wait_api.h