set correct max size for mega2560 (to address issue #2277)

Signed-off-by: Arnav Gupta <championswimmer@gmail.com>
Merge pull request #2316 from championswimmer/1.0.x-fixMaxMega

set correct max size for mega2560 (to address issue #2277)