2021-01-20 01:12 AM
2021-01-20 02:47 AM
Hi @Adriano Melis
Yes, now issue reproduced (thanks for sharing steps, the problem appears at this level: start a new project, choose MCU, without saving the project).
Issue will be fixed, thanks for your contribution.
Khouloud
2021-01-20 01:15 AM
Hello @Adriano Melis
Can you please share your ioc file to check more the problem?
Thanks, Khouloud
2021-01-20 01:28 AM
Hi Kholoud,
Here it is.
When the .ioc is opened the first time in the Eclipse session the user constants are available, however, if the .ioc is closed then reopened are not available anymore.
The code generation however "sees" them: in this project the generated code uses the constants used in the DCTool in the timers init functions.
Cheers,
Adriano
2021-01-20 02:05 AM
Hi @Adriano Melis ,
I have checked on my side using your ioc file, but still can't reproduce the issue.
All User Constants (6 constants) are well generated under main.h and they are present in the Timer configuration panel.
Can you please reopen your ioc file with MX standalone and check?
Thanks, Khouloud
2021-01-20 02:19 AM
Hi Khouloud,
With MX standalone the problem persists.
Steps:
Cheers,
Adriano
2021-01-20 02:47 AM
Hi @Adriano Melis
Yes, now issue reproduced (thanks for sharing steps, the problem appears at this level: start a new project, choose MCU, without saving the project).
Issue will be fixed, thanks for your contribution.
Khouloud
2021-01-20 02:55 AM
Keep in mind that the problem exists in the IDE version without changing project: maybe a step is missed when closing the .ioc project tab in Eclipse, then reopening it.
Thanks for the speedy answers :)
Ciao,
Adriano
2021-08-19 03:05 AM
Hello @Adriano Melis ,
I'm back again to inform you that issue is now fixed, you can use the latest CubeMX version available on site :)
Khouloud