Help apm to arduino mega

Helle everyone I’m Giuseppe and I’m writing from Italy, I’m a computer specialist and I’m trying to build a quadcopter.
I’ve a problem to upload the firmware ArduCopter (download from git) to my arduino mega 2560 because at the end of upload I received a message that the program is too big…

Thanks

@max232peppe,
Sadly this version (and all future versions) will not run on the APM2.x boards due to CPU speed, flash and RAM restrictions.
Regards,
TCIII GM