mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Alexandre Abadie
f8822b5f8f
They defined the same in serial.inc.mk. Some Darwin default are changed because they are probably wrong
16 lines
500 B
Makefile
16 lines
500 B
Makefile
# by default, we use BOSSA to flash this board to take into account the
|
|
# pre-flashed Arduino bootloader
|
|
PROGRAMMER ?= bossa
|
|
|
|
# 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
|
|
else ifeq ($(PROGRAMMER),bossa)
|
|
# ROM_OFFSET skips the space taken by the pre-flashed Arduino bootloader.
|
|
ROM_OFFSET ?= 0x2000
|
|
endif
|
|
|
|
# setup the boards dependencies
|
|
include $(RIOTBOARD)/sensebox_samd21/Makefile.dep
|