Files
platformio-core/docs/platforms/atmelavr.rst

499 lines
11 KiB
ReStructuredText
Raw Normal View History

2014-08-09 16:31:20 +03:00
.. _platform_atmelavr:
Platform ``atmelavr``
=====================
2015-03-11 18:19:36 +02:00
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.
http://www.atmel.com/products/microcontrollers/avr/default.aspx
2014-08-09 16:31:20 +03:00
.. contents::
Packages
--------
.. list-table::
:header-rows: 1
* - Name
- Contents
2015-03-11 18:19:36 +02:00
2014-08-09 16:31:20 +03:00
* - ``toolchain-atmelavr``
2015-03-11 18:19:36 +02:00
- `avr-gcc <https://gcc.gnu.org/wiki/avr-gcc>`_, `GDB <http://www.gnu.org/software/gdb/>`_, `AVaRICE <http://avarice.sourceforge.net/>`_, `SimulAVR <http://www.nongnu.org/simulavr/>`_
2014-08-09 16:31:20 +03:00
* - ``tool-avrdude``
- `AVRDUDE <http://www.nongnu.org/avrdude/>`_
2015-03-11 18:19:36 +02:00
2014-08-09 16:31:20 +03:00
* - ``framework-arduinoavr``
2015-03-11 18:19:36 +02:00
- `Arduino Wiring-based Framework (AVR Core, 1.6) <http://arduino.cc/en/Reference/HomePage>`_
2014-08-09 16:31:20 +03:00
2015-03-11 18:19:36 +02:00
* - ``tool-micronucleus``
- `Micronucleus <https://github.com/micronucleus/micronucleus>`_
2014-08-09 16:31:20 +03:00
2015-02-25 18:33:34 +02:00
.. warning::
**Linux Users:** Don't forget to install "udev" rules file
`99-platformio-udev.rules <https://github.com/ivankravets/platformio/blob/develop/scripts/99-platformio-udev.rules>`_ (an instruction is located in the file).
2014-08-09 16:31:20 +03:00
2015-03-11 18:19:36 +02:00
Boards
------
.. note::
* You can list pre-configured boards by :ref:`cmd_boards` command
* For more detailed ``board`` information please scroll tables below by
horizontal.
Adafruit
~~~~~~~~
2014-08-09 16:31:20 +03:00
.. list-table::
:header-rows: 1
2015-03-11 18:19:36 +02:00
* - Type ``board``
2014-08-09 16:31:20 +03:00
- Name
2015-03-11 18:19:36 +02:00
- Microcontroller
- Frequency
- Flash
- RAM
2014-08-09 16:31:20 +03:00
2015-03-11 18:19:36 +02:00
* - ``flora8``
- `Adafruit Flora <http://www.adafruit.com/product/659>`_
- ATMEGA32U4
- 8 MHz
- 32 Kb
- 2.5 Kb
2014-08-09 16:31:20 +03:00
2015-03-11 18:19:36 +02:00
* - ``protrinket3``
- `Pro Trinket 3V/12MHz (USB) <http://www.adafruit.com/products/2010>`_
- ATMEGA328P
- 12 MHz
- 32 Kb
- 2 Kb
2014-08-09 16:31:20 +03:00
2015-03-11 18:19:36 +02:00
* - ``protrinket3ftdi``
- `Pro Trinket 3V/12MHz (FTDI) <http://www.adafruit.com/products/2010>`_
- ATMEGA328P
- 16 MHz
- 32 Kb
- 2 Kb
2014-08-09 16:31:20 +03:00
2015-03-11 18:19:36 +02:00
* - ``protrinket5``
- `Pro Trinket 5V/16MHz (USB) <http://www.adafruit.com/products/2000>`_
- ATMEGA328P
- 16 MHz
- 32 Kb
- 2 Kb
* - ``protrinket5ftdi``
- `Pro Trinket 5V/16MHz (USB) <http://www.adafruit.com/products/2000>`_
- ATMEGA328P
- 16 MHz
- 32 Kb
- 2 Kb
* - ``trinket3``
- `Adafruit Trinket 3V/8MHz <http://www.adafruit.com/products/1500>`_
- ATTINY85
- 8 MHz
- 8 Kb
- 0.5 Kb
* - ``trinket5``
- `Adafruit Trinket 5V/16MHz <http://www.adafruit.com/products/1501>`_
- ATTINY85
- 16 MHz
- 8 Kb
- 0.5 Kb
2015-03-11 19:32:53 +02:00
2014-08-09 16:31:20 +03:00
Arduino
~~~~~~~
.. list-table::
:header-rows: 1
* - Type ``board``
- Name
2015-03-11 18:19:36 +02:00
- Microcontroller
- Frequency
2014-08-09 16:31:20 +03:00
- Flash
- RAM
2015-03-11 18:19:36 +02:00
* - ``LilyPadUSB``
- `LilyPad Arduino USB <http://arduino.cc/en/Main/ArduinoBoardLilyPadUSB>`_
- ATMEGA32U4
- 8 MHz
- 32 Kb
- 2.5 Kb
* - ``atmegangatmega168``
2015-03-11 18:19:36 +02:00
- `Arduino NG or older ATmega168 <http://arduino.cc/en/main/boards>`_
- ATMEGA168
- 16 MHz
- 16 Kb
- 1 Kb
2015-03-11 18:19:36 +02:00
* - ``atmegangatmega8``
2015-03-11 18:19:36 +02:00
- `Arduino NG or older ATmega8 <http://arduino.cc/en/main/boards>`_
- ATMEGA8
- 16 MHz
- 8 Kb
- 1 Kb
2015-03-11 18:19:36 +02:00
* - ``btatmega168``
2015-03-11 18:19:36 +02:00
- `Arduino BT ATmega168 <http://arduino.cc/en/main/boards>`_
- ATMEGA168
- 16 MHz
- 16 Kb
- 1 Kb
2015-03-11 18:19:36 +02:00
* - ``btatmega328``
2015-03-11 18:19:36 +02:00
- `Arduino BT ATmega328 <http://arduino.cc/en/main/boards>`_
- ATMEGA328P
- 16 MHz
- 32 Kb
- 2 Kb
2015-03-11 18:19:36 +02:00
2014-08-09 16:31:20 +03:00
* - ``diecimilaatmega168``
2015-03-11 18:19:36 +02:00
- `Arduino Duemilanove or Diecimila ATmega168 <http://arduino.cc/en/Main/ArduinoBoardDiecimila>`_
- ATMEGA168
- 16 MHz
2014-08-09 16:31:20 +03:00
- 16 Kb
- 1 Kb
2015-03-11 18:19:36 +02:00
2014-08-09 16:31:20 +03:00
* - ``diecimilaatmega328``
2015-03-11 18:19:36 +02:00
- `Arduino Duemilanove or Diecimila ATmega328 <http://arduino.cc/en/Main/ArduinoBoardDiecimila>`_
- ATMEGA328P
- 16 MHz
2014-08-09 16:31:20 +03:00
- 32 Kb
- 2 Kb
2015-03-11 18:19:36 +02:00
* - ``esplora``
- `Arduino Esplora <http://arduino.cc/en/Main/ArduinoBoardEsplora>`_
2015-03-11 18:19:36 +02:00
- ATMEGA32U4
- 16 MHz
- 32 Kb
- 2.5 Kb
2015-03-11 18:19:36 +02:00
* - ``ethernet``
2015-03-11 18:19:36 +02:00
- `Arduino Ethernet <http://arduino.cc/en/Main/ArduinoBoardEthernet>`_
- ATMEGA328P
- 16 MHz
- 32 Kb
- 2 Kb
2015-03-11 18:19:36 +02:00
2014-08-09 16:31:20 +03:00
* - ``fio``
2015-03-11 18:19:36 +02:00
- `Arduino Fio <http://arduino.cc/en/Main/ArduinoBoardFio>`_
- ATMEGA328P
- 8 MHz
2014-08-09 16:31:20 +03:00
- 32 Kb
- 2 Kb
2015-03-11 18:19:36 +02:00
2014-08-09 16:31:20 +03:00
* - ``leonardo``
- `Arduino Leonardo <http://arduino.cc/en/Main/arduinoBoardLeonardo>`_
2015-03-11 18:19:36 +02:00
- ATMEGA32U4
- 16 MHz
2014-08-09 16:31:20 +03:00
- 32 Kb
- 2.5 Kb
2015-03-11 18:19:36 +02:00
2014-08-09 16:31:20 +03:00
* - ``lilypadatmega168``
2015-03-11 18:19:36 +02:00
- `LilyPad Arduino ATmega168 <http://arduino.cc/en/Main/ArduinoBoardLilyPad>`_
- ATMEGA168
- 8 MHz
2014-08-09 16:31:20 +03:00
- 16 Kb
- 1 Kb
2015-03-11 18:19:36 +02:00
2014-08-09 16:31:20 +03:00
* - ``lilypadatmega328``
2015-03-11 18:19:36 +02:00
- `LilyPad Arduino ATmega328 <http://arduino.cc/en/Main/ArduinoBoardLilyPad>`_
- ATMEGA328P
- 8 MHz
2014-08-09 16:31:20 +03:00
- 32 Kb
- 2 Kb
2015-03-11 18:19:36 +02:00
* - ``megaADK``
2015-03-11 18:19:36 +02:00
- `Arduino Mega ADK <http://arduino.cc/en/Main/ArduinoBoardMegaADK>`_
- ATMEGA2560
- 16 MHz
- 256 Kb
- 8 Kb
2015-03-11 18:19:36 +02:00
2014-08-09 16:31:20 +03:00
* - ``megaatmega1280``
2015-03-11 18:19:36 +02:00
- `Arduino Mega or Mega 2560 ATmega1280 <http://arduino.cc/en/Main/arduinoBoardMega>`_
- ATMEGA1280
- 16 MHz
2014-08-09 16:31:20 +03:00
- 128 Kb
- 8 Kb
2015-03-11 18:19:36 +02:00
2014-08-09 16:31:20 +03:00
* - ``megaatmega2560``
2015-03-11 18:19:36 +02:00
- `Arduino Mega or Mega 2560 ATmega2560 (Mega 2560) <http://arduino.cc/en/Main/arduinoBoardMega2560>`_
- ATMEGA2560
- 16 MHz
2014-08-09 16:31:20 +03:00
- 256 Kb
- 8 Kb
2015-03-11 18:19:36 +02:00
2014-08-09 16:31:20 +03:00
* - ``micro``
2015-03-11 18:19:36 +02:00
- `Arduino Micro <http://arduino.cc/en/Main/ArduinoBoardMicro>`_
- ATMEGA32U4
- 16 MHz
2014-08-09 16:31:20 +03:00
- 32 Kb
- 2.5 Kb
2015-03-11 18:19:36 +02:00
2014-08-09 16:31:20 +03:00
* - ``miniatmega168``
2015-03-11 18:19:36 +02:00
- `Arduino Mini ATmega168 <http://arduino.cc/en/Main/ArduinoBoardMini>`_
- ATMEGA168
- 16 MHz
2014-08-09 16:31:20 +03:00
- 16 Kb
- 1 Kb
2015-03-11 18:19:36 +02:00
2014-08-09 16:31:20 +03:00
* - ``miniatmega328``
2015-03-11 18:19:36 +02:00
- `Arduino Mini ATmega328 <http://arduino.cc/en/Main/ArduinoBoardMini>`_
- ATMEGA328P
- 16 MHz
2014-08-09 16:31:20 +03:00
- 32 Kb
- 2 Kb
2015-03-11 18:19:36 +02:00
2014-08-09 16:31:20 +03:00
* - ``nanoatmega168``
2015-03-11 18:19:36 +02:00
- `Arduino Nano ATmega168 <http://arduino.cc/en/Main/ArduinoBoardNano>`_
- ATMEGA168
- 16 MHz
2014-08-09 16:31:20 +03:00
- 16 Kb
- 1 Kb
2015-03-11 18:19:36 +02:00
2014-08-09 16:31:20 +03:00
* - ``nanoatmega328``
2015-03-11 18:19:36 +02:00
- `Arduino Nano ATmega328 <http://arduino.cc/en/Main/ArduinoBoardNano>`_
- ATMEGA328P
- 16 MHz
2014-08-09 16:31:20 +03:00
- 32 Kb
- 2 Kb
2015-03-11 18:19:36 +02:00
2014-08-09 16:31:20 +03:00
* - ``pro16MHzatmega168``
2015-03-11 18:19:36 +02:00
- `Arduino Pro or Pro Mini ATmega168 (5V, 16 MHz) <http://arduino.cc/en/Main/ArduinoBoardProMini>`_
- ATMEGA168
- 16 MHz
2014-08-09 16:31:20 +03:00
- 16 Kb
- 1 Kb
2015-03-11 18:19:36 +02:00
* - ``pro16MHzatmega328``
- `Arduino Pro or Pro Mini ATmega328 (5V, 16 MHz) <http://arduino.cc/en/Main/ArduinoBoardProMini>`_
- ATMEGA328P
- 16 MHz
2014-08-09 16:31:20 +03:00
- 32 Kb
- 2 Kb
2015-03-11 18:19:36 +02:00
* - ``pro8MHzatmega168``
- `Arduino Pro or Pro Mini ATmega168 (3.3V, 8 MHz) <http://arduino.cc/en/Main/ArduinoBoardProMini>`_
- ATMEGA168
- 8 MHz
- 16 Kb
- 1 Kb
* - ``pro8MHzatmega328``
- `Arduino Pro or Pro Mini ATmega328 (3.3V, 8 MHz) <http://arduino.cc/en/Main/ArduinoBoardProMini>`_
- ATMEGA328P
- 8 MHz
2014-08-09 16:31:20 +03:00
- 32 Kb
- 2 Kb
2015-03-11 18:19:36 +02:00
* - ``robotControl``
2015-03-11 18:19:36 +02:00
- `Arduino Robot Control <http://arduino.cc/en/Main/Robot>`_
- ATMEGA32U4
- 16 MHz
- 32 Kb
- 2.5 Kb
2015-03-11 18:19:36 +02:00
* - ``robotMotor``
2015-03-11 18:19:36 +02:00
- `Arduino Robot Motor <http://arduino.cc/en/Main/Robot>`_
- ATMEGA32U4
- 16 MHz
- 32 Kb
- 2.5 Kb
2015-03-11 18:19:36 +02:00
2014-08-09 16:31:20 +03:00
* - ``uno``
2015-03-11 18:19:36 +02:00
- `Arduino Uno <http://arduino.cc/en/Main/ArduinoBoardUno>`_
- ATMEGA328P
- 16 MHz
2014-08-09 16:31:20 +03:00
- 32 Kb
- 2 Kb
2015-03-11 18:19:36 +02:00
* - ``yun``
2015-03-11 18:19:36 +02:00
- `Arduino Yun <http://arduino.cc/en/Main/ArduinoBoardYun>`_
- ATMEGA32U4
- 16 MHz
- 32 Kb
- 2.5 Kb
2015-03-11 19:32:53 +02:00
2015-03-11 18:19:36 +02:00
BitWizard
~~~~~~~~~
.. list-table::
:header-rows: 1
* - Type ``board``
- Name
2015-03-11 18:19:36 +02:00
- Microcontroller
- Frequency
- Flash
- RAM
2015-03-11 18:19:36 +02:00
* - ``raspduino``
- `Raspduino <http://www.bitwizard.nl/wiki/index.php/Raspduino>`_
- ATMEGA328P
- 16 MHz
- 32 Kb
2015-02-24 23:06:58 +02:00
- 2 Kb
2015-03-11 19:32:53 +02:00
2015-03-11 18:19:36 +02:00
Digistump
~~~~~~~~~
.. list-table::
:header-rows: 1
* - Type ``board``
- Name
2015-03-11 18:19:36 +02:00
- Microcontroller
- Frequency
- Flash
- RAM
2015-03-11 18:19:36 +02:00
* - ``digispark-pro``
2015-03-11 18:19:36 +02:00
- `Digispark Pro (Default 16 MHz) <http://digistump.com/products/109>`_
- ATTINY167
- 16 MHz
- 16 Kb
- 0.5 Kb
2015-03-11 18:19:36 +02:00
* - ``digispark-pro32``
2015-03-11 18:19:36 +02:00
- `Digispark Pro (16 MHz) (32 byte buffer) <http://digistump.com/products/109>`_
- ATTINY167
- 16 MHz
- 16 Kb
- 0.5 Kb
2015-03-11 18:19:36 +02:00
* - ``digispark-pro64``
- `Digispark Pro (16 MHz) (64 byte buffer) <http://digistump.com/products/109>`_
- ATTINY167
- 16 MHz
- 16 Kb
- 0.5 Kb
2015-03-11 18:19:36 +02:00
* - ``digispark-tiny``
- `Digispark (Default - 16 MHz) <http://digistump.com/products/1>`_
- ATTINY85
- 16 MHz
- 8 Kb
- 0.5 Kb
2015-03-11 19:32:53 +02:00
2014-12-28 23:38:45 +02:00
Engduino
~~~~~~~~
.. list-table::
:header-rows: 1
* - Type ``board``
- Name
2015-03-11 18:19:36 +02:00
- Microcontroller
- Frequency
2014-12-28 23:38:45 +02:00
- Flash
- RAM
2015-03-11 18:19:36 +02:00
2014-12-28 23:38:45 +02:00
* - ``engduinov1``
2014-12-28 23:49:46 +02:00
- `Engduino 1 <http://www.engduino.org>`_
2015-03-11 18:19:36 +02:00
- ATMEGA32U4
- 8 MHz
2014-12-28 23:38:45 +02:00
- 32 Kb
- 2.5 Kb
2015-03-11 18:19:36 +02:00
2014-12-28 23:38:45 +02:00
* - ``engduinov2``
2014-12-28 23:49:46 +02:00
- `Engduino 2 <http://www.engduino.org>`_
2015-03-11 18:19:36 +02:00
- ATMEGA32U4
- 8 MHz
2014-12-28 23:38:45 +02:00
- 32 Kb
- 2.5 Kb
2015-03-11 18:19:36 +02:00
2014-12-28 23:38:45 +02:00
* - ``engduinov3``
2014-12-28 23:49:46 +02:00
- `Engduino 3 <http://www.engduino.org>`_
2015-03-11 18:19:36 +02:00
- ATMEGA32U4
- 8 MHz
2014-12-28 23:38:45 +02:00
- 32 Kb
- 2.5 Kb
2015-03-11 19:32:53 +02:00
2014-08-09 16:31:20 +03:00
Microduino
~~~~~~~~~~
.. list-table::
:header-rows: 1
* - Type ``board``
- Name
2015-03-11 18:19:36 +02:00
- Microcontroller
- Frequency
2014-08-09 16:31:20 +03:00
- Flash
- RAM
2015-03-11 18:19:36 +02:00
* - ``1284p16m``
- `Microduino Core+ (ATmega1284P@16M,5V) <https://www.microduino.cc/wiki/index.php?title=Microduino-Core%2B>`_
- ATMEGA1284P
- 16 MHz
- 128 Kb
2014-08-09 16:31:20 +03:00
- 16 Kb
2015-03-11 18:19:36 +02:00
* - ``1284p8m``
- `Microduino Core+ (ATmega1284P@8M,3.3V) <https://www.microduino.cc/wiki/index.php?title=Microduino-Core%2B>`_
- ATMEGA1284P
- 8 MHz
- 128 Kb
- 16 Kb
2014-08-09 16:31:20 +03:00
* - ``168pa16m``
2015-03-11 18:19:36 +02:00
- `Microduino Core (Atmega168PA@16M,5V) <https://www.microduino.cc/wiki/index.php?title=Microduino-Core>`_
- ATMEGA168P
- 16 MHz
2014-08-09 16:31:20 +03:00
- 16 Kb
- 1 Kb
2015-03-11 18:19:36 +02:00
* - ``168pa8m``
- `Microduino Core (Atmega168PA@8M,3.3V) <https://www.microduino.cc/wiki/index.php?title=Microduino-Core>`_
- ATMEGA168P
- 8 MHz
- 16 Kb
- 1 Kb
* - ``328p16m``
- `Microduino Core (Atmega328P@16M,5V) <https://www.microduino.cc/wiki/index.php?title=Microduino-Core>`_
- ATMEGA328P
- 16 MHz
2014-08-09 16:31:20 +03:00
- 32 Kb
- 2 Kb
2015-03-11 18:19:36 +02:00
* - ``328p8m``
- `Microduino Core (Atmega328P@8M,3.3V) <https://www.microduino.cc/wiki/index.php?title=Microduino-Core>`_
- ATMEGA328P
- 8 MHz
2014-08-09 16:31:20 +03:00
- 32 Kb
- 2 Kb
2015-03-11 18:19:36 +02:00
2014-08-09 16:31:20 +03:00
* - ``32u416m``
2015-03-11 18:19:36 +02:00
- `Microduino Core USB (ATmega32U4@16M,5V) <https://www.microduino.cc/wiki/index.php?title=Microduino-CoreUSB>`_
- ATMEGA32U4
- 16 MHz
2014-08-09 16:31:20 +03:00
- 32 Kb
- 2.5 Kb
2015-03-11 18:19:36 +02:00
* - ``644pa16m``
- `Microduino Core+ (Atmega644PA@16M,5V) <https://www.microduino.cc/wiki/index.php?title=Microduino-Core%2B>`_
- ATMEGA644P
- 16 MHz
- 64 Kb
- 4 Kb
2014-08-09 16:31:20 +03:00
2015-03-11 18:19:36 +02:00
* - ``644pa8m``
- `Microduino Core+ (Atmega644PA@8M,3.3V) <https://www.microduino.cc/wiki/index.php?title=Microduino-Core%2B>`_
- ATMEGA644P
- 8 MHz
- 64 Kb
- 4 Kb