sprhawk / python-on-a-chip

Automatically exported from code.google.com/p/python-on-a-chip
Other
0 stars 0 forks source link

Add Angus Gratton's port to Teensy++ #125

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
On 2010/06/28, from Angus Gratton on the maillist:

2) teensy_support.patch <-- Teensy++ support

Teensy++ is a USB development board (http://pjrc.com/teensy/). It's
built around a AT90USBxxx micro (8kb RAM, 64 or 128kb flash.)

The main difference to the other AVRs is it has no USART, so emulates
serial using the built-in USB support. For that reason I put it into its
own platform/ directory, although it could also be implemented as part
of platform/avr/ by using lots of #ifdefs.

For a demo app, platform/teensy/main.py is a reimplementation of a
Teensy demo program called "blink" that blinks Morse code on the
built-in LED while outputting the same strings to the serial port.
Unfortunately, this simple program, written in pure Python without much
consideration for embedded tricks and techniques, takes up nearly all
the RAM on the Teensy++!!

Original issue reported on code.google.com by dwhall...@gmail.com on 10 Aug 2010 at 1:18

GoogleCodeExporter commented 9 years ago
Attached Angus Gratton's patch from the email.

Original comment by dwhall...@gmail.com on 10 Aug 2010 at 1:22

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by dwhall...@gmail.com on 11 Aug 2010 at 4:02

GoogleCodeExporter commented 9 years ago
r571
- Applied patch
- Renamed calls to sleepMs to delay (see Issue #126)
- Added notes to the README about selecting Teensy++ hardware version 1.0 or 2.0

I don't have a device to test this.  Compiles without error.
Mainlined directly.

Original comment by dwhall...@gmail.com on 11 Aug 2010 at 7:50