2020-09-15 10:52 AM
In STM32CubeIDE V1.4.2, if the CubeMX Project Manager has the "Generate peripheral initialization as a pair of '.c/.h' files per peripheral" setting enabled after the project had been built with it previously disabled, when the project code is re-generated, the existing user code in the regenerated FreeRTOS tasks is deleted and replaced with the default code. The expectation is that the user code in those tasks would have been retained.
This problem also seems to occur from other changes by CubeMX that result in the task code being re-generated (i.e. renaming the task).
2020-09-29 07:28 AM
Hello dlkeng,
I can't reproduce the issue, could you please attach your ioc file for further check ?
Regards,
Khouloud.
2020-09-29 11:32 AM
2020-10-01 03:16 AM
Hello dlkeng,
Thanks for the clarifications.
The point you raised will be reported internally to be treated accordingly to the priority. We will give you an update as soon as possible.
Regards,
Khouloud.