summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2022-05-22 00:19:04 -0700
committerH. Peter Anvin <hpa@zytor.com>2022-05-22 00:19:04 -0700
commit77147219d78b0b2daa03e8fc561e6794f01d92be (patch)
tree43865dabf77ede2741e6671525425e2dce077644
parent24f2f5ef3de37d15d873940508722019f2de80d3 (diff)
downloadblinktest-77147219d78b0b2daa03e8fc561e6794f01d92be.tar.gz
blinktest-77147219d78b0b2daa03e8fc561e6794f01d92be.tar.xz
blinktest-77147219d78b0b2daa03e8fc561e6794f01d92be.zip
esp32: disable MSC interface
The MSC interface is unlikely to be useful, and probably would do more harm than good if someone tries to upload the .fw image.
-rw-r--r--esp32/Makefile3
-rw-r--r--esp32/output/max80.ino.binbin793856 -> 772496 bytes
-rw-r--r--fpga/output/v1.fwbin748074 -> 733971 bytes
-rw-r--r--fpga/output/v2.fwbin747384 -> 733370 bytes
4 files changed, 3 insertions, 0 deletions
diff --git a/esp32/Makefile b/esp32/Makefile
index 6fcd69b..0337b09 100644
--- a/esp32/Makefile
+++ b/esp32/Makefile
@@ -17,6 +17,9 @@ ARDUINO_OPTS = -b $(BOARD) \
--build-cache-path ../cache \
--build-property 'build.flash_size=4MB' \
--build-property 'build.defines=-DBOARD_HAS_PSRAM' \
+ --build-property 'build.cdc_on_boot=1' \
+ --build-property 'build.msc_on_boot=0' \
+ --build-property 'build.dfu_on_boot=1' \
--build-property 'build.partitions=min_spiffs'
all: $(TARGET)
diff --git a/esp32/output/max80.ino.bin b/esp32/output/max80.ino.bin
index f58e200..195577f 100644
--- a/esp32/output/max80.ino.bin
+++ b/esp32/output/max80.ino.bin
Binary files differ
diff --git a/fpga/output/v1.fw b/fpga/output/v1.fw
index d359c56..8e7c430 100644
--- a/fpga/output/v1.fw
+++ b/fpga/output/v1.fw
Binary files differ
diff --git a/fpga/output/v2.fw b/fpga/output/v2.fw
index 4f2a3f1..1ae8eac 100644
--- a/fpga/output/v2.fw
+++ b/fpga/output/v2.fw
Binary files differ