when using apm1/apm2 always set board type to be mega2560

* this bug got me super confused when i tested on windows