File tree Expand file tree Collapse file tree 4 files changed +14
-1
lines changed
ports/esp32/boards/ESP32_GENERIC Expand file tree Collapse file tree 4 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 22
22
"D2WD" : " ESP32 D2WD" ,
23
23
"SPIRAM" : " Support for SPIRAM / WROVER" ,
24
24
"UNICORE" : " ESP32 Unicore" ,
25
- "OTA" : " Support for OTA"
25
+ "OTA" : " Support for OTA" ,
26
+ "ROMFS" : " Support for ROMFS"
26
27
},
27
28
"vendor" : " Espressif"
28
29
}
Original file line number Diff line number Diff line change @@ -14,5 +14,6 @@ This board has multiple variants available:
14
14
then choose the "ota" variant. This variant has less room in the flash for
15
15
Python files as a result of supporting OTA. Look for heading ** Support for
16
16
OTA** .
17
+ * If you'd like to use ROMFS then choose the "romfs" variant.
17
18
18
19
Otherwise, download the generic variant (under the first heading below).
Original file line number Diff line number Diff line change
1
+ set (SDKCONFIG_DEFAULTS
2
+ ${SDKCONFIG_DEFAULTS}
3
+ boards/ESP32_GENERIC/sdkconfig.romfs
4
+ )
5
+
6
+ list (APPEND MICROPY_DEF_BOARD
7
+ MICROPY_HW_BOARD_NAME= "Generic ESP32 module with ROMFS"
8
+ MICROPY_VFS_ROM=1
9
+ )
Original file line number Diff line number Diff line change
1
+ CONFIG_PARTITION_TABLE_CUSTOM=y
2
+ CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-4MiB-romfs.csv"
You can’t perform that action at this time.
0 commit comments