platform = atmelavr
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.
For more detailed information please visit vendor site.
Name |
Description |
---|---|
Arduino Wiring-based Framework (AVR Core, 1.6) |
|
Simba Framework |
|
AVRDUDE |
|
Micronucleus |
|
avr-gcc |
Warning
Linux Users:
Install “udev” rules file 99-platformio-udev.rules (an instruction is located inside a file).
Raspberry Pi users, please read this article Enable serial port on Raspberry Pi.
Windows Users:
Please check that you have a correctly installed USB driver from board manufacturer
Name |
Description |
---|---|
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 is an RTOS and build framework. It aims to make embedded programming easy and portable. |
Note
You can list pre-configured boards by platformio boards command or PlatformIO Boards Explorer
For more detailed board
information please scroll tables below by
horizontal.
ID |
Name |
Platform |
Debug |
Microcontroller |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|---|
|
ATMEGA32U4 |
8 MHz |
32 Kb |
2.5 Kb |
|||
|
ATMEGA32U4 |
8 MHz |
32 Kb |
2.5 Kb |
|||
|
ATMEGA32U4 |
8 MHz |
32 Kb |
2.5 Kb |
|||
|
ATTINY85 |
8 MHz |
8 Kb |
0.5 Kb |
|||
|
ATMEGA328P |
16 MHz |
32 Kb |
2 Kb |
|||
|
ATMEGA328P |
12 MHz |
32 Kb |
2 Kb |
|||
|
ATMEGA328P |
12 MHz |
32 Kb |
2 Kb |
|||
|
ATMEGA328P |
16 MHz |
32 Kb |
2 Kb |
|||
|
ATMEGA328P |
16 MHz |
32 Kb |
2 Kb |
|||
|
ATTINY85 |
8 MHz |
8 Kb |
0.5 Kb |
|||
|
ATTINY85 |
16 MHz |
8 Kb |
0.5 Kb |
ID |
Name |
Platform |
Debug |
Microcontroller |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|---|
|
ATMEGA32U4 |
16 MHz |
32 Kb |
2.5 Kb |
|||
|
ATMEGA32U4 |
16 MHz |
32 Kb |
2.5 Kb |
ID |
Name |
Platform |
Debug |
Microcontroller |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|---|
|
ATMEGA32U4 |
8 MHz |
32 Kb |
2.5 Kb |
|||
|
ATMEGA328PB |
16 MHz |
32 Kb |
2 Kb |
|||
|
ATMEGA168 |
16 MHz |
16 Kb |
1 Kb |
|||
|
ATMEGA8 |
16 MHz |
8 Kb |
1 Kb |
|||
|
ATMEGA168 |
16 MHz |
16 Kb |
1 Kb |
|||
|
ATMEGA328P |
16 MHz |
32 Kb |
2 Kb |
|||
|
ATMEGA32U4 |
16 MHz |
32 Kb |
2.5 Kb |
|||
|
ATMEGA168 |
16 MHz |
16 Kb |
1 Kb |
|||
|
ATMEGA328P |
16 MHz |
32 Kb |
2 Kb |
|||
|
ATMEGA32U4 |
16 MHz |
32 Kb |
2.5 Kb |
|||
|
ATMEGA328P |
16 MHz |
32 Kb |
2 Kb |
|||
|
ATMEGA328P |
8 MHz |
32 Kb |
2 Kb |
|||
|
ATMEGA32U4 |
16 MHz |
32 Kb |
2.5 Kb |
|||
|
ATMEGA32U4 |
16 MHz |
32 Kb |
2.5 Kb |
|||
|
ATMEGA168 |
8 MHz |
16 Kb |
1 Kb |
|||
|
ATMEGA328P |
8 MHz |
32 Kb |
2 Kb |
|||
|
ATMEGA2560 |
16 MHz |
256 Kb |
8 Kb |
|||
|
ATMEGA1280 |
16 MHz |
128 Kb |
8 Kb |
|||
|
ATMEGA2560 |
16 MHz |
256 Kb |
8 Kb |
|||
|
ATMEGA32U4 |
16 MHz |
32 Kb |
2.5 Kb |
|||
|
ATMEGA168 |
16 MHz |
16 Kb |
1 Kb |
|||
|
ATMEGA328P |
16 MHz |
32 Kb |
2 Kb |
|||
|
ATMEGA168 |
16 MHz |
16 Kb |
1 Kb |
|||
|
ATMEGA328P |
16 MHz |
32 Kb |
2 Kb |
|||
|
ATMEGA168 |
16 MHz |
16 Kb |
1 Kb |
|||
|
ATMEGA328P |
16 MHz |
32 Kb |
2 Kb |
|||
|
ATMEGA168 |
8 MHz |
16 Kb |
1 Kb |
|||
|
ATMEGA328P |
8 MHz |
32 Kb |
2 Kb |
|||
|
ATMEGA32U4 |
16 MHz |
32 Kb |
2.5 Kb |
|||
|
ATMEGA32U4 |
16 MHz |
32 Kb |
2.5 Kb |
|||
|
ATMEGA328P |
16 MHz |
32 Kb |
2 Kb |
|||
|
ATMEGA32U4 |
16 MHz |
32 Kb |
2.5 Kb |
|||
|
ATMEGA32U4 |
16 MHz |
32 Kb |
2.5 Kb |
ID |
Name |
Platform |
Debug |
Microcontroller |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|---|
|
ATMEGA328P |
16 MHz |
32 Kb |
2 Kb |
ID |
Name |
Platform |
Debug |
Microcontroller |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|---|
|
ATMEGA328P |
16 MHz |
32 Kb |
2 Kb |
ID |
Name |
Platform |
Debug |
Microcontroller |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|---|
|
ATTINY167 |
16 MHz |
16 Kb |
0.5 Kb |
|||
|
ATTINY167 |
16 MHz |
16 Kb |
0.5 Kb |
|||
|
ATTINY167 |
16 MHz |
16 Kb |
0.5 Kb |
|||
|
ATTINY85 |
16 MHz |
8 Kb |
0.5 Kb |
ID |
Name |
Platform |
Debug |
Microcontroller |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|---|
|
AT90USB646 |
16 MHz |
64 Kb |
2 Kb |
ID |
Name |
Platform |
Debug |
Microcontroller |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|---|
|
ATMEGA32U4 |
8 MHz |
32 Kb |
2.5 Kb |
ID |
Name |
Platform |
Debug |
Microcontroller |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|---|
|
ATMEGA1284P |
8 MHz |
128 Kb |
16 Kb |
ID |
Name |
Platform |
Debug |
Microcontroller |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|---|
|
ATTINY13 |
9 MHz |
1 Kb |
0.0625 Kb |
|||
|
ATTINY1634 |
8 MHz |
16 Kb |
1 Kb |
|||
|
ATTINY167 |
8 MHz |
16 Kb |
0.5 Kb |
|||
|
ATTINY2313 |
8 MHz |
2 Kb |
0.125 Kb |
|||
|
ATTINY24 |
8 MHz |
2 Kb |
0.125 Kb |
|||
|
ATTINY25 |
8 MHz |
2 Kb |
0.125 Kb |
|||
|
ATTINY261 |
8 MHz |
2 Kb |
0.125 Kb |
|||
|
ATTINY4313 |
8 MHz |
4 Kb |
0.25 Kb |
|||
|
ATTINY44 |
8 MHz |
4 Kb |
0.25 Kb |
|||
|
ATTINY441 |
8 MHz |
4 Kb |
0.25 Kb |
|||
|
ATTINY45 |
8 MHz |
4 Kb |
0.25 Kb |
|||
|
ATTINY461 |
8 MHz |
4 Kb |
0.25 Kb |
|||
|
ATTINY48 |
8 MHz |
4 Kb |
0.25 Kb |
|||
|
ATTINY84 |
8 MHz |
8 Kb |
0.5 Kb |
|||
|
ATTINY841 |
8 MHz |
8 Kb |
0.5 Kb |
|||
|
ATTINY85 |
8 MHz |
8 Kb |
0.5 Kb |
|||
|
ATTINY861 |
8 MHz |
8 Kb |
0.5 Kb |
|||
|
ATTINY87 |
8 MHz |
8 Kb |
0.5 Kb |
|||
|
ATTINY88 |
8 MHz |
8 Kb |
0.5 Kb |
ID |
Name |
Platform |
Debug |
Microcontroller |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|---|
|
ATMEGA32U4 |
8 MHz |
32 Kb |
2.5 Kb |
ID |
Name |
Platform |
Debug |
Microcontroller |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|---|
|
ATMEGA32U4 |
16 MHz |
32 Kb |
2.5 Kb |
ID |
Name |
Platform |
Debug |
Microcontroller |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|---|
|
ATMEGA328P |
16 MHz |
32 Kb |
2 Kb |
|||
|
ATMEGA1284P |
16 MHz |
128 Kb |
16 Kb |
ID |
Name |
Platform |
Debug |
Microcontroller |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|---|
|
ATMEGA1284P |
16 MHz |
128 Kb |
16 Kb |
|||
|
ATMEGA16 |
16 MHz |
16 Kb |
1 Kb |
|||
|
ATMEGA164P |
16 MHz |
16 Kb |
1 Kb |
|||
|
ATMEGA32 |
16 MHz |
32 Kb |
2 Kb |
|||
|
ATMEGA324P |
16 MHz |
32 Kb |
2 Kb |
|||
|
ATMEGA644P |
16 MHz |
64 Kb |
4 Kb |
|||
|
ATMEGA16 |
16 MHz |
8 Kb |
0.5 Kb |
ID |
Name |
Platform |
Debug |
Microcontroller |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|---|
|
ATMEGA1284P |
16 MHz |
128 Kb |
16 Kb |
|||
|
ATMEGA1284P |
8 MHz |
128 Kb |
16 Kb |
|||
|
ATMEGA168P |
16 MHz |
16 Kb |
1 Kb |
|||
|
ATMEGA168P |
8 MHz |
16 Kb |
1 Kb |
|||
|
ATMEGA328P |
16 MHz |
32 Kb |
2 Kb |
|||
|
ATMEGA328P |
8 MHz |
32 Kb |
2 Kb |
|||
|
ATMEGA32U4 |
16 MHz |
32 Kb |
2.5 Kb |
|||
|
ATMEGA644P |
16 MHz |
64 Kb |
4 Kb |
|||
|
ATMEGA644P |
8 MHz |
64 Kb |
4 Kb |
ID |
Name |
Platform |
Debug |
Microcontroller |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|---|
|
ATMEGA328P |
16 MHz |
32 Kb |
2 Kb |
ID |
Name |
Platform |
Debug |
Microcontroller |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|---|
|
ATMEGA328P |
8 MHz |
32 Kb |
2 Kb |
ID |
Name |
Platform |
Debug |
Microcontroller |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|---|
|
ATMEGA256RFR2 |
16 MHz |
256 Kb |
32 Kb |
ID |
Name |
Platform |
Debug |
Microcontroller |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|---|
|
ATMEGA32U4 |
16 MHz |
32 Kb |
2.5 Kb |
ID |
Name |
Platform |
Debug |
Microcontroller |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|---|
|
ATMEGA328P |
8 MHz |
32 Kb |
2 Kb |
|||
|
ATMEGA328P |
16 MHz |
32 Kb |
2 Kb |
ID |
Name |
Platform |
Debug |
Microcontroller |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|---|
|
ATMEGA32U4 |
8 MHz |
32 Kb |
2.5 Kb |
ID |
Name |
Platform |
Debug |
Microcontroller |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|---|
|
ATMEGA32U4 |
16 MHz |
32 Kb |
2.5 Kb |
|||
|
ATMEGA32U4 |
16 MHz |
32 Kb |
2.5 Kb |
|||
|
ATMEGA32U4 |
8 MHz |
32 Kb |
2.5 Kb |
ID |
Name |
Platform |
Debug |
Microcontroller |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|---|
|
ATMEGA2560 |
16 MHz |
256 Kb |
8 Kb |
ID |
Name |
Platform |
Debug |
Microcontroller |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|---|
|
ATMEGA1284P |
8 MHz |
128 Kb |
16 Kb |
|||
|
ATMEGA1284P |
8 MHz |
128 Kb |
16 Kb |
|||
|
ATMEGA328P |
8 MHz |
32 Kb |
2 Kb |
|||
|
ATMEGA1284P |
8 MHz |
128 Kb |
16 Kb |
|||
|
ATMEGA1284P |
8 MHz |
128 Kb |
16 Kb |
ID |
Name |
Platform |
Debug |
Microcontroller |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|---|
|
ATMEGA1284P |
8 MHz |
128 Kb |
16 Kb |
|||
|
ATMEGA1284P |
16 MHz |
128 Kb |
16 Kb |
|||
|
ATMEGA644 |
16 MHz |
64 Kb |
4 Kb |
|||
|
ATMEGA644 |
8 MHz |
64 Kb |
4 Kb |
|||
|
ATMEGA644P |
16 MHz |
64 Kb |
4 Kb |
|||
|
ATMEGA644P |
8 MHz |
64 Kb |
4 Kb |
ID |
Name |
Platform |
Debug |
Microcontroller |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|---|
|
ATMEGA328P |
8 MHz |
32 Kb |
2 Kb |
|||
|
ATMEGA32U4 |
8 MHz |
32 Kb |
2.5 Kb |
|||
|
ATMEGA32U4 |
16 MHz |
32 Kb |
2.5 Kb |
|||
|
ATMEGA2560 |
8 MHz |
256 Kb |
8 Kb |
|||
|
ATMEGA2560 |
16 MHz |
256 Kb |
8 Kb |
|||
|
ATMEGA2560 |
8 MHz |
256 Kb |
8 Kb |
|||
|
ATMEGA32U4 |
16 MHz |
32 Kb |
2.5 Kb |
|||
|
ATMEGA32U4 |
8 MHz |
32 Kb |
2.5 Kb |
|||
|
ATMEGA32U4 |
8 MHz |
32 Kb |
2.5 Kb |
|||
|
ATMEGA328P |
16 MHz |
32 Kb |
2 Kb |
|||
|
ATMEGA128RFA1 |
16 MHz |
16 Kb |
124 Kb |
|||
|
ATMEGA328P |
8 MHz |
32 Kb |
2 Kb |
|||
|
ATMEGA328P |
16 MHz |
32 Kb |
2 Kb |
ID |
Name |
Platform |
Debug |
Microcontroller |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|---|
|
ATMEGA32U4 |
16 MHz |
32 Kb |
2.5 Kb |
ID |
Name |
Platform |
Debug |
Microcontroller |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|---|
|
ATMEGA328P |
8 MHz |
32 Kb |
2 Kb |
|||
|
ATMEGA328P |
8 MHz |
32 Kb |
2 Kb |
ID |
Name |
Platform |
Debug |
Microcontroller |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|---|
|
ATMEGA1284P |
16 MHz |
128 Kb |
16 Kb |
|||
|
ATMEGA1284P |
16 MHz |
128 Kb |
16 Kb |
ID |
Name |
Platform |
Debug |
Microcontroller |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|---|
|
ATMEGA256RFR2 |
16 MHz |
256 Kb |
32 Kb |
ID |
Name |
Platform |
Debug |
Microcontroller |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|---|
|
ATMEGA88 |
8 MHz |
8 Kb |
1 Kb |
|||
|
ATMEGA128 |
16 MHz |
128 Kb |
4 Kb |
|||
|
ATMEGA16 |
15 MHz |
16 Kb |
1 Kb |
|||
|
ATMEGA1284P |
20 MHz |
128 Kb |
16 Kb |
|||
|
ATMEGA16 |
15 MHz |
16 Kb |
1 Kb |
|||
|
ATMEGA1284P |
20 MHz |
128 Kb |
16 Kb |
ID |
Name |
Platform |
Debug |
Microcontroller |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|---|
|
ATMEGA328P |
16 MHz |
32 Kb |
2 Kb |
To upload firmware using programmer you need to use program
target instead
upload
for platformio run --target
command. For example,
platformio run -t program
.
Configuration for the programmers:
AVR ISP
[env:myenv]
platform = atmelavr
framework = arduino
upload_protocol = stk500v1
upload_flags = -P$UPLOAD_PORT
; edit this line with valid upload port
upload_port = SERIAL_PORT_HERE
AVRISP mkII
[env:myenv]
platform = atmelavr
framework = arduino
upload_protocol = stk500v2
upload_flags = -Pusb
USBtinyISP
[env:myenv]
platform = atmelavr
framework = arduino
upload_protocol = usbtiny
ArduinoISP
[env:myenv]
platform = atmelavr
framework = arduino
upload_protocol = arduinoisp
USBasp
[env:myenv]
platform = atmelavr
framework = arduino
upload_protocol = usbasp
upload_flags = -Pusb
Parallel Programmer
[env:myenv]
platform = atmelavr
framework = arduino
upload_protocol = dapa
upload_flags = -F
Arduino as ISP
[env:myenv]
platform = atmelavr
framework = arduino
upload_protocol = stk500v1
upload_flags = -P$UPLOAD_PORT -b$UPLOAD_SPEED
; edit these lines
upload_port = SERIAL_PORT_HERE
upload_speed = 19200
To upload EEPROM data (from EEMEM directive) you need to use uploadeep
target instead upload
for platformio run --target
command.
For example, platformio run -t uploadeep
.
PlatformIO has built-in target named fuses
for setting fuse bits. The
default fuse bits are predefined in board manifest file in fuses
section.
For example, Arduino Uno Fuses.
To set fuse bits you need to use target fuses
for
platformio run --target
command.
You can specify custom fuse bits. Please create custom extra_script and override default “fuses” command:
platformio.ini
:
[env:custom_fuses]
platform = atmelavr
extra_script = extra_script.py
extra_script.py
:
Import('env')
env.Replace(FUSESCMD="avrdude $UPLOADERFLAGS -e -Ulock:w:0x3F:m -Uhfuse:w:0xDE:m -Uefuse:w:0x05:m -Ulfuse:w:0xFF:m")
Dec 01, 2015 - Michał Seroczyński - Push Notification from Arduino Yún with motion sensor
Nov 29, 2015 - Keith Hughes - Using PlatformIO for Embedded Projects
Nov 22, 2015 - Michał Seroczyński - Using PlatformIO to get started with Arduino in CLion IDE
Nov 09, 2015 - ÁLvaro García Gómez - Programar con Arduino “The good way” (Programming with Arduino “The good way”, Spanish)
Oct 18, 2015 - Nico Coetzee - First Arduino I2C Experience with PlatformIO
Oct 10, 2015 - Floyd Hilton - Programming Arduino with Atom
June 20, 2014 - Ivan Kravets, Ph.D. - Building and debugging Atmel AVR (Arduino-based) project using Eclipse IDE+PlatformIO
See more Articles about us.
All project examples are located in PlatformIO repository Examples for Atmel AVR platform.