Skip to main content
dcob
Associate
Oct 3, 2019 10:07 AM UTC
Question

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

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

This topic has been closed for replies.

1 reply

dcob
dcobAuthor
Associate
Oct 14, 2019 6:37 AM UTC

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