Question
Preserving manual code in OSWrappers and TouchGFXConfiguration upon CubeMX code generation?
Is there a way to preserve user code in OSWrappers.cpp and TouchGFXConfiguration.cpp, similar to the usual /* USER CODE BEGIN 1 */ /* USER CODE END 1 */ comment blocks?
Using RTOS: Custom and regenerating overwrites everything. I've tried copying the wanted code into to a second file and excluding or removing the generated files from IAR, but it's restored after regenerating, causing linker duplication errors.
