Bug found in CubeMX 6.12.0
Hi
Testing CubeMX 6.12.0 and found a bug. This may exist in other editions.
The code generator improperly places the user code comments in the final while(1) loop. This causes MX (and its integration into IDE) to delete all user code. While testing in IDE, the correct comments will prevent the code from getting deleted. Please see a snip from CubeMX code generator below:
========THIS IS WHAT CUBEMX 6.12.0 GENERATES =========
/* Infinite loop */
/* USER CODE BEGIN WHILE */
while (1)
{
/* USER CODE END WHILE */
/* USER CODE BEGIN 3 */
}
/* USER CODE END 3 */
===========THIS IS WHAT IT *should* GENERATE ========
/* Infinite loop */
/* USER CODE BEGIN WHILE */
while (1)
{
/* USER CODE BEGIN 3 */
/* USER CODE END 3 */
}
/* USER CODE END WHILE */
==================
Can you please address this ASAP? Thank you!
