Arduino Mega or Mega 2560 ATmega2560 (Mega 2560)


Platform Atmel AVR: Atmel AVR 8-bit MCUs deliver a unique combination of performance, power efficiency and design flexibility. Optimized to speed time to market-and easily adapt to new ones-they are based on the industry’s most code-efficient architecture for C and assembly programming

Microcontroller ATMEGA2560
Frequency 16MHz
Flash 248KB
Vendor Arduino


Please use megaatmega2560 ID for board option in “platformio.ini” (Project Configuration File):

platform = atmelavr
board = megaatmega2560

You can override default Arduino Mega or Mega 2560 ATmega2560 (Mega 2560) settings per build environment using board_*** option, where *** is a JSON object path from board manifest megaatmega2560.json. For example, board_build.mcu, board_build.f_cpu, etc.

platform = atmelavr
board = megaatmega2560

; change microcontroller
board_build.mcu = atmega2560

; change MCU frequency
board_build.f_cpu = 16000000L


PIO Unified Debugger currently does not support Arduino Mega or Mega 2560 ATmega2560 (Mega 2560) board.


Name Description
Arduino Arduino Wiring-based Framework allows writing cross-platform software to control devices attached to a wide range of Arduino boards to create all kinds of creative coding, interactive objects, spaces or physical experiences.
Simba Simba is an RTOS and build framework. It aims to make embedded programming easy and portable.