I've started over and made a good bit of progress. I've gone the teensyduino route to try and get the LED belt kit to work. This is a 64bit box, so I have installed the 64 bit versions.
1. Installed Arduino 1.0.2 from arduino.cc
2. Installed teensyduino from
http://www.pjrc.com/teensy/td_download.html3. Edited boards.txt, vendor IDs and USB descriptors (but left avrdude as installed version is v5.10) as instructed here:
http://www.ladyada.net/wiki/products/at ... 1302835337In the IDE if I set the board to be a Teensy 2.0, the Advanced LED beltkit tutorial compiles, but fails to upload with this error:
Please press the RESET BUTTON on your Teensy to upload your sketch. Auto-reboot only works if the Teensy is running a previous sketch.
Pressing reset in any combination of before or after 'upload' results in the same error. Tried with /dev/ttyACM0, ttyS0, ttyS1.
OK, so then tried switching to Atmega32u4. This results in compiler errors:
- Code: Select all
In file included from /home/chris/arduino-1.0.2/hardware/teensy/cores/teensy/wiring.h:32,
from /home/chris/arduino-1.0.2/hardware/teensy/cores/teensy/WProgram.h:19,
from /home/chris/arduino-1.0.2/hardware/teensy/cores/teensy/Arduino.h:1,
from /home/chris/arduino-1.0.2/libraries/SPI/SPI.h:15,
from advancedLEDbeltKit.pde:15:
/home/chris/arduino-1.0.2/hardware/teensy/cores/teensy/core_pins.h:1914:4: error: #error "Clock must be 16, 8, 4, 2 or 1 MHz"
In file included from /home/chris/arduino-1.0.2/hardware/teensy/cores/teensy/wiring.h:32,
from /home/chris/arduino-1.0.2/hardware/teensy/cores/teensy/WProgram.h:19,
from /home/chris/arduino-1.0.2/hardware/teensy/cores/teensy/Arduino.h:1,
from /home/chris/arduino-1.0.2/libraries/SPI/SPI.h:15,
from advancedLEDbeltKit.pde:15:
/home/chris/arduino-1.0.2/hardware/teensy/cores/teensy/core_pins.h: In function ‘void delayMicroseconds(uint16_t)’:
/home/chris/arduino-1.0.2/hardware/teensy/cores/teensy/core_pins.h:1916: error: ‘tmp’ was not declared in this scope
/home/chris/arduino-1.0.2/hardware/teensy/cores/teensy/core_pins.h:1933: error: invalid lvalue in asm output 0
In file included from /home/chris/arduino-1.0.2/hardware/teensy/cores/teensy/WProgram.h:25,
from /home/chris/arduino-1.0.2/hardware/teensy/cores/teensy/Arduino.h:1,
from /home/chris/arduino-1.0.2/libraries/SPI/SPI.h:15,
from advancedLEDbeltKit.pde:15:
/home/chris/arduino-1.0.2/hardware/teensy/cores/teensy/HardwareSerial.h: In member function ‘void HardwareSerial::begin(uint32_t, uint8_t)’:
/home/chris/arduino-1.0.2/hardware/teensy/cores/teensy/HardwareSerial.h:11: error: ‘null’ was not declared in this scope
In file included from advancedLEDbeltKit.pde:17:
/home/chris/arduino-1.0.2/libraries/TimerOne/TimerOne.h: In member function ‘void TimerOne::setPeriod(long unsigned int)’:
/home/chris/arduino-1.0.2/libraries/TimerOne/TimerOne.h:47: error: ‘null’ was not declared in this scope
Some kind of missing header file? Hope someone has seen this before.
Thanks,
Chris