Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 2 of 2

Thread: Platformio: How to set F_CPU?

  1. #1
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany NRW
    Posts
    5,565

    Platformio: How to set F_CPU?

    see title
    I installed Platformio - looks with VS - nice but i like std Atom more.
    How can I set the F_CPU ? I'd like to have 96MHz for Teensy 3.2
    Last edited by Frank B; 04-09-2019 at 09:42 PM.

  2. #2
    Member
    Join Date
    May 2015
    Location
    San Francisco
    Posts
    91
    In your platform.ini file, add a line like:

    board_build.f_cpu = 72000000

    in the env section. That's what I have.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •