1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-24 22:13:52 +01:00
RIOT/boards/feather-m0/Makefile.include

14 lines
461 B
Makefile

# 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
ifeq ($(PROGRAMMER),jlink)
# in case J-Link is attached to SWD pins, use a plain CPU memory model
JLINK_DEVICE = atsamd21
endif
# Include all definitions for flashing with bossa over USB
include $(RIOTBOARD)/common/samdx1-arduino-bootloader/Makefile.include