Skip to content

a makefile that uses Teensyduino to compile and upload Arduino programs

Notifications You must be signed in to change notification settings

myreauks/teensy-makefile

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Teensy Makefile

Teensy Makefile is a modified version of the wonderful arduino-mk file made by Tim Marston available at http://ed.am/dev/make/arduino-mk to use Teensyduino.

Instructions

To build a .hex file:

  1. Copy makefile to project directory
  2. Run:
export ARDUINODIR=/<path_to>/arduino # only if in a weird place
export BOARD=teensy35 # or whatever your target board is
export SPEED=120 # or whatever your target clock speed is
make

To compile and upload your .hex file:

  1. Run:
make upload

About

a makefile that uses Teensyduino to compile and upload Arduino programs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Makefile 97.3%
  • C++ 2.7%