seeeduino mega compilation error

Arduino, Seeeduino Serials and mutants. Share your problems and experence on arduino compatible board such as seeeduino/stalker, etc.

seeeduino mega compilation error

by jio » Wed Oct 03, 2012 8:02 am

Hi, finally i bought a seeduino mega.
but, when i try to Verify and or Upload the Samples\Blink (yea mi first try!) i got this error:

cc1plus: error: unrecognized command line option "-imultilib"
cc1plus: error: invalid option `mcu=atmega1280'
cc1plus: avr51: No such file or directory
cc1plus: warning: -ffunction-sections may affect debugging on some targets

what's going on?

thank's in advance

Juan
Newbie
Newbie
 
Posts: 3
Joined: Tue Jul 31, 2012 7:03 am

Re: seeeduino mega compilation error

by Jacket Chen » Tue Oct 16, 2012 11:07 am

Hi,Dear
I have compiled it's demo(Blink) ,but it worked well.
Which board of tools did you choose?Could you provide some pictures for us to show it more clearly, so we can solve your problem more quickly.
Thanks a lot.
Best Regards
Jacket
No matter you are here or not, i am still here.
User avatar
First Lieutenant
First Lieutenant
 
Posts: 561
Joined: Thu Jun 21, 2012 4:25 pm
Location: China

Re: seeeduino mega compilation error

by jio » Thu Oct 18, 2012 8:21 am

Hi, finally i figured out what was going on.

I have installed MinGW and to make it work i did some "manual configurations" basically some "environement variables" one of them tells the directory of gcc (wich i assume is used somewhere by the arduino software) as soon as i deleted those references, voila, Check started to work.

Then when trying to upload i had some "time outs", i look in forums for same problems and i changed in the boards.txt the following:

from
mega2560.upload.protocol=stk500v2
to
mega2560.upload.protocol=wiring

( http://arduino.cc/forum/index.php/topic,115010.0.html )

and i had to change the Manual_reset/Auto switch to Auto to get it work.

from this point on all seems to work ok, i'm using the arduino mega with the tft libraries with out any problem.

regards

Juan
Newbie
Newbie
 
Posts: 3
Joined: Tue Jul 31, 2012 7:03 am


Who is online
Users browsing this forum: No registered users and 3 guests