APM 2.24 seems a bit big for atmega1280.
When compiling for arduino mega 2560, It gives this memory report:
Binary sketch size: 131036 bytes (of a 258048 byte maximum)
Any pointers to reducing the code size so it will compile for atmega1280?
Tags: apm, atmega1280, footprint, memory
Permalink Reply by davidbuzz on October 13, 2011 at 1:15am explicitly define the type of GPS controller you have, and it'll disable to autodetection code, which in turn disables all the code for all the GPS module/s that are not being used.

Sweet, just under the wire!
Binary sketch size: 126844 bytes (of a 126976 byte maximum)
Please sir , can you upload a guideline or a photo with info aboute how to "define the type of GPS controller you have, and it'll disable to autodetection code"
Thank You
Nikos
Permalink Reply by Hosentraeger on November 26, 2011 at 11:51am Add this to APM_Config.h:
// GPS is auto-selected
#define GPS_PROTOCOL GPS_PROTOCOL_UBLOX
Permalink Reply by Jesper Rooth on November 26, 2011 at 11:58am Better to read this,
http://www.diydrones.com/profiles/blogs/getting-the-most-out-of-your
He might have another GPS than UBLOX...
Another option to reduce the memory footprint is to turn off the DataFlash logging.
Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.1277 members
24 members
183 members
246 members
179 members
© 2013 Created by Chris Anderson.
Powered by
