Loading...
Searching...
No Matches
Adafruit Metro M4 Express

Support for the Adafruit Metro M4 Express. More...

Detailed Description

Support for the Adafruit Metro M4 Express.

General information

Picture of the Adafruit Metro M4 Express

The main features of the board are:

Pinout

Official Pinout of the Metro M4 Express

Links

Schematics

Original Board Schematics

Arduino Compatibility

The board is compatible with Shields for the Arduino UNO / Arduino Zero.

Warning
The SPI bus on D11/D12/D13 is only available when periph_uart is not used, as this pins are connected to the same SERCOM peripheral. This is board design flaw that we cannot work around unless resorting to desperate means such as bit-banging either the SPI bus or the UART interface.

Flash the board

The board is flashed using its on-board boot loader.

The process is automated in the usual make flash target.

If RIOT is already running on the board, it will automatically reset the CPU and enter the bootloader. If some other firmware is running or RIOT crashed, you need to enter the bootloader manually by double tapping the board's reset button.

Readiness of the bootloader is indicated by LED pulsing in red.

Note
You may need to pass MOST_RECENT_PORT=0 and manually pass the PORT if you enter the bootloader by hand.

Accessing STDIO

The usual way to obtain a console on this board is using an emulated USB serial port.

Files

file  arduino_iomap.h
 Mapping from MCU pins to Arduino pins.
 
file  board.h
 Board specific definitions for the Adafruit Metro M4 Express.
 
file  gpio_params.h
 Board specific configuration of direct mapped GPIOs.
 
file  periph_conf.h
 Configuration of CPU peripherals for the Adafruit Metro M4 Express.