Browse Source

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.
H. Peter Anvin 2 years ago
parent
commit
77147219d7
4 changed files with 3 additions and 0 deletions
  1. 3 0
      esp32/Makefile
  2. BIN
      esp32/output/max80.ino.bin
  3. BIN
      fpga/output/v1.fw
  4. BIN
      fpga/output/v2.fw

+ 3 - 0
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)

BIN
esp32/output/max80.ino.bin


BIN
fpga/output/v1.fw


BIN
fpga/output/v2.fw