November 23, 2024, 04:35:15 AM

Olimex LOL Shield on Mega 2560

Started by cylon, March 13, 2013, 07:59:53 PM

Previous topic - Next topic

cylon

Hi

Has anyone got this working and managed to load and compile and upload all the test programs on this site when using it with a Mega 2560 arduino.

I get a huge amount of errors see belowjust with teh basic test sketch


C:\Users\mike\Desktop\Arduino IDE\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=103 -IC:\Users\mike\Desktop\Arduino IDE\hardware\arduino\cores\arduino -IC:\Users\mike\Desktop\Arduino IDE\hardware\arduino\variants\mega -IC:\Users\mike\Desktop\Arduino IDE\libraries\LoLShield C:\Users\mike\AppData\Local\Temp\build1999736103927601495.tmp\Basic_Test.cpp -o C:\Users\mike\AppData\Local\Temp\build1999736103927601495.tmp\Basic_Test.cpp.o
In file included from Basic_Test.pde:32:
C:\Users\mike\Desktop\Arduino IDE\libraries\LoLShield/Charliplexing.h:21:27: error: HardwareTimer.h: No such file or directory
C:\Users\mike\Desktop\Arduino IDE\libraries\LoLShield/Charliplexing.h:22:20: error: wirish.h: No such file or directory
C:\Users\mike\Desktop\Arduino IDE\libraries\LoLShield/Charliplexing.h:23:16: error: io.h: No such file or directory
In file included from C:\Users\mike\Desktop\Arduino IDE\hardware\arduino\cores\arduino/Arduino.h:213,
                 from Basic_Test.pde:35:
C:\Users\mike\Desktop\Arduino IDE\hardware\arduino\cores\arduino/pins_arduino.h:48:1: warning: "TIMER5A" redefined
In file included from Basic_Test.pde:35:
C:\Users\mike\Desktop\Arduino IDE\hardware\arduino\cores\arduino/Arduino.h:182:1: warning: this is the location of the previous definition
In file included from C:\Users\mike\Desktop\Arduino IDE\hardware\arduino\cores\arduino/Arduino.h:213,
                 from Basic_Test.pde:35:
C:\Users\mike\Desktop\Arduino IDE\hardware\arduino\cores\arduino/pins_arduino.h:49:1: warning: "TIMER5B" redefined
In file included from Basic_Test.pde:35:
C:\Users\mike\Desktop\Arduino IDE\hardware\arduino\cores\arduino/Arduino.h:183:1: warning: this is the location of the previous definition
In file included from C:\Users\mike\Desktop\Arduino IDE\hardware\arduino\cores\arduino/Arduino.h:213,
                 from Basic_Test.pde:35:
C:\Users\mike\Desktop\Arduino IDE\hardware\arduino\cores\arduino/pins_arduino.h:50:1: warning: "TIMER5C" redefined
In file included from Basic_Test.pde:35:
C:\Users\mike\Desktop\Arduino IDE\hardware\arduino\cores\arduino/Arduino.h:184:1: warning: this is the location of the previous definition
Basic_Test.pde:49: warning: only initialized variables can be placed into program memory area


maria_olimex

Hello cylon,

Can you please give more information on the following:
- the version of the LOLShield library you are using and where you downloaded it from
- the version of arduino you are using
- have you made any changes to the code yourself

Also, it is strongly recommended to have absolutely no spaces in the file/folder paths leading to the gcc compilers(ad when working with gcc in general) as it causes serious errors or the compilation won't even begin. Please try using arduino without a space in the folder path. If there are still errors, please give more info on the things I listed above and I will look into it.

Best Regards,
Maria/OLIMEX
Software developer at Olimex