STM32CubeMX not preserving my user code
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-08-08 12:24 PM
I'm running v1.26.1 of CubeMX and any code that I add between the /* USER CODE BEGIN.. and /* USER CODE END.. comments gets deleted every time I (re)generate the project. I have the 'Keep User Code when re-generating' option ticked. What am I missing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-08-09 1:48 AM
Hi @p.walker​ ,
I assume you're using CubeMX version 4.26.1 (Please feel free to correct me if I'm wrong).
I couldn't reproduce your issue (I have generated a project and my user code was kept after regenerating it). Thus, could you share your ioc file for further debug.
Khouloud.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-10-16 7:00 AM
I am experiencing similar issues with 4.26.1. today... :(
All my code is wiped out.
Vincent
