Skip to content

Manage the Adafruit Feather M0 and M4 boards

Install

To install the Adafruit Feather M0 and M4 boards,

  • Ensure the Arduino tools, CLI or IDE, are installed.

  • Ensure the arduino-cli.yaml configuration file for Arduino-CLI or the Additional boards manager URLs for Arduino IDE includes

https://adafruit.github.io/arduino-board-index/package_adafruit_index.json
  • Open a Terminal window.

  • Run

$
arduino-cli core install adafruit:samd

For more information on the Feather M0,

For more information on the Feather M4,

For debugging against the Feather M0 and M4, use the Segger J-Link emulator.

For more information,

Develop

Use the libraries for WiFi

Use the libraries for Bluetooth

Use the libraries for SD

Upload

For the Adafruit Feather M0 and M4 boards, Adafruit offers two options to upload the executable to the boards.

The first option is the standard upload procedure through serial over USB.

The second option, called UF2 for USB Flashing Format, turns the board into a mass storage device. Programming is done with a simple drag-and-drop or copy of the executable onto the mass storage device.

Upload using standard USB

Before uploading using the standard USB procedure,

  • Plug the Adafruit board in.

  • Check the LED on the board is green.

  • Otherwise, double-press the Reset button on the board to enter boot-loader mode.

For more information,

Upload using UF2

For the Adafruit Feather M0 and M4 boards, this drag-and-drop procedure requires a specific format. The executable needs to be converted into a .uf2 file. The utility for the conversion is provided by the Adafruit nRF52 boards package.

To install the Adafruit nRF52 boards package,

Before uploading,

  • Plug the Adafruit board in.

  • Check a volume called FEATHERBOOT is shown on the desktop.

  • Otherwise, double-press the Reset button on the board to activate it.

  • Check the LED on the board is green.

For more information on the Feather M0 and the UF2 boot-loader,

For more information on the Feather M4 and the UF2 boot-loader,

Debug

The Adafruit Feather M0 exposes the SWD signals through SWCLK and SWDIO pads and the Adafruit Feather M4 through a 2x5 0.05” connector.

Cables and pins should be soldered to connect the Segger J-Link programmer-debugger.

Example of SWD implementation for the Feather M4 board, front and rear

For more information on how to prepare the boards,