Trouble loading 1280 board with 2.6 or 2.5

I've used Arduino before though I prefer uploading via MP. In this case I have a 1280 board I want to put on a mini quad and I'm getting the following errors. I've put the library folder in the sketch folder with the arducopter folder but it seems to not find things in the library folder that it should. I've tried other versions back to 2.1

I'm using arduino 1.0.1 and choosing the atmega1280 board. When I choose the 2560 board I don't get any compile errors but it doesn't complete the upload due to lack of memory.

Can someone see from the errors below what I'm doing wrong. I have the library folder and arducopter folder in the Arduino directory 

In file included from C:\Users\steve\Documents\Arduino\libraries\FastSerial/BetterStream.h:16,
from C:\Users\steve\Documents\Arduino\libraries\FastSerial/FastSerial.h:56,
from ArduCopter.cpp:52:
C:\Users\steve\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:19:20: error: wiring.h: No such file or directory
In file included from C:\Users\steve\Documents\Arduino\libraries\AP_DCM/AP_DCM.h:8,
from ArduCopter.cpp:70:
C:\Users\steve\Documents\Arduino\libraries\AP_DCM/AP_DCM_HIL.h:7:22: error: WProgram.h: No such file or directory
In file included from ArduCopter.cpp:52:
C:\Users\steve\Documents\Arduino\libraries\FastSerial/FastSerial.h:119: error: conflicting return type specified for 'virtual void FastSerial::write(uint8_t)'
C:\Program Files (x86)\arduino-1.0.1\hardware\arduino\cores\arduino/Print.h:48: error: overriding 'virtual size_t Print::write(uint8_t)'

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • I just tried 2.1 and got these erros. I'm always using the library folder that ones in the zip but it seems to be complaining about missing files.


    In file included from /Users/steve/Documents/Arduino/libraries/FastSerial/BetterStream.h:16,
    from /Users/steve/Documents/Arduino/libraries/FastSerial/FastSerial.h:56,
    from ArduCopter.cpp:52:
    /Users/steve/Documents/Arduino/libraries/FastSerial/../AP_Common/AP_Common.h:19:20: error: wiring.h: No such file or directory
    In file included from /Users/steve/Documents/Arduino/libraries/AP_DCM/AP_DCM.h:8,
    from ArduCopter.cpp:70:
    /Users/steve/Documents/Arduino/libraries/AP_DCM/AP_DCM_HIL.h:7:22: error: WProgram.h: No such file or directory
    In file included from ArduCopter.cpp:52:
    /Users/steve/Documents/Arduino/libraries/FastSerial/FastSerial.h:119: error: conflicting return type specified for 'virtual void FastSerial::write(uint8_t)'
    /Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/Print.h:48: error: overriding 'virtual size_t Print::write(uint8_t)'

This reply was deleted.

Activity

Chris Anderson liked Zara Mae Pickering's profile
May 21
DIY Robocars via Twitter
RT @chr1sa: Donkeycar 4.4 released with tons of new features, including path learning (useful with GPS outdoors), better Web and Lidar supp…
Nov 27, 2022
DIY Robocars via Twitter
RT @NXP: We are already biting our nails in anticipation of the #NXPCupEMEA challenge! 😉 Did you know there are great cash prizes to be won…
Nov 24, 2022
DIY Robocars via Twitter
RT @gclue_akira: レースまであと3日。今回のコースは激ムズかも。あと一歩 #jetracer https://t.co/GKcEjImQ3t
Nov 24, 2022
DIY Robocars via Twitter
UC Berkeley's DIY robocar program https://roar.berkeley.edu/
Nov 24, 2022
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars autonomous car race at @circuitlaunch will be on Sat, Dec 10. Thrills, spills and a Brazilian BBQ. Fun…
Nov 24, 2022
DIY Robocars via Twitter
RT @arthiak_tc: Donkey car platform ... Still training uses behavioral cloning #TCXpo #diyrobocar @OttawaAVGroup https://t.co/PHBYwlFlnE
Nov 20, 2022
DIY Robocars via Twitter
RT @emurmur77: Points for style. @donkeycar racing in @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/Y2hMyj1…
Nov 20, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Going to @diyrobocars race at @UCSDJacobs https://t.co/Rrf9vDJ8TJ
Nov 8, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Race @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/kK686Hb9Ej
Nov 8, 2022
DIY Robocars via Twitter
RT @PiWarsRobotics: Presenting: the Hacky Racers Robotic Racing Series in collaboration with #PiWars. Find out more and register your inter…
Oct 23, 2022
DIY Robocars via Twitter
RT @Hacky_Racers: There will be three classes at this event: A4, A2, and Hacky Racer! A4 and A2 are based around UK paper sizing and existi…
Oct 23, 2022
DIY Robocars via Twitter
Oct 23, 2022
DIY Robocars via Twitter
Oct 19, 2022
DIY Robocars via Twitter
Oct 18, 2022
DIY Robocars via Twitter
RT @NeaveEng: Calling all UK based folks interested in @diyrobocars, @f1tenth, @donkey_car, and similar robot racing competitions! @hacky_r…
Oct 13, 2022
More…