Hello Carlos,
- About "If I manually make some changes to the automatically generated code of MCUinit.c," , after you change the code ,
please select "Don't Write Generated Component Modules" , then after you build , the changed code won't disappear.

- About "If I make some changes to the configuration of the peripherals, the changes are not applied," , please tell me you use which CW,
and chip, use which component, initialize which part, then i will test it on my side .
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Have a great day,
Alice Yang