summaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2020-06-10 13:50:10 -0700
committerScott Shawcroft <scott@tannewt.org>2020-06-24 12:47:58 -0700
commit7b56617f8ef6cf9af9a5a8dbdadbc678918d52ca (patch)
tree839d9e1bde52fd9d09e185d6dfec03f76d539fa5 /ports
parenta26102607e3fe5b6f888fcd246e20ac82a70af7b (diff)
Turn off stub so flash works over native usb
Diffstat (limited to 'ports')
-rw-r--r--ports/esp32s2/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/esp32s2/Makefile b/ports/esp32s2/Makefile
index 4eac07f99..570eab021 100644
--- a/ports/esp32s2/Makefile
+++ b/ports/esp32s2/Makefile
@@ -275,7 +275,7 @@ $(BUILD)/firmware.bin: $(BUILD)/esp-idf/partition_table/partition-table.bin $(BU
$(Q)$(PYTHON) ../../tools/join_bins.py $@ 0x1000 $(BUILD)/esp-idf/bootloader/bootloader.bin 0x8000 $(BUILD)/esp-idf/partition_table/partition-table.bin 0x10000 $(BUILD)/circuitpython-firmware.bin
flash: $(BUILD)/firmware.bin
- esptool.py --chip esp32s2 -p $(PORT) -b 460800 --before=default_reset --after=hard_reset write_flash $(FLASH_FLAGS) 0x0000 $^
+ esptool.py --chip esp32s2 -p $(PORT) --no-stub -b 460800 --before=default_reset --after=hard_reset write_flash $(FLASH_FLAGS) 0x0000 $^
include $(TOP)/py/mkrules.mk