Moderator

Reducing memory footprint for atmega1280?

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?

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

Join diydrones

Email me when people reply –

Replies

  • Developer

    Another option to reduce the memory footprint is to turn off the DataFlash logging.

  • Developer

    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.

This reply was deleted.

Activity