1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/common/samd21-arduino-bootloader/Makefile.include

14 lines
381 B
Makefile
Raw Normal View History

# setup the flash tool used
# Bossa is the default programmer
PROGRAMMER ?= bossa
ifeq ($(PROGRAMMER),bossa)
# by default, we use BOSSA to flash this board and take into account the
# preinstalled Arduino bootloader. ROM_OFFSET skips the space taken by
# such bootloader.
ROM_OFFSET ?= 0x2000
BOSSA_ARDUINO_PREFLASH = yes
include $(RIOTMAKE)/tools/bossa.inc.mk
endif