2022-10-10 04:01 PM
Once I generate it. It deletes all the code work I have done.How can I disable that happening.
Solved! Go to Solution.
2022-10-10 04:33 PM
First and foremost, use some method to save your work and recover when needed: git or other version control. Or just make a copy of everything.
Next, check the options in the "project manager" group. There is option to NOT delete all files before re-generation. Learn about the USER CODE guard blocks.
2022-10-10 04:33 PM
First and foremost, use some method to save your work and recover when needed: git or other version control. Or just make a copy of everything.
Next, check the options in the "project manager" group. There is option to NOT delete all files before re-generation. Learn about the USER CODE guard blocks.
2022-10-10 04:42 PM
Thank you for the reply. Does this "Code generation" is required in order to the device to work for example USART2 interrupts initialization and work with the interrupts receive.
2022-10-10 05:09 PM
The code generation is not strictly required. For example, you can write it yourself 🙂