Small issue with boards.txt

gdhamp

New member
I'm using Makefiles rather than the Arduino IDE from https://github.com/sudar/Arduino-Makefile and it supports Teensy nicely except for a small problem. It reads the boards.txt file for a few items and when it grabs F_CPU it looks for the highest frequency. Current your boards.txt has defines entries for teensy31 CPU clock frequency that aren't really supported and don't work. In boards.txt, the configuration items for the menu in the IDE are commented out but the F_CPU items aren't.

teensy31.menu.speed.2=2 MHz (No USB)
teensy31.menu.speed.120=120 MHz (overclock)
#uncomment these if you want to try faster overclocking
#teensy31.menu.speed.144=144 MHz (overclock)
#teensy31.menu.speed.168=168 MHz (overclock)
teensy31.menu.speed.168.build.fcpu=168000000
teensy31.menu.speed.144.build.fcpu=144000000
teensy31.menu.speed.120.build.fcpu=120000000

teensy31.menu.speed.96.build.fcpu=96000000
teensy31.menu.speed.72.build.fcpu=72000000

While I'm not sure how many people use makefile builds, it probably would be nice for this to work out of box. Is there any chance you can comment out the higher speed?

Also, what has your experience been running at 120MHZ on the MK20DX256?

Thanks much,
George
 
Is there any chance you can comment out the higher speed?

The higher speeds are commented out:

Code:
#uncomment these if you want to try faster overclocking
#teensy31.menu.speed.144=144 MHz (overclock)
#teensy31.menu.speed.168=168 MHz (overclock)

Your makefile / script is reading the wrong lines.
 
Back
Top