cancel
Showing results for 
Search instead for 
Did you mean: 

[CUBEMX][BUG REPORT] RTC_init /*USER CODE*/

COSEBE
Senior

Hi,

Since cubeMX 4.27, in the function of MX_RTC_Init()

there are no more  /* USER CODE BEGIN RTC_Init X */ to add code.

We need this to add test is there is an external battery to save the calendar.

Regards,

Sébastien

7 REPLIES 7
Khouloud GARSI
Lead II

Hi @COSEBE​ ,

We will check this and answer you ASAP.

Khouloud.

Houda GHABRI
ST Employee

Hello @COSEBE​ ,

Thanks for your feedback.

Unfortunately I'm not able to reproduce your issue, in MX_RTC_Init with 4.27.0 there is two user code :

/* USER CODE BEGIN RTC_Init 0 */

 /* USER CODE END RTC_Init 0 */

 /* USER CODE BEGIN RTC_Init 1 */

 /* USER CODE END RTC_Init 1 */

Could you please give more details (MCU, RTC configuration,..) or may be send me your ioc if possible?

Regards,

Houda

COSEBE
Senior
Hi,
Find attached the RTC.c and IOC file.
Regards
Sébastien
Le 13/11/2018 à 09:40, ST Community a écrit :

no attached file can you send again?

COSEBE
Senior
Try compressed
Le 13/11/2018 à 09:58, ST Community a écrit :
Houda GHABRI
ST Employee

Sorry @COSEBE​  but not yet received :smiling_face_with_smiling_eyes:

COSEBE
Senior
So with a link :
https://www.dropbox.com/s/26zopsa5hsdpjip/testRTC.rar?dl=0
Please confirm
Le 15/11/2018 à 13:56, ST Community a écrit :