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:
parent
1aa6ce901e
commit
1f9ff9e767
@ -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...
|
||||
|
Loading…
Reference in New Issue
Block a user