micropython/teensy
Dave Hylands 297446e7af Initial support for Teensy 3.1 2014-01-06 00:20:11 -08:00
..
Makefile Initial support for Teensy 3.1 2014-01-06 00:20:11 -08:00
README.md Initial support for Teensy 3.1 2014-01-06 00:20:11 -08:00
gchelper.s Initial support for Teensy 3.1 2014-01-06 00:20:11 -08:00
led.c Initial support for Teensy 3.1 2014-01-06 00:20:11 -08:00
led.h Initial support for Teensy 3.1 2014-01-06 00:20:11 -08:00
lexerteensy.c Initial support for Teensy 3.1 2014-01-06 00:20:11 -08:00
lexerteensy.h Initial support for Teensy 3.1 2014-01-06 00:20:11 -08:00
main.c Initial support for Teensy 3.1 2014-01-06 00:20:11 -08:00
main.cpp Initial support for Teensy 3.1 2014-01-06 00:20:11 -08:00
malloc0.c Initial support for Teensy 3.1 2014-01-06 00:20:11 -08:00
mk20dx256.ld Initial support for Teensy 3.1 2014-01-06 00:20:11 -08:00
mpconfigport.h Initial support for Teensy 3.1 2014-01-06 00:20:11 -08:00
printf.c Initial support for Teensy 3.1 2014-01-06 00:20:11 -08:00
std.h Initial support for Teensy 3.1 2014-01-06 00:20:11 -08:00
string0.c Initial support for Teensy 3.1 2014-01-06 00:20:11 -08:00
usb.c Initial support for Teensy 3.1 2014-01-06 00:20:11 -08:00
usb.h Initial support for Teensy 3.1 2014-01-06 00:20:11 -08:00

README.md

Build Instructions for Teensy 3.1

This assumes that you have TeensyDuino installed and set the ARUINO environment variable pointing to the where Arduino with TeensyDuino is installed.

cd teensy
ARDUINO=~/arduino-1.0.5 make

To build the loader

cd teensy/loader
make

To upload micropython to the Teensy 3.1.

Press the Program button on the Teensy 3.1

make upload

Currently, the python prompt is through the USB serial interface.

The LED will blink (100 msec on/100 msec off) while waiting for the USB Serial device to be configured, and will blink (200 msec on/200 msec off) while sitting at the readline prompt.

Currently, there is no I/O support configured (no GPIO, ADC, etc).