Hi, I have solved this, replacing the following files by old version of the hal API from other project:Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc.hDrivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc_ex.hDrivers/STM32F4xx_HAL_Driver/Src/stm32f4...