hal_tick.h changed for the L432KC target in TARGET/../device/ in order to reassign the system ticker from TIM2 to TIM7, since TIM2 was needed as a 32bit encoder counter.
Dependents: Nucleo_L432KC_Quadrature_Decoder_with_ADC_and_DAC
Fork of mbed-dev by
Diff: targets/TARGET_STM/TARGET_STM32L0/common_objects.h
- Revision:
- 154:37f96f9d4de2
- Parent:
- 153:fa9ff456f731
- Child:
- 156:95d6b41a828b
diff -r fa9ff456f731 -r 37f96f9d4de2 targets/TARGET_STM/TARGET_STM32L0/common_objects.h --- a/targets/TARGET_STM/TARGET_STM32L0/common_objects.h Tue Dec 20 17:27:56 2016 +0000 +++ b/targets/TARGET_STM/TARGET_STM32L0/common_objects.h Wed Jan 04 16:58:05 2017 +0000 @@ -116,5 +116,8 @@ } #endif +/* STM32L0 HAL doesn't provide this API called in rtc_api.c */ +#define RTC_WKUP_IRQn RTC_IRQn + #endif