cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeMX v4.14.0 doesn't preserve all user code

emil
Associate II
Posted on May 19, 2016 at 02:22

In my linux stm32cubemx user code enclosed in

/* USER CODE BEGIN 0 */ ... /* USER CODE END 0 */

is preserved while user code enclosed in

// USER CODE BEGIN Includes ... // USER CODE END Includes

is not.

The difference seems to be just the type of comment (/* */ vs // ). Modifying  the comment type in the template files restored the functionality.

1 REPLY 1
Walid FTITI_O
Senior II
Posted on May 24, 2016 at 15:37

Hi Emil,

It is reported internnally. Thanks for the feedback.

-Hannibal-