# Atmel megaAVR

Configuration

  platform = `atmelmegaavr`

8-bit MCUs Built for Real-time Control with Core Independent Peripherals combining intelligent hardware peripherals along with the low-power capability of an AVR core, megaAVR microcontrollers (MCUs) broaden the effectiveness of your real-time control systems.

For more detailed information please visit vendor site.

Contents

- Examples

- Stable and upstream versions

- Packages

- Frameworks

- Boards

## Examples

Examples are listed from Atmel megaAVR development platform repository:

- arduino-blink

- native-blink

- arduino-internal-libs

- arduino-external-libs

## Stable and upstream versions

You can switch between stable releases of Atmel megaAVR development platform and the latest upstream version using platform option in “platformio.ini” (Project Configuration File) as described below.

### Stable

    ; Latest stable version
    [env:latest_stable]
    platform = atmelmegaavr
    board = ...

    ; Custom stable version
    [env:custom_stable]
    platform = atmelmegaavr@x.y.z
    board = ...

### Upstream

    [env:upstream_develop]
    platform = https://github.com/platformio/platform-atmelmegaavr.git
    board = ...

## Packages

Name | Description
--- | ---
framework-arduino-megaavr | Arduino Wiring-based Framework (megaAVR Core)
tool-avrdude-megaavr | AVRDUDE for megaAVR
toolchain-atmelavr | avr-gcc

Warning

Linux Users:

> - Install “udev” rules 99-platformio-udev.rules

> - 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

## Frameworks

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.

## Boards

Note

- You can list pre-configured boards by platformio boards command or PlatformIO Boards Explorer

- For more detailed `board` information please scroll the tables below by horizontally.

### Arduino

Name | Debug | MCU | Frequency | Flash | RAM
--- | --- | --- | --- | --- | ---
Arduino Nano Every | No | ATMEGA4809 | 16MHz | 47.50KB | 6KB
Arduino Uno WiFi Rev2 | No | ATMEGA4809 | 16MHz | 47.50KB | 6KB