-
| Currently STM32G070 and STM32G030 are both internal RC oscillators, how do I set up to use the external 8Mhz crystal oscillator | 
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
| Hi @ShiPC123 | 
Beta Was this translation helpful? Give feedback.
-
| hello I created a build_opt.h in the project. I changed the serial buffer  size but the coding error was reported | 
Beta Was this translation helpful? Give feedback.




Hi @ShiPC123
I guess you use the generic target.
You can redefine default clock config like it is documented in the wiki:
https://github.com/stm32duino/Arduino_Core_STM32/wiki/Custom-definitions#systemclock_config