Blue Pill clock define

Development environment specific, Arduino, Eclipse, VS2013, Em::Blocks etc
stas2z
Posts: 131
Joined: Mon Feb 24, 2020 8:17 pm
Answers: 8

Re: Blue Pill clock define

Post by stas2z »

Renato wrote: Fri May 29, 2020 2:17 am
stas2z wrote: Tue May 26, 2020 10:58 pm Yes, you need whole SystemClock_Config from cube, and don't call it from loop or from anywhere else, it will be called at preinit
So, I supose that Arduino IDE find this information in specific folder.
What I need to do in instalation process to integrate Arduino IDE and CubeMx to take this ?
Tks
No, there is no integration between cubemx and arduino ide

For any board supported by core SystemClock_Config is defined in the variant.cpp
https://github.com/stm32duino/Arduino_C ... #L121-L157

This function uses same name as CubeMX generate, called by core at init stage and it defined as WEAK to be redefined easilly in the user code if needed.
Post Reply

Return to “IDE's”