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

Neville Rodrigues liked Neville Rodrigues's profile
Jun 30
Santiago Perez liked Santiago Perez's profile
Jun 21
More…