1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-15 17:43:51 +01:00

boards/feather-m0: change default bootloader to UF2

This commit is contained in:
crasbe 2025-03-07 22:47:58 +01:00
parent 01310fb6ee
commit 027935f9f8
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,8 @@
# Boards after around 2018 use the more modern UF2 bootloader.
# Comment out for the old BOSSA bootloader or upgrade to
# the UF2 bootloader.
CFLAGS += -DBOOTLOADER_UF2
# setup the flash tool used # setup the flash tool used
ifeq ($(PROGRAMMER),jlink) ifeq ($(PROGRAMMER),jlink)
# in case J-Link is attached to SWD pins, use a plain CPU memory model # in case J-Link is attached to SWD pins, use a plain CPU memory model

View File

@ -52,6 +52,14 @@ Example with `hello-world` application:
bootloader mode by double tapping the reset button before running the bootloader mode by double tapping the reset button before running the
flash command. flash command.
@note Adafruit changed the bootloader from the old BOSSA bootloader to the
more modern UF2 bootloader around 2018. If you have a very old board,
it is recommended to upgrade the bootloader to the new UF2
bootloader. Otherwise the bootloader has to be enabled by double
tapping the reset button.<br/>
Upgrade instructions can be found at Adafruit:
https://learn.adafruit.com/installing-circuitpython-on-samd21-boards/installing-the-uf2-bootloader
### Using the WiFi interface ### Using the WiFi interface
To enable the WiFi interface of the Feather M0 WiFi variant of the board To enable the WiFi interface of the Feather M0 WiFi variant of the board