2017-10-26 01:35 AM
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...
#stm32f7 #stm32cubemx #bug-reportSolved! Go to Solution.
2017-10-30 06:20 AM
Hello
fernandez.hector
,I would like, first, to thank you for your inputs.
The bug you reportwith the sDate/sDate missing code, is an unfortunate side effect.
The suspected code has been corrected, and this particular issue has been resolved and will be delivered in CubeMX4.
We are looking at the second issue you have just reported
https://community.st.com/0D50X00009XkXvgSAF
Kind regards
Sirma
2017-10-26 09:22 AM
Hi
,I cannot reproduce the problem you are describing based on a new generated project (see attached .ioc file).
Could you please share the .ioc file of your project?
-Amel
________________ Attachments : test_rtc.ioc.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HyLi&d=%2Fa%2F0X0000000b6M%2FgCa69O.NIoiiFeutUqH3g8a2AgEWFD9paxTzeYZQK48&asPdf=falseTo give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2017-10-27 02:05 AM
Sure, I uploaded here:
2017-10-27 05:12 AM
Please attach the file here as the link doesn't work (Use advanced editor).
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2017-10-27 08:15 AM
Here it is. I think I have attached it correctly.
________________ Attachments : CubeMXProject.ioc.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HyLd&d=%2Fa%2F0X0000000b6N%2F.q5aQgNMqpPPmiBO3iLaFwbTYpA0fzbTqIDxmu5oeBI&asPdf=false2017-10-30 06:20 AM
Hello
fernandez.hector
,I would like, first, to thank you for your inputs.
The bug you reportwith the sDate/sDate missing code, is an unfortunate side effect.
The suspected code has been corrected, and this particular issue has been resolved and will be delivered in CubeMX4.
We are looking at the second issue you have just reported
https://community.st.com/0D50X00009XkXvgSAF
Kind regards
Sirma