Boards.txt lacks architecture def

georgeharker

New member
I'm using makefiles to build (yeah I know old school) and ideally I could fish the architecture out of the boards.txt file like is done for the standard arduino builds.

Something like the diff at the end of the post (Diff generated by another user from a github issue on the makefiles project here https://github.com/sudar/Arduino-Makefile)

Ideally for all the boards though.

Would be super helpful if it came as standard as it'll get blown away next teensyduino install.

Thanks for your awesome hardware. Used teensy in several projects to great success.

George


```
$ diff -Naur hardware/teensy/avr/boards.txt.orig hardware/teensy/avr/boards.txt
--- hardware/teensy/avr/boards.txt.orig 2016-11-04 20:43:56.578723781 -0700
+++ hardware/teensy/avr/boards.txt 2016-11-04 20:44:09.994790308 -0700
@@ -363,6 +363,7 @@
teensy31.upload.maximum_data_size=65536
teensy31.upload.tool=teensyloader
teensy31.upload.protocol=halfkay
+teensy31.build.architecture=arm
teensy31.build.board=TEENSY31
teensy31.build.core=teensy3
teensy31.build.mcu=mk20dx256
```
 
Back
Top