1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

makefiles/bossa: only use ROM_OFFSET with version 1.9

This commit is contained in:
Alexandre Abadie 2020-03-18 14:12:31 +01:00
parent 1aa6ce901e
commit 1f9ff9e767
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -1,7 +1,14 @@
BOSSA_VERSION ?= 1.9
FLASHFILE ?= $(BINFILE)
FLASHER ?= $(RIOTTOOLS)/bossa-$(BOSSA_VERSION)/bossac
FFLAGS ?= -p $(PROG_DEV) -o $(ROM_OFFSET) -e -i -w -v -b -R $(FLASHFILE)
FFLAGS_OPTS ?=
# Only use ROM_OFFSET with Bossa version 1.9
ifeq (1.9,$(BOSSA_VERSION))
FFLAGS_OPTS += -o $(ROM_OFFSET)
endif
FFLAGS ?= -p $(PROG_DEV) $(FFLAGS_OPTS) -e -i -w -v -b -R $(FLASHFILE)
# some arduino boards need to toggle the serial interface a little bit to get
# them ready for flashing...