AnsweredAssumed Answered

Modifying the code in the main.c file

Question asked by SJ Lim on Apr 10, 2018
Latest reply on Apr 12, 2018 by Dave Jones

Hi!

I am curious about the main.c file among the files generated by the stm32cubemx program.

I want to configure directly the system clock in the main function without calling the SystemClock_Config function in the main.c file.

Can I modify the non-user section in the main.c file? if I want to modify code as follows,

Is there any problem with copyright?

 

main() function in the main.c

 

SystemClock_Config() function generated by the stm32cubemx program(delete)

Regards, SJ

Outcomes