Arduino Leonardo


Platform Atmel AVR: Atmel AVR 8- and 32-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 industrys most code-efficient architecture for C and assembly programming.

Microcontroller ATMEGA32U4
Frequency 16MHz
Flash 28KB
RAM 2.50KB
Vendor Arduino


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

platform = atmelavr
board = leonardo

You can override default Arduino Leonardo settings per build environment using board_*** option, where *** is a JSON object path from board manifest leonardo.json. For example, board_build.mcu, board_build.f_cpu, etc.

platform = atmelavr
board = leonardo

; change microcontroller
board_build.mcu = atmega32u4

; change MCU frequency
board_build.f_cpu = 16000000L


PIO Unified Debugger currently does not support Arduino Leonardo board.


Name Description