cancel
Showing results for 
Search instead for 
Did you mean: 

[BUG] STM32CubeMX deletes my code within user code sections after firmware update

dcob
Associate

Hi, 

I just tried to update the firmware of my STM32CubeMX-generated project and regenerated the code. Afterwards my user code in "stm32l4xx_it.c" within "/* USER CODE BEGIN 1 */" and "/* USER CODE END 1 */" was deleted. This is obviously a bug. 

Is there a fix for it without having to manually insert all the code sections again? 

Best regards

dcob

1 REPLY 1
dcob
Associate

This seems not to get any attention from the ST-Staff. Is there any way to report this bug officially?