Skip to main content
COSEBE
Senior
November 6, 2018
Question

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

  • November 6, 2018
  • 6 replies
  • 1190 views

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

This topic has been closed for replies.

6 replies

Khouloud GARSI
Technical Moderator
November 6, 2018

Hi @COSEBE​ ,

We will check this and answer you ASAP.

Khouloud.

Houda GHABRI
ST Employee
November 13, 2018

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
COSEBEAuthor
Senior
November 13, 2018
Hi,
Find attached the RTC.c and IOC file.
Regards
Sébastien
Le 13/11/2018 à 09:40, ST Community a écrit :
Houda GHABRI
ST Employee
November 13, 2018

no attached file can you send again?

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

Sorry @COSEBE​  but not yet received :smiling_face_with_smiling_eyes:

COSEBE
COSEBEAuthor
Senior
November 15, 2018
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 :