2018-03-28 09:33 AM
Keil 5 uVision V5.14.0.0
''
void HAL_RTC_MspInit(RTC_HandleTypeDef* rtcHandle)
{if(rtcHandle->Instance==RTC)
{ /* USER CODE BEGIN RTC_MspInit 0 *//* USER CODE END RTC_MspInit 0 */
LL_PWR_EnableBkUpAccess(); /* Enable BKP CLK enable for backup registers */ LL_APB1_GRP1_EnableClock(LL_APB1_GRP1_PERIPH_BKP); /* RTC clock enable */ __HAL_RCC_RTC_ENABLE(); /* USER CODE BEGIN RTC_MspInit 1 *//* USER CODE END RTC_MspInit 1 */
}}''
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Build Output:
compiling rtc.c...
../Src/rtc.c(100): warning: &sharp223-D: function ''LL_PWR_EnableBkUpAccess'' declared implicitly LL_PWR_EnableBkUpAccess();../Src/rtc.c(102): warning: &sharp223-D: function ''LL_APB1_GRP1_EnableClock'' declared implicitly LL_APB1_GRP1_EnableClock(LL_APB1_GRP1_PERIPH_BKP);../Src/rtc.c(102): error: &sharp20: identifier ''LL_APB1_GRP1_PERIPH_BKP'' is undefined LL_APB1_GRP1_EnableClock(LL_APB1_GRP1_PERIPH_BKP);../Src/rtc.c: 2 warnings, 1 errorcompiling stm32f1xx_it.c...//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
#stm32f103rct6 #d #stm32cubemx-4.25 #stm32cubemx2018-03-29 09:00 AM
Hello
Renyuan.Zheng
,This is knownissue already reported to CubeMx team for fix in coming releases.
Sorry for the inconvenience it may bring.
Best Regards,
Imen
2018-03-30 12:23 AM
Hi,Imen,
Thank you very much for your confirmation.
Best Regards,