STM32CubeMX, code generation issue with USER_write
In the latest version of STM32CubeMX(4.26.1) and the latest ST Libs for STM32F4 (1.21.0), I've found an issue with USER_write. STM32CubeMX overwrites the user code within the USER_write function between the /* USER CODE BEGIN WRITE */ and /* USER CODE END WRITE */ lines. This results in my code be stomped each time I export my project.
Please note that my custom code within the other USER_xxxxx functions in that module does NOT get overwritten.
One additional note, there is an extraneous /* USER CODE HERE */ line that follows the /* USER CODE BEGIN WRITE */ in USER_write. Perhaps a clue?
I hope you can fix this by the next release.
Thanks,
Craig
