Board: Arduino Zero
WARNING: This entry will be deprecated. All content has been moved to doc.riot-os.org
Arduino Zero is a board by Arduino/Genuino featuring a ATSAMD21G18A. The SAMD21 is a ARM Cortex-M0+ micro-controller. It has 256Kb of flash memory and 32Kb of RAM.
This board is available here.
|Frequency||up to 48MHz|
|Timers||6 (1x 16-bit, 2x 24-bit, 3x 32-bit)|
|ADCs||6x 12-bit channels)|
|SPIs||max 6 (see UART)|
|I2Cs||max 6 (see UART)|
|Vcc||1.8V - 3.6V|
Notice that the initial support for the Arduino Zero was based on samr21-xpro and Sodaq Autonomo.
|MCU||samd21||partly||Energy saving modes not fully utilized|
|PWM||to be tested|
|RNG||no||no HW module|
Detailed information on the board can be found on the official web page.
Flashing the device
The standard method for flashing RIOT to the Arduino Zero is using OpenOCD. For this to work properly, you have to make sure to use a very recent version of OpenOCD. Arduino-IDE comes with openocd v0.9.0 which is known to work. Also Ubuntu 16.04 has openocd v0.9.0.
Refer to https://github.com/RIOT-OS/RIOT/wiki/OpenOCD for building OpenOCD and make sure "cmsis-dap" and "hidapi-libusb" are enabled.
To build software for the Arduino Zero board we strongly recommend the usage of the GNU Tools for ARM Embedded Processors toolchain.
Known Issues / Problems
The default stack sizes have not been tuned properly yet. If in doubt why your application crashes try increasing the default stack sizes and use
ps to find out how much stack is being used.
Tracked in https://github.com/RIOT-OS/RIOT/issues/2228