Skip to content

Commit ab28a5e

Browse files
jeromecoutant0xc0170
authored andcommitted
STM32: Refactor lp_ticker.c + rtc_api.c + sleep.c + rtc_api_hal.h files
1 parent 08509e7 commit ab28a5e

37 files changed

+114
-3809
lines changed

targets/TARGET_STM/TARGET_STM32F0/common_objects.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,4 +116,8 @@ struct i2c_s {
116116
}
117117
#endif
118118

119+
/* STM32F0 HAL doesn't provide this API called in rtc_api.c */
120+
#define __HAL_RCC_RTC_CLKPRESCALER(__RTCCLKSource__)
121+
#define RTC_WKUP_IRQn RTC_IRQn
122+
119123
#endif

targets/TARGET_STM/TARGET_STM32F0/lp_ticker.c

Lines changed: 0 additions & 83 deletions
This file was deleted.

targets/TARGET_STM/TARGET_STM32F0/rtc_api.c

Lines changed: 0 additions & 294 deletions
This file was deleted.

0 commit comments

Comments
 (0)