Platform: Add sleep/deepsleep user facing functions
Add sleep/deepsleep functions to platform layer which are replacing HAL
functions with the same name, rename existing symbols in HAL layer
to hal_sleep/hal_deepsleep. This way sleep functions
are always available, even if target doesn't implement them, which makes
the code using sleep clearer. It also enables us to make decision on in
which builds (debug/release) the sleep will be enabled.
ls
1 parent 04a31f3 commit 6a045a49a9df90dd2121afc37d3b16340a7a6660
@Bartek Szatkowski Bartek Szatkowski authored on 18 Jan 2017
Showing 31 changed files
View
features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/hal_patch/sleep.c
View
hal/sleep_api.h
View
mbed.h
View
platform/sleep.h 0 → 100644
View
targets/TARGET_ARM_SSG/TARGET_BEETLE/sleep.c
View
targets/TARGET_Atmel/TARGET_SAM_CortexM0P/sleep_api.c
View
targets/TARGET_Atmel/TARGET_SAM_CortexM4/sleep_api.c
View
targets/TARGET_Freescale/TARGET_K20XX/sleep.c
View
targets/TARGET_Freescale/TARGET_KLXX/sleep.c
View
targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/api/sleep.c
View
targets/TARGET_Maxim/TARGET_MAX32600/sleep.c
View
targets/TARGET_Maxim/TARGET_MAX32610/sleep.c
View
targets/TARGET_Maxim/TARGET_MAX32620/sleep.c
View
targets/TARGET_Maxim/TARGET_MAX32625/sleep.c
View
targets/TARGET_NORDIC/TARGET_MCU_NRF51822/sleep.c
View
targets/TARGET_NORDIC/TARGET_NRF5/sleep.c
View
targets/TARGET_NUVOTON/TARGET_M451/sleep.c
View
targets/TARGET_NUVOTON/TARGET_NUC472/sleep.c
View
targets/TARGET_NXP/TARGET_LPC11U6X/sleep.c
View
targets/TARGET_NXP/TARGET_LPC11UXX/sleep.c
View
targets/TARGET_NXP/TARGET_LPC11XX_11CXX/sleep.c
View
targets/TARGET_NXP/TARGET_LPC13XX/sleep.c
View
targets/TARGET_NXP/TARGET_LPC176X/sleep.c
View
targets/TARGET_NXP/TARGET_LPC408X/sleep.c
View
targets/TARGET_NXP/TARGET_LPC43XX/sleep.c
View
targets/TARGET_NXP/TARGET_LPC81X/sleep.c
View
targets/TARGET_NXP/TARGET_LPC82X/sleep.c
View
targets/TARGET_STM/sleep.c
View
targets/TARGET_Silicon_Labs/TARGET_EFM32/sleep.c
View
targets/TARGET_WIZNET/TARGET_W7500x/sleep.c
View
targets/TARGET_ublox/TARGET_HI2110/sleep.c