PlatformIO Community

Teensy 3.1/3.2 CPU Change Clock Speed

Greetings all!
I have been using PlatformIO for just about everything since I found out about it, and loving it! My question is around the teensy31 board. In the Arduino IDE add-on for the Teensy, there is the ability to adjust the CPU clock speed. I was wondering if there is a similar option in PlatformiO?

Hope so, and thanks again,
–Chris

You need board_f_cpu :slight_smile:

Thanks very much!! Now I just need to figure out all the settings as they relate to the Arduino IDE options. But that’s MY problem.

Thanks again,
–Chris

1 Like

found it in the documentation.
seems to work if copied to the platformio.ini file :grinning:

https://docs.platformio.org/en/latest/boards/teensy/teensy30.html

board_build.f_cpu = 48000000L

2 Likes