How to generate code inside USER CODE root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-11-25 2:18 AM
Using STM32CubeMX, how to generate the code that goes inside the USER CODE BEGIN/END root sections?
Solved! Go to Solution.
- Labels:
-
STM32MP15 Lines
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-11-25 2:24 AM
Hi @Mark81
CubeMX can't generate user code.
The purpose of USER CODE BEGIN/END root sections is too protect the user code you may have written from being lost in case you regenerate with CubeMX
Hope it's clear.
Olivier
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-11-25 2:24 AM
Hi @Mark81
CubeMX can't generate user code.
The purpose of USER CODE BEGIN/END root sections is too protect the user code you may have written from being lost in case you regenerate with CubeMX
Hope it's clear.
Olivier
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
