Support for the Adafruit Feather M0. More...
Support for the Adafruit Feather M0.
Feather M0 boards are development boards shipped by Adafruit.
All the feather M0 boards are built based on the same Atmel SAMD21G18A microcontroller. See Atmel SAMD21.
Several types of Feather M0 boards exist:
The different modules used to differentiate the boards (ATWINC1500 WiFi, Bluefruit LE, SD card, LoRa) are connected via SPI (SPI_DEV(0)) to the SAMD21 mcu.
AIN7
can be used to measure the voltage of a connected Lipoly battery. It is mapped to ADC_LINE(6) in RIOT.
Use BOARD=feather-m0
with the make
command.
Example with hello-world
application:
To enable the WiFi interface of the Feather M0 WiFi variant of the board automatically for networking applications, use feather-m0-wifi
as board and define the required WiFi parameters, for example:
For detailed information about the parameters, see section ATWINC15x0 WiFi module driver.
To enable the LoRa module available on the Feather M0 LoRa variant of the board automatically for LoRa applications, use feather-m0-lora
as board:
For detailed information about the parameters, see section Semtech SX1272 and SX1276 radios driver.
STDIO of RIOT is directly available over the USB port.
The TERM_DELAY
environment variable can be used to add a delay (in second) before opening the serial terminal. The default value is 2s which should be enough in most of the situation.
Files | |
file | board.h |
Board specific configuration for the Adafruit Feather M0. | |
file | gpio_params.h |
Board specific configuration of direct mapped GPIOs. | |
file | periph_conf.h |
Configuration of CPU peripherals for Adafruit Feather M0. | |
file | sdcard_spi_params.h |
SD card configuration for the Adafruit Feather M0 Adalogger. | |