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 Splitting MBED_ERROR macros to support ones with/without error value argument 2018-05-23 12:21:28 -05:00
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 Rework retarget opening 2018-02-06 11:07:21 +02:00
FileHandle.h platform: astyle update 2018-06-29 10:38:44 +01:00
FileLike.h Doxygen comment updates and fixes 2017-10-26 15:36:26 -05:00
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 Added statvfs API to get storage statistics 2017-12-29 16:42:31 -06:00
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 Renamed files in platform to match source names 2017-02-22 18:17:54 -06:00
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 Add the process for Cortex-A in mbed_applicaion 2018-06-22 10:47:23 +09:00
mbed_assert.c Renamed files in platform to match source names 2017-02-22 18:17:54 -06:00
mbed_assert.h Fix comments on mbed_assert.h 2017-10-27 15:38:44 -05:00
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 Updates to configuration flags used in error handling implementation. 2018-06-20 11:56:31 -05:00
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 Make poll() use RTOS tick count 2018-04-23 14:42:59 +03:00
mbed_poll.h Doxygen comment updates and fixes 2017-10-26 15:36:26 -05:00
mbed_power_mgmt.h Update deep sleep lock check in tests 2018-08-17 09:29:41 -05:00
mbed_preprocessor.h Added macro: 1. string length and 2. variable argument count 2018-01-31 14:06:16 -06:00
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 Doxygen comment updates and fixes 2017-10-26 15:36:26 -05:00
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 Fix merge conflict mishap 2018-03-01 17:33:21 +00:00
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 Updated includes of renamed platform header files 2017-03-01 16:45:55 -06:00
rtc_time.h Renamed files in platform to match source names 2017-02-22 18:17:54 -06:00
semihost_api.h Renamed files in platform to match source names 2017-02-22 18:17:54 -06:00
sleep.h Add system_reset() function to Mbed OS 2018-02-28 16:42:34 +00:00
toolchain.h [platform] fix doxygen group close 2017-04-26 09:14:36 -05:00
wait_api.h Renamed files in platform to match source names 2017-02-22 18:17:54 -06:00