File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed 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
171
171
SRC_QSTR_PREPROCESSOR +=
172
172
173
173
174
- all : $(BUILD ) /firmware.bin $(BUILD ) /firmware.uf2
174
+ all : $(BUILD ) /firmware.bin $(BUILD ) /firmware.dfu
175
175
176
176
$(BUILD ) /firmware.elf : $(OBJ )
177
177
$(STEPECHO ) " LINK $@ "
@@ -188,9 +188,9 @@ $(BUILD)/firmware.hex: $(BUILD)/firmware.elf
188
188
$(Q )$(OBJCOPY ) -O ihex $^ $@
189
189
# $(Q)$(OBJCOPY) -O ihex -j .vectors -j .text -j .data $^ $@
190
190
191
- $(BUILD ) /firmware.uf2 : $(BUILD ) /firmware.hex
191
+ $(BUILD ) /firmware.dfu : $(BUILD ) /firmware.bin
192
192
$(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 "
194
194
195
195
include $(TOP ) /py/mkrules.mk
196
196
You can’t perform that action at this time.
0 commit comments