Atmel SAM
- Registry:
https://registry.platformio.org/platforms/platformio/atmelsam
- Configuration:
platform =
platformio/atmelsam
Atmel | SMART offers Flash- based ARM products based on the ARM Cortex-M0+, Cortex-M3 and Cortex-M4 architectures, ranging from 8KB to 2MB of Flash including a rich peripheral and feature mix.
For more detailed information please visit vendor site.
Examples
Examples are listed from Atmel SAM development platform repository:
Debugging
Debugging - “1-click” solution for debugging with a zero configuration.
Tools & Debug Probes
Supported debugging tools are listed in “Debug” column. For more detailed information, please scroll table by horizontal. You can switch between debugging Tools & Debug Probes using debug_tool option in “platformio.ini” (Project Configuration File).
Warning
You will need to install debug tool drivers depending on your system. Please click on compatible debug tool below for the further instructions.
On-Board Debug Tools
Boards listed below have on-board debug probe and ARE READY for debugging! You do not need to use/buy external debug probe.
Name |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|
SAMD21G18A |
48MHz |
256KB |
32KB |
|
SAMD21G18A |
48MHz |
256KB |
32KB |
|
SAMR21G18A |
48MHz |
256KB |
32KB |
|
SAMD21G18A |
48MHz |
256KB |
32KB |
|
SAMC21J18A |
48MHz |
256KB |
32KB |
|
SAMD21J18A |
48MHz |
256KB |
32KB |
External Debug Tools
Boards listed below are compatible with Debugging but DEPEND ON external debug probe. They ARE NOT READY for debugging. Please click on board name for the further details.
Name |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|
SAMD21E18A |
48MHz |
256KB |
32KB |
|
SAMD21G18A |
48MHz |
256KB |
32KB |
|
SAMD21G18A |
48MHz |
256KB |
32KB |
|
SAMD21G18A |
48MHz |
256KB |
32KB |
|
SAMD21G18A |
48MHz |
256KB |
32KB |
|
SAME51J19A |
120MHz |
496KB |
192KB |
|
SAMD51J19A |
120MHz |
512KB |
192KB |
|
SAMD21E18A |
48MHz |
256KB |
32KB |
|
SAMD51P20A |
120MHz |
1MB |
256KB |
|
SAMD21G18A |
48MHz |
256KB |
32KB |
|
SAMD51J19A |
120MHz |
496KB |
192KB |
|
SAMD21G18A |
48MHz |
256KB |
32KB |
|
SAMD51G19A |
120MHz |
512KB |
192KB |
|
SAMD51G19A |
120MHz |
496KB |
192KB |
|
SAMD51J19A |
120MHz |
496KB |
192KB |
|
SAMD21G18A |
48MHz |
256KB |
32KB |
|
SAMD51J19A |
120MHz |
512KB |
192KB |
|
SAMD51J19A |
120MHz |
512KB |
192KB |
|
SAMD21E18A |
48MHz |
256KB |
32KB |
|
SAMD21E18A |
48MHz |
256KB |
32KB |
|
SAMD21E18A |
48MHz |
256KB |
32KB |
|
SAMD51J20A |
120MHz |
1MB |
256KB |
|
SAMD51J19A |
120MHz |
512KB |
192KB |
|
SAMD51J20A |
120MHz |
1MB |
256KB |
|
SAMD51J20A |
120MHz |
1MB |
256KB |
|
SAMD21E18A |
48MHz |
256KB |
32KB |
|
SAMD21E18A |
48MHz |
256KB |
32KB |
|
SAMD21E18A |
48MHz |
256KB |
32KB |
|
SAMD51J19A |
120MHz |
512KB |
192KB |
|
SAMD21E18A |
48MHz |
256KB |
32KB |
|
SAMD21E18A |
48MHz |
256KB |
32KB |
|
SAMD51J20A |
120MHz |
1008KB |
192KB |
|
SAMD51J19A |
120MHz |
512KB |
192KB |
|
AT91SAM3X8E |
84MHz |
512KB |
96KB |
|
AT91SAM3X8E |
84MHz |
512KB |
96KB |
|
SAMD21G18A |
48MHz |
256KB |
32KB |
|
SAMD21G18A |
48MHz |
256KB |
32KB |
|
SAMD21G18A |
48MHz |
256KB |
32KB |
|
SAMD21G18A |
48MHz |
256KB |
32KB |
|
SAMD21G18A |
48MHz |
256KB |
32KB |
|
SAMD21G18A |
48MHz |
256KB |
32KB |
|
SAMD21G18A |
48MHz |
256KB |
32KB |
|
SAMD21G18A |
48MHz |
256KB |
32KB |
|
SAMD21G18A |
48MHz |
256KB |
32KB |
|
SAMD21G18A |
48MHz |
256KB |
32KB |
|
SAMD21G18A |
48MHz |
256KB |
32KB |
|
SAMD21G18A |
48MHz |
256KB |
32KB |
|
AT91SAM3X8E |
84MHz |
512KB |
96KB |
|
SAMD21G18A |
48MHz |
256KB |
32KB |
|
SAMD21J18A |
48MHz |
256KB |
32KB |
|
SAMD21G18A |
48MHz |
256KB |
32KB |
|
SAMD21G18A |
48MHz |
256KB |
32KB |
|
SAMD21J18A |
48MHz |
256KB |
32KB |
|
SAMD21J18A |
48MHz |
256KB |
32KB |
|
SAMD21G18A |
48MHz |
256KB |
32KB |
|
SAMD21J18A |
48MHz |
256KB |
32KB |
|
SAMD21G18A |
48MHz |
256KB |
32KB |
|
AT91SAM3X8E |
84MHz |
512KB |
96KB |
|
AT91SAM3X8E |
84MHz |
512KB |
96KB |
|
SAMD21G18A |
48MHz |
256KB |
32KB |
|
SAMD21G18A |
48MHz |
256KB |
32KB |
|
SAMD21G18A |
48MHz |
256KB |
32KB |
|
SAMD51P19A |
120MHz |
496KB |
192KB |
|
SAMD21G18A |
48MHz |
256KB |
32KB |
|
SAMD21G18A |
48MHz |
256KB |
32KB |
|
SAMD21G18A |
48MHz |
256KB |
32KB |
|
SAMD21E18A |
48MHz |
256KB |
32KB |
|
SAMD21G18A |
48MHz |
256KB |
32KB |
|
SAMD21G18A |
48MHz |
256KB |
32KB |
|
SAMD21G18A |
48MHz |
256KB |
32KB |
|
SAMD21G18A |
48MHz |
256KB |
32KB |
|
SAMD51J20A |
120MHz |
496KB |
192KB |
|
SAMD51J20A |
120MHz |
496KB |
192KB |
|
SAMD21G18A |
48MHz |
256KB |
32KB |
Stable and upstream versions
You can switch between stable releases of Atmel SAM development platform and the latest upstream version using platform option in “platformio.ini” (Project Configuration File) as described below.
Stable
; Latest stable version, NOT recommended
; Pin the version as shown below
[env:latest_stable]
platform = atmelsam
board = ...
; Specific version
[env:custom_stable]
platform = atmelsam@x.y.z
board = ...
Upstream
[env:upstream_develop]
platform = https://github.com/platformio/platform-atmelsam.git
board = ...
Packages
Name |
Description |
---|---|
The official Arduino Wiring-based Framework for ATSAM3 microcontrollers |
|
The official Arduino Wiring-based Framework for Microchip SAM D microcontrollers |
|
Arduino Wiring-based Framework for Microchip SAM D microcontrollers (Adafruit SAMD Core) |
|
Arduino Wiring-based Framework for Microchip SAM D microcontrollers (Moteino SAMD Core) |
|
Arduino Wiring-based Framework for Microchip SAM D microcontrollers (RepRap SAMD Core) |
|
Arduino Wiring-based Framework for Microchip SAM D microcontrollers (Seeed SAMD Core) |
|
Arduino Wiring-based Framework for Microchip SAM D microcontrollers (SODAQ SAMD Core) |
|
Arduino Wiring-based Framework for Microchip SAM D microcontrollers (SparkFun SAMD Core) |
|
Arduino Wiring-based Framework for Microchip SAM D microcontrollers (Tuino0 SAMD Core) |
|
Vendor-independent hardware abstraction layer for the Cortex-M processor series |
|
Atmel Smart ARM devices CMSIS module |
|
Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures |
|
AVRDUDE is a utility to download/upload/manipulate the ROM and EEPROM contents of AVR microcontrollers |
|
Basic Open Source SAM-BA Application (BOSSA) |
|
CMake is an open-source, cross-platform family of tools designed to build, test and package software. |
|
Device tree compiler |
|
GNU gperf is a perfect hash function generator |
|
Software and Documentation Pack for SEGGER J-Link debug probes |
|
Ninja is a small build system with a focus on speed |
|
Open On-Chip Debugger. Free and Open On-Chip Debugging, In-System Programming and Boundary-Scan Testing |
|
GNU toolchain for Arm Cortex-M and Cortex-R processors |
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 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. |
|
Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures |
Boards
Note
You can list pre-configured boards by pio boards command
For more detailed
board
information please scroll the tables below by horizontally.
Adafruit
Name |
Debug |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|
External |
SAMD21E18A |
48MHz |
256KB |
32KB |
|
External |
SAMD21G18A |
48MHz |
256KB |
32KB |
|
External |
SAMD21G18A |
48MHz |
256KB |
32KB |
|
External |
SAMD21G18A |
48MHz |
256KB |
32KB |
|
External |
SAMD21G18A |
48MHz |
256KB |
32KB |
|
External |
SAME51J19A |
120MHz |
496KB |
192KB |
|
External |
SAMD51J19A |
120MHz |
512KB |
192KB |
|
External |
SAMD21E18A |
48MHz |
256KB |
32KB |
|
External |
SAMD51P20A |
120MHz |
1MB |
256KB |
|
External |
SAMD21G18A |
48MHz |
256KB |
32KB |
|
External |
SAMD51J19A |
120MHz |
496KB |
192KB |
|
External |
SAMD21G18A |
48MHz |
256KB |
32KB |
|
External |
SAMD51G19A |
120MHz |
512KB |
192KB |
|
External |
SAMD51G19A |
120MHz |
496KB |
192KB |
|
External |
SAMD51J19A |
120MHz |
496KB |
192KB |
|
External |
SAMD21G18A |
48MHz |
256KB |
32KB |
|
External |
SAMD51J19A |
120MHz |
512KB |
192KB |
|
External |
SAMD51J19A |
120MHz |
512KB |
192KB |
|
External |
SAMD21E18A |
48MHz |
256KB |
32KB |
|
External |
SAMD21E18A |
48MHz |
256KB |
32KB |
|
External |
SAMD21E18A |
48MHz |
256KB |
32KB |
|
External |
SAMD51J20A |
120MHz |
1MB |
256KB |
|
External |
SAMD51J19A |
120MHz |
512KB |
192KB |
|
External |
SAMD51J20A |
120MHz |
1MB |
256KB |
|
External |
SAMD51J20A |
120MHz |
1MB |
256KB |
|
External |
SAMD21E18A |
48MHz |
256KB |
32KB |
|
External |
SAMD21E18A |
48MHz |
256KB |
32KB |
|
External |
SAMD21E18A |
48MHz |
256KB |
32KB |
|
External |
SAMD51J19A |
120MHz |
512KB |
192KB |
|
External |
SAMD21E18A |
48MHz |
256KB |
32KB |
|
External |
SAMD21E18A |
48MHz |
256KB |
32KB |
|
External |
SAMD51J20A |
120MHz |
1008KB |
192KB |
|
External |
SAMD51J19A |
120MHz |
512KB |
192KB |
Arduino
Name |
Debug |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|
External |
AT91SAM3X8E |
84MHz |
512KB |
96KB |
|
External |
AT91SAM3X8E |
84MHz |
512KB |
96KB |
|
External |
SAMD21G18A |
48MHz |
256KB |
32KB |
|
External |
SAMD21G18A |
48MHz |
256KB |
32KB |
|
On-board |
SAMD21G18A |
48MHz |
256KB |
32KB |
|
External |
SAMD21G18A |
48MHz |
256KB |
32KB |
|
External |
SAMD21G18A |
48MHz |
256KB |
32KB |
|
External |
SAMD21G18A |
48MHz |
256KB |
32KB |
|
External |
SAMD21G18A |
48MHz |
256KB |
32KB |
|
External |
SAMD21G18A |
48MHz |
256KB |
32KB |
|
External |
SAMD21G18A |
48MHz |
256KB |
32KB |
|
External |
SAMD21G18A |
48MHz |
256KB |
32KB |
|
External |
SAMD21G18A |
48MHz |
256KB |
32KB |
|
External |
SAMD21G18A |
48MHz |
256KB |
32KB |
|
On-board |
SAMD21G18A |
48MHz |
256KB |
32KB |
|
External |
SAMD21G18A |
48MHz |
256KB |
32KB |
|
External |
SAMD21G18A |
48MHz |
256KB |
32KB |
|
External |
SAMD21G18A |
48MHz |
256KB |
32KB |
Atmel
Name |
Debug |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|
On-board |
SAMR21G18A |
48MHz |
256KB |
32KB |
|
On-board |
SAMD21G18A |
48MHz |
256KB |
32KB |
|
On-board |
SAMC21J18A |
48MHz |
256KB |
32KB |
|
On-board |
SAMD21J18A |
48MHz |
256KB |
32KB |
Digistump
Name |
Debug |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|
External |
AT91SAM3X8E |
84MHz |
512KB |
96KB |
Gimasi
Name |
Debug |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|
External |
SAMD21G18A |
48MHz |
256KB |
32KB |
LowPowerLab
Name |
Debug |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|
No |
SAMD21G18A |
48MHz |
256KB |
32KB |
|
External |
SAMD21G18A |
48MHz |
256KB |
32KB |
ReprapWorld
Name |
Debug |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|
External |
SAMD21J18A |
48MHz |
256KB |
32KB |
SODAQ
Name |
Debug |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|
External |
SAMD21J18A |
48MHz |
256KB |
32KB |
|
External |
SAMD21J18A |
48MHz |
256KB |
32KB |
|
External |
SAMD21G18A |
48MHz |
256KB |
32KB |
|
External |
SAMD21J18A |
48MHz |
256KB |
32KB |
|
External |
SAMD21G18A |
48MHz |
256KB |
32KB |
SainSmart
Name |
Debug |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|
External |
AT91SAM3X8E |
84MHz |
512KB |
96KB |
|
External |
AT91SAM3X8E |
84MHz |
512KB |
96KB |
Seeed
Name |
Debug |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|
External |
SAMD21G18A |
48MHz |
256KB |
32KB |
|
External |
SAMD21G18A |
48MHz |
256KB |
32KB |
|
External |
SAMD21G18A |
48MHz |
256KB |
32KB |
|
External |
SAMD51P19A |
120MHz |
496KB |
192KB |
|
External |
SAMD21G18A |
48MHz |
256KB |
32KB |
|
External |
SAMD21G18A |
48MHz |
256KB |
32KB |
SparkFun
Name |
Debug |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|
External |
SAMD21G18A |
48MHz |
256KB |
32KB |
|
External |
SAMD21E18A |
48MHz |
256KB |
32KB |
|
External |
SAMD21G18A |
48MHz |
256KB |
32KB |
|
External |
SAMD21G18A |
48MHz |
256KB |
32KB |
|
External |
SAMD21G18A |
48MHz |
256KB |
32KB |
|
External |
SAMD21G18A |
48MHz |
256KB |
32KB |
|
External |
SAMD51J20A |
120MHz |
496KB |
192KB |
|
External |
SAMD51J20A |
120MHz |
496KB |
192KB |