Is it possible to add custom USER CODE sections?
We are using the ST MCSDK, it is very helpful. In MCSDK/MCLib/Any/Src there is a function called STM_FaultProcessing. It is auto generated by Cube. We have one line we want to add to it that turns an LED on alerting the user to a problem.
This works, but if we then auto generate code, it gets removed.
We attempted to put our own user code brackets around the line to protect it:

But the auto generation writes over it anyway.
Is there any way to insert custom USER CODE sections into areas that do not natively have these sections? If not, can anyone suggest (besides generate->diff->remodify) a good way to keep additions to the ST generated code?
