2022-05-02 02:29 AM
H723ZGT6 Nucleo-144
CubeMX 6.5.0
CubeMX FW 1.10.0
uVision 5.35.0.0
STCubeMX has been updated
6.3.0-> 6.5.0
I also updated the FW version
1.9.1-> 1.10.0
After that, the user label will no longer be reflected.
I'm using CubeMX to import a previous project and using the latest version to generate the code.
Apparently, the label is peeling off at the timing of code generation.
This is the state before code generation.
User labels are well reflected here
After generating the code, let's take a look at uVision.
The user label has come off.
This is an old project, but it reflects the user label.
Did you forget to set something when you generated the code?
Please let me know if you have any ideas.
2022-05-02 06:55 AM
Are the labels defined in main.h? Does it happen with newly created projects as well?
2022-05-05 05:36 PM
Sorry for the late reply.
> Are the labels defined in main.h?
Yes. It is defined.
> Does it happen with newly created projects as well?
The newly created project did not have this issue.
The user label was correctly reflected in MX_GPIO_Init.
Do I need to rewrite it to make it a user label?
2022-05-06 02:10 AM
I tried the following method and it worked.
"After resolution"
1. Open the original project of FW Ver1.9.1.
Migrate to FW Ver1.10.0.
2. Create a new project.
Import the project that has been migrated to 1.10.0.
3. Generate code.
"Before resolution"
1. Create a new project
Import the original project of FW Ver1.9.1.
2. Generate code with FW Ver1.10.0.
Original project
It seems that I had to move to 1.10.0.
Thanks for your cooperation.