#elif defined(__AVR_ATmega1280__) // mega, Mega ADK
static const uint8_t BOARD = 0x07;
static const uint8_t NUM_BITS = 8;
static const uint16_t CPU = __AVR_ATmega1280__;
static const unsigned long SRAM_SIZE = 8000;
static const unsigned long EEPROM_SIZE = 4000;
static const unsigned long FLASH_SIZE = 256000;
#elif defined(__AVR_ATmega2560__) // mega, Mega ADK
static const uint8_t BOARD = 0x07;
static const uint8_t NUM_BITS = 8;
static const uint16_t CPU = __AVR_ATmega2560__;
static const unsigned long SRAM_SIZE = 8000;
static const unsigned long EEPROM_SIZE = 4000;
static const unsigned long FLASH_SIZE = 256000;