An easy starting point for a Teensy 3.X project which might not fit inside the arduino build environment.
Install the Teensy udev rule: sudo cp tools/49-teensy.rules /etc/udev/rules.d/
Then unplug your Teensy and plug it back in.
src/main.cpp
libraries
Makefile
according to your teensy versionmake
make upload
make
alias for make hex
make build
compiles everything and produces a .elfmake hex
converts the elf to an intel hex filemake post_compile
opens the launcher with the correct filemake upload
uploads the hex file to a teensy boardmake reboot
reboots the teensyteensy3
sub-folder is taken from The Teensy 3 Cores
tools
sub-folder is taken from Teensyduino
src/main.cpp
file is moved, unmodified from teensy3/main.cpp
Makefile
file is moved, modified from teensy3/Makefile
49-teensy.rules
file is taken from PJRC's udev rules
Modifications to Makefile
include