File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -411,9 +411,12 @@ $(BUILD)/circuitpython-firmware.bin: $(BUILD)/firmware.elf | tools/build_memory_
411
411
$(BUILD ) /firmware.bin : $(BUILD ) /circuitpython-firmware.bin | esp-idf-stamp
412
412
$(Q )$(PYTHON ) ../../tools/join_bins.py $@ $(BOOTLOADER_OFFSET ) $(BUILD ) /esp-idf/bootloader/bootloader.bin $(PARTITION_TABLE_OFFSET ) $(BUILD ) /esp-idf/partition_table/partition-table.bin $(FIRMWARE_OFFSET ) $(BUILD ) /circuitpython-firmware.bin
413
413
414
+ UF2_FAMILY_ID_esp32s2 = 0xbfdd4eee
415
+ UF2_FAMILY_ID_esp32s3 = 0xc47e5767
416
+
414
417
$(BUILD ) /firmware.uf2 : $(BUILD ) /circuitpython-firmware.bin
415
418
$(STEPECHO ) " Create $@ "
416
- $(Q )$(PYTHON ) $(TOP ) /tools/uf2/utils/uf2conv.py -f 0xbfdd4eee -b 0x0000 -c -o $@ $^
419
+ $(Q )$(PYTHON ) $(TOP ) /tools/uf2/utils/uf2conv.py -f $( UF2_FAMILY_ID_ $( IDF_TARGET ) ) -b 0x0000 -c -o $@ $^
417
420
418
421
flash : $(BUILD ) /firmware.bin
419
422
esptool.py --chip $(IDF_TARGET ) -p $(PORT ) $(ESPTOOL_FLAGS ) write_flash $(FLASH_FLAGS ) 0x0000 $^
You can’t perform that action at this time.
0 commit comments