1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

makefiles/dfu-util: automatically generate DFU_USB_ID

This commit is contained in:
dylad 2020-12-15 17:17:44 +01:00 committed by Dylan Laduranty
parent bca340d338
commit 7fc5bb483b

View File

@ -3,6 +3,7 @@ FLASHER ?= $(DFU)
FLASHFILE ?= $(BINFILE)
DFU_ALT ?= 0
DFU_USB_ID ?= ${USB_VID}:${USB_PID}
ROM_OFFSET ?= 0
_ROM_ADDR_WITH_OFFSET ?= $(shell printf "0x%x" $$(($(ROM_START_ADDR) + $(ROM_OFFSET))))