Skip to content

Commit

Permalink
make: namespace bossa optional flags variable
Browse files Browse the repository at this point in the history
  • Loading branch information
aabadie committed Feb 23, 2021
1 parent 9b0a626 commit 6b6abed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions makefiles/tools/bossa.inc.mk
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
BOSSA_VERSION ?= 1.9
FLASHFILE ?= $(BINFILE)
FLASHER ?= $(RIOTTOOLS)/bossa-$(BOSSA_VERSION)/bossac
FFLAGS_OPTS ?=
BOSSA_FLAGS_OPTS ?=

# Only use ROM_OFFSET with Bossa version 1.9
ifeq (1.9,$(BOSSA_VERSION))
FFLAGS_OPTS += -o $(ROM_OFFSET)
BOSSA_FLAGS_OPTS += -o $(ROM_OFFSET)
endif

FFLAGS ?= -p $(PROG_DEV) $(FFLAGS_OPTS) -e -i -w -v -b -R $(FLASHFILE)
FFLAGS ?= -p $(PROG_DEV) $(BOSSA_FLAGS_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...
Expand Down

0 comments on commit 6b6abed

Please sign in to comment.