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"
Add this to APM_Config.h:
// GPS is auto-selected
#define GPS_PROTOCOL GPS_PROTOCOL_UBLOX
Better to read this,
He might have another GPS than UBLOX...
Another option to reduce the memory footprint is to turn off the DataFlash logging.