mbed library sources. Supersedes mbed-src. Fixed broken STM32F1xx RTC on rtc_api.c
Dependents: Nucleo_F103RB_RTC_battery_bkup_pwr_off_okay
Fork of mbed-dev by
Diff: targets/TARGET_STM/TARGET_STM32L4/common_objects.h
- Revision:
- 174:b96e65c34a4d
- Parent:
- 171:89b338f31ef1
--- a/targets/TARGET_STM/TARGET_STM32L4/common_objects.h Fri Sep 15 14:59:18 2017 +0100 +++ b/targets/TARGET_STM/TARGET_STM32L4/common_objects.h Mon Oct 02 15:33:19 2017 +0100 @@ -135,6 +135,14 @@ } #endif +#if DEVICE_CAN +struct can_s { + CAN_HandleTypeDef CanHandle; + int index; + int hz; +}; +#endif + /* STM32L4 HAL doesn't provide this API called in rtc_api.c */ #define __HAL_RCC_RTC_CLKPRESCALER(__RTCCLKSource__)