mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 06:23:53 +01:00
14 lines
461 B
Makefile
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
|