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

tools/uf2conv: add deprecation warning about FFLAGS_OPTS

This commit is contained in:
Alexandre Abadie 2021-02-23 15:29:24 +01:00
parent 571a113a50
commit 3b9682788c
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -1,5 +1,11 @@
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)