From: Matthias T. <mt...@we...> - 2013-05-02 14:50:42
|
Hi, > I got an arduino leonardo and was asked to flash > amforth onto this device. > > I set up a copy of ...amforth/releases/5.1/appl/arduino. > I can successfully build and flash a duemilanove and > an uno. Not so successful for the leonardo: > > bash> make leonardo.hex > Producing Hexfiles for Arduino leonardo > /home/ew/Forth/amforth/releases/5.1/core\amforth.asm(21): error: > *** Flash size exceeded, please edit your dict_appl_core file to > use less space! Aborting. Cannot reproduce ~/Projekte/amforth.svn/releases/5.1/appl/arduino$ ant leonardo.hex Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-7- openjdk-amd64/lib/tools.jar Buildfile: /home/mt/Projekte/amforth.svn/releases/5.1/appl/arduino/build.xml leonardo.hex: [echo] Producing Hexfiles for atmega32u4 BUILD SUCCESSFUL Total time: 13 seconds ~/Projekte/amforth.svn/releases/5.1/appl/arduino$ Note that avrdude is not capable to program the EEPROM properly. You'll need a small patch for the avrdude.conf (http://savannah.nongnu.org/bugs/?36901) 2nd Note: The usart used for the command terminal is a real one (labeled RX1 and TX1 on the board), not some USB virtual comport. Matthias |