Skip to content

Commit 8d95939

Browse files
Add unique string to dfu for Deviation-Uploader
1 parent 8b3d911 commit 8d95939

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/target/tx/devo/common/Makefile.inc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
HAS_4IN1_FLASH ?= 0
22
HAS_FLASH_DETECT ?= 0
33
USE_JTAG ?= 0
4+
DFU_STRING ?= "$(HGVERSION) Firmware"
45

56
ifndef BUILD_TARGET
67

@@ -117,7 +118,7 @@ $(LIBOPENCM3):
117118
+$(FLOCKS) $(MAKE) -C $(SDIR)/libopencm3 TARGETS=stm32/f1 lib
118119

119120
$(TARGET).dfu: $(TARGET).bin
120-
$(SDIR)/../utils/dfu.py --name "$(HGVERSION) Firmware" $(DFU_ARGS):$< $@
121+
$(SDIR)/../utils/dfu.py --name $(DFU_STRING) $(DFU_ARGS):$< $@
121122
$(SDIR)/../utils/get_mem_usage.pl $(TARGET).map
122123

123124
###################################

src/target/tx/devo/t8sg/Makefile.inc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
SCREENSIZE := 128x64x1
22
DISPLAY_DRIVER := spi/128x64x1.c
33
FILESYSTEMS := common base_fonts 128x64x1
4+
DFU_STRING := "$(HGVERSION) Unified Firmware"
45
DFU_ARGS := -c 0 -b 0x08006000
56
FONTS = filesystem/$(FILESYSTEM)/media/12normal.fon \
67
filesystem/$(FILESYSTEM)/media/04b03.fon

0 commit comments

Comments
 (0)