mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
makefiles/tools: remove deprecated FFLAGS_OPTS variable
This commit is contained in:
parent
c5656ef3b2
commit
6e8d3246e6
@ -2,12 +2,6 @@ BOSSA_VERSION ?= 1.9
|
||||
FLASHFILE ?= $(BINFILE)
|
||||
FLASHER ?= $(RIOTTOOLS)/bossa-$(BOSSA_VERSION)/bossac
|
||||
|
||||
# Warn about deprecated variables
|
||||
ifneq (,$(FFLAGS_OPTS))
|
||||
$(warning Warning! FFLAGS_OPTS is deprecated use BOSSA_FLAGS_OPTS)
|
||||
BOSSA_FLAGS_OPTS ?= $(FFLAGS_OPTS)
|
||||
endif
|
||||
|
||||
BOSSA_FLAGS_OPTS ?=
|
||||
|
||||
# Only use ROM_OFFSET with Bossa version 1.9
|
||||
|
@ -3,12 +3,6 @@ FLASHFILE ?= $(CC2538_BSL_FLASHFILE)
|
||||
CC2538_BSL ?= $(RIOTTOOLS)/cc2538-bsl/cc2538-bsl.py
|
||||
PROG_BAUD ?= 500000 # default value in cc2538-bsl
|
||||
|
||||
# Warn about deprecated variables
|
||||
ifneq (,$(FFLAGS_OPTS))
|
||||
$(warning Warning! FFLAGS_OPTS is deprecated use CC2538_BSL_FLAGS_OPTS)
|
||||
CC2538_BSL_FLAGS_OPTS ?= $(FFLAGS_OPTS)
|
||||
endif
|
||||
|
||||
CC2538_BSL_FLAGS_OPTS ?=
|
||||
CC2538_BSL_FLAGS = $(if $(IMAGE_OFFSET), -a $(shell printf "0x%08x" $$(($(IMAGE_OFFSET) + $(ROM_START_ADDR)))))
|
||||
CC2538_BSL_FLAGS += -p "$(PROG_DEV)" $(CC2538_BSL_FLAGS_OPTS) --write-erase -v -b $(PROG_BAUD) $(FLASHFILE)
|
||||
|
@ -10,12 +10,6 @@ _ROM_ADDR_WITH_OFFSET ?= $(shell printf "0x%x" $$(($(ROM_START_ADDR) + $(ROM_OFF
|
||||
FLASH_ADDR ?= $(if $(ROM_OFFSET),$(_ROM_ADDR_WITH_OFFSET),$(ROM_START_ADDR))
|
||||
DFU_USE_DFUSE ?= 0
|
||||
|
||||
# Warn about deprecated variables
|
||||
ifneq (,$(FFLAGS_OPTS))
|
||||
$(warning Warning! FFLAGS_OPTS is deprecated use DFU_UTIL_FLAGS_OPTS)
|
||||
DFU_UTIL_FLAGS_OPTS ?= $(FFLAGS_OPTS)
|
||||
endif
|
||||
|
||||
# Optional flasher flags
|
||||
DFU_UTIL_FLAGS_OPTS ?=
|
||||
|
||||
|
@ -1,11 +1,5 @@
|
||||
FLASHFILE ?= $(HEXFILE)
|
||||
|
||||
# Warn about deprecated variables
|
||||
ifneq (,$(FFLAGS_OPTS))
|
||||
$(warning Warning! FFLAGS_OPTS is deprecated use UF2CONV_FLAGS)
|
||||
UF2CONV_FLAGS ?= $(FFLAGS_OPTS)
|
||||
endif
|
||||
|
||||
FLASHER ?= $(RIOTTOOLS)/uf2/uf2conv.py
|
||||
FFLAGS ?= $(UF2CONV_FLAGS) $(FLASHFILE)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user