AnsweredAssumed Answered

Bug report: STM32CubeMX 4.23 MX_RTC_Init

Question asked by Hector Fernandez on Oct 26, 2017
Latest reply on Oct 30, 2017 by Sirma Siang

Today I have just updated my STM32CubeMX to the 4.23 version.

I migrated the project I am using currently. It uses a STM32F767VITx. So far, I was using the 4.21.1 version of STM32CubeMX.


Today I made some changes in my STM32CubeMX project in order to change some settings. But when I was about to commit this changes to GIT, I noticed the file "rtc.c" (generated automatically by STM32CubeMX and never edited manually) had changed. So, I opened this file in order to see what it changed.


In the image below, you can see the problem: STM32CubeMX now generates the variables "sTime" and "sDate" as global variables, but never initializes them. So all the settings you configure in the STM32CubeMX are never used. I looked for this variables over all my project and I didn't find any call or use, so these two variables are never initialized to any value.


This error (I guess it is an error) have appeared in this new release.


Even I started I new project from scratch to check if it was a "migration" problem. But unfortunately, the error still persist.


I hope that CubeMX devs can solve this problem in the next release...


Git commit changes