Skip to content

Commit 3cbd45f

Browse files
committed
Added ESP32 ROMFS variant.
1 parent 79abdad commit 3cbd45f

File tree

4 files changed

+14
-1
lines changed

4 files changed

+14
-1
lines changed

ports/esp32/boards/ESP32_GENERIC/board.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
"D2WD": "ESP32 D2WD",
2323
"SPIRAM": "Support for SPIRAM / WROVER",
2424
"UNICORE": "ESP32 Unicore",
25-
"OTA": "Support for OTA"
25+
"OTA": "Support for OTA",
26+
"ROMFS": "Support for ROMFS"
2627
},
2728
"vendor": "Espressif"
2829
}

ports/esp32/boards/ESP32_GENERIC/board.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@ This board has multiple variants available:
1414
then choose the "ota" variant. This variant has less room in the flash for
1515
Python files as a result of supporting OTA. Look for heading **Support for
1616
OTA**.
17+
* If you'd like to use ROMFS then choose the "romfs" variant.
1718

1819
Otherwise, download the generic variant (under the first heading below).
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
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+
)
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
CONFIG_PARTITION_TABLE_CUSTOM=y
2+
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-4MiB-romfs.csv"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy