File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ SRC_QSTR += $(SRC_C) $(SRC_SUPERVISOR) $(SRC_MOD) $(SRC_COMMON_HAL_EXPANDED) $(S
171171SRC_QSTR_PREPROCESSOR +=
172172
173173
174- all : $(BUILD ) /firmware.bin $(BUILD ) /firmware.uf2
174+ all : $(BUILD ) /firmware.bin $(BUILD ) /firmware.dfu
175175
176176$(BUILD ) /firmware.elf : $(OBJ )
177177 $(STEPECHO ) " LINK $@ "
@@ -188,9 +188,9 @@ $(BUILD)/firmware.hex: $(BUILD)/firmware.elf
188188 $(Q )$(OBJCOPY ) -O ihex $^ $@
189189# $(Q)$(OBJCOPY) -O ihex -j .vectors -j .text -j .data $^ $@
190190
191- $(BUILD ) /firmware.uf2 : $(BUILD ) /firmware.hex
191+ $(BUILD ) /firmware.dfu : $(BUILD ) /firmware.bin
192192 $(ECHO ) " Create $@ "
193- $(PYTHON3 ) $(TOP ) /tools/uf2/utils/uf2conv .py -f 0xADA00001 -c -o " $( BUILD) /firmware.uf2 " $^
193+ $(PYTHON3 ) $(TOP ) /tools/dfu-suffix .py -b $^ -D 0x1209:0x5bf0 " $( BUILD) /firmware.dfu "
194194
195195include $(TOP ) /py/mkrules.mk
196196
You can’t perform that action at this time.
0 commit comments