Custom User Code Sections
In many cases, especially for middleware, it may be necessary to extend the code generated by CubeMX.
Since not all files have sections that are untouched by the code generator or some places inside a file are missing those user code sections, I'm often in the need of a feature that would allow to add my own sections by adding a comment such as
/* USER CODE BEGIN */
/* USER CODE END */
to my source file. Unfortunately, those sections are overwritten as soon as the code generator gets triggered again.
Would it be possible to add this feature?
How does the code generator currently handle those sections anyway if not looking for the specific comments (since adding my own user code comments does not work)?
