2021-11-15 12:41 AM
Hello, maybe I found a bug in CubeMX.
Actually it is not possible for me to generate Code for the DualCore derivates to get AzureRTOS active on BOTH cores.
After activating a new project with AzureRTOS selected for both cores, all of the port-*.c and *.h files are removed after further changes in GUI with new code generation.
This bug is very annoying, because using dualCore Azure an each Core is not usable in fact.
bestRegards
Alexander
Solved! Go to Solution.
2021-11-15 05:00 AM
this issue is internally tracked and will be fixed in the coming STM32CubeMX version. So for the moment, you'll need to delete that file each time before regenerating the project.
Sorry for the inconvenience.
regards
Haithem.
2021-11-15 03:31 AM
Hi @AZorn.1
Which STM32CubeMX version are you using?
could you share a sample .ioc project that shows the issue.
2021-11-15 03:38 AM
2021-11-15 03:39 AM
2021-11-15 03:42 AM
2021-11-15 04:52 AM
Hi,
Issue reproduced, could you try to remove the file '.mxproject' located under the root folder of your project then regenerate?
regards
Haithem.
2021-11-15 04:58 AM
Hello,
thank you for this hint, seems that, after deleting .mxproject both ports are generated correct. But only once, after changing anything else in cubeMX, the port is missing again.
Is it necessary to delete this file, prior to every code generation, to be sure, all code is generated correctly?
br
2021-11-15 05:00 AM
this issue is internally tracked and will be fixed in the coming STM32CubeMX version. So for the moment, you'll need to delete that file each time before regenerating the project.
Sorry for the inconvenience.
regards
Haithem.
2021-11-15 05:43 AM
Ok, thank you for the information and the support.