Skip to main content
dcob
Associate
October 3, 2019
Question

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

  • October 3, 2019
  • 1 reply
  • 549 views

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
October 14, 2019

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