esp32/boards: Convert all boards to auto detect flash size.
Remove the "vfs" entry from all partitions-*.csv files, and then remove duplicated files. And remove the ESP32_GENERIC_S3-FLASH_4M variant, because it's no longer needed. Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
The following files are firmware that should work on most ESP32-based boards
|
The following files are firmware that should work on most ESP32-based boards
|
||||||
with 4MiB of flash, including WROOM WROVER, SOLO, PICO, and MINI modules.
|
with 4MiB or more of flash, including WROOM WROVER, SOLO, PICO, and MINI modules.
|
||||||
|
|
||||||
This board has multiple variants available:
|
This board has multiple variants available:
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
The following files are firmware images that should work on most
|
The following files are firmware images that should work on most
|
||||||
ESP32-C3-based boards with 4MiB of flash, including WROOM and MINI modules,
|
ESP32-C3-based boards with 4MiB or more of flash, including WROOM and MINI
|
||||||
that use the revision 3 silicon (or newer).
|
modules, that use the revision 3 silicon (or newer).
|
||||||
|
|
||||||
USB serial/JTAG support is enabled on pin 18 and 19. Note that this
|
USB serial/JTAG support is enabled on pin 18 and 19. Note that this
|
||||||
is not a full USB stack, the C3 just provides a CDC/ACM class serial
|
is not a full USB stack, the C3 just provides a CDC/ACM class serial
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
The following files are firmware that should work on most ESP32-S2-based
|
The following files are firmware that should work on most ESP32-S2-based
|
||||||
boards with 4MiB of flash, including WROOM, WROVER, and MINI modules.
|
boards with 4MiB or more of flash, including WROOM, WROVER, and MINI modules.
|
||||||
|
|
||||||
This firmware supports configurations with and without SPIRAM (also known as
|
This firmware supports configurations with and without SPIRAM (also known as
|
||||||
PSRAM) and will auto-detect a connected SPIRAM chip at startup and allocate
|
PSRAM) and will auto-detect a connected SPIRAM chip at startup and allocate
|
||||||
|
|||||||
@@ -21,7 +21,6 @@
|
|||||||
"url": "https://www.espressif.com/en/products/modules",
|
"url": "https://www.espressif.com/en/products/modules",
|
||||||
"vendor": "Espressif",
|
"vendor": "Espressif",
|
||||||
"variants": {
|
"variants": {
|
||||||
"SPIRAM_OCT": "Support for Octal-SPIRAM",
|
"SPIRAM_OCT": "Support for Octal-SPIRAM"
|
||||||
"FLASH_4M": "4MiB flash"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,9 +1,7 @@
|
|||||||
The following files are firmware that should work on most ESP32-S3-based
|
The following files are firmware that should work on most ESP32-S3-based
|
||||||
boards with 4/8MiB of flash, including WROOM and MINI modules.
|
boards with 4MiB or more of flash, including WROOM and MINI modules.
|
||||||
|
|
||||||
This firmware supports configurations with and without SPIRAM (also known as
|
This firmware supports configurations with and without SPIRAM (also known as
|
||||||
PSRAM) and will auto-detect a connected SPIRAM chip at startup and allocate
|
PSRAM) and will auto-detect a connected SPIRAM chip at startup and allocate
|
||||||
the MicroPython heap accordingly. However if your board has Octal SPIRAM, then
|
the MicroPython heap accordingly. However if your board has Octal SPIRAM, then
|
||||||
use the "spiram-oct" variant.
|
use the "spiram-oct" variant.
|
||||||
|
|
||||||
If your board has 4MiB flash (including ESP32-S3FH4R2 based ones with embedded flash), then use the "flash-4m" build.
|
|
||||||
|
|||||||
@@ -1,4 +0,0 @@
|
|||||||
set(SDKCONFIG_DEFAULTS
|
|
||||||
${SDKCONFIG_DEFAULTS}
|
|
||||||
boards/ESP32_GENERIC_S3/sdkconfig.flash_4m
|
|
||||||
)
|
|
||||||
@@ -1,8 +1,2 @@
|
|||||||
CONFIG_ESPTOOLPY_FLASHMODE_QIO=y
|
CONFIG_ESPTOOLPY_FLASHMODE_QIO=y
|
||||||
CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
|
CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
|
||||||
|
|
||||||
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=
|
|
||||||
CONFIG_ESPTOOLPY_FLASHSIZE_8MB=y
|
|
||||||
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=
|
|
||||||
CONFIG_PARTITION_TABLE_CUSTOM=y
|
|
||||||
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-8MiB.csv"
|
|
||||||
|
|||||||
@@ -1,4 +0,0 @@
|
|||||||
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
|
|
||||||
CONFIG_ESPTOOLPY_FLASHSIZE_8MB=
|
|
||||||
|
|
||||||
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-4MiB.csv"
|
|
||||||
@@ -1,9 +1,6 @@
|
|||||||
# 16 MB flash
|
# 8 MB+ flash
|
||||||
|
|
||||||
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=
|
CONFIG_ESPTOOLPY_FLASHSIZE_8MB=y
|
||||||
CONFIG_ESPTOOLPY_FLASHSIZE_8MB=
|
|
||||||
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y
|
|
||||||
CONFIG_ESPTOOLPY_FLASHSIZE="16MB"
|
|
||||||
|
|
||||||
# Fast flash
|
# Fast flash
|
||||||
|
|
||||||
@@ -14,7 +11,7 @@ CONFIG_ESP32_REV_MIN_1=y
|
|||||||
# OTA
|
# OTA
|
||||||
|
|
||||||
CONFIG_PARTITION_TABLE_CUSTOM=y
|
CONFIG_PARTITION_TABLE_CUSTOM=y
|
||||||
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-16MiB-ota.csv"
|
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-8MiBplus-ota.csv"
|
||||||
|
|
||||||
# Network name
|
# Network name
|
||||||
|
|
||||||
|
|||||||
@@ -3,11 +3,6 @@ CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
|
|||||||
|
|
||||||
CONFIG_SPIRAM_MEMTEST=
|
CONFIG_SPIRAM_MEMTEST=
|
||||||
|
|
||||||
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=
|
|
||||||
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y
|
|
||||||
CONFIG_PARTITION_TABLE_CUSTOM=y
|
|
||||||
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-16MiB.csv"
|
|
||||||
|
|
||||||
# LWIP
|
# LWIP
|
||||||
CONFIG_LWIP_LOCAL_HOSTNAME="UMFeatherS2"
|
CONFIG_LWIP_LOCAL_HOSTNAME="UMFeatherS2"
|
||||||
# end of LWIP
|
# end of LWIP
|
||||||
|
|||||||
@@ -1,12 +1,7 @@
|
|||||||
CONFIG_ESPTOOLPY_FLASHMODE_QIO=y
|
CONFIG_ESPTOOLPY_FLASHMODE_QIO=y
|
||||||
CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
|
CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
|
||||||
|
|
||||||
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=
|
|
||||||
CONFIG_ESPTOOLPY_FLASHSIZE_8MB=
|
|
||||||
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y
|
|
||||||
CONFIG_SPIRAM_MEMTEST=
|
CONFIG_SPIRAM_MEMTEST=
|
||||||
CONFIG_PARTITION_TABLE_CUSTOM=y
|
|
||||||
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-16MiB.csv"
|
|
||||||
|
|
||||||
CONFIG_LWIP_LOCAL_HOSTNAME="UMFeatherS3"
|
CONFIG_LWIP_LOCAL_HOSTNAME="UMFeatherS3"
|
||||||
|
|
||||||
|
|||||||
@@ -3,11 +3,6 @@ CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
|
|||||||
CONFIG_ESPTOOLPY_AFTER_NORESET=y
|
CONFIG_ESPTOOLPY_AFTER_NORESET=y
|
||||||
|
|
||||||
CONFIG_SPIRAM_MEMTEST=
|
CONFIG_SPIRAM_MEMTEST=
|
||||||
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=
|
|
||||||
CONFIG_ESPTOOLPY_FLASHSIZE_8MB=y
|
|
||||||
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=
|
|
||||||
CONFIG_PARTITION_TABLE_CUSTOM=y
|
|
||||||
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-8MiB.csv"
|
|
||||||
|
|
||||||
CONFIG_LWIP_LOCAL_HOSTNAME="UMFeatherS3Neo"
|
CONFIG_LWIP_LOCAL_HOSTNAME="UMFeatherS3Neo"
|
||||||
|
|
||||||
|
|||||||
@@ -1,12 +1,7 @@
|
|||||||
CONFIG_ESPTOOLPY_FLASHMODE_QIO=y
|
CONFIG_ESPTOOLPY_FLASHMODE_QIO=y
|
||||||
CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
|
CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
|
||||||
|
|
||||||
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=
|
|
||||||
CONFIG_ESPTOOLPY_FLASHSIZE_8MB=y
|
|
||||||
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=
|
|
||||||
CONFIG_SPIRAM_MEMTEST=
|
CONFIG_SPIRAM_MEMTEST=
|
||||||
CONFIG_PARTITION_TABLE_CUSTOM=y
|
|
||||||
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-8MiB.csv"
|
|
||||||
|
|
||||||
CONFIG_LWIP_LOCAL_HOSTNAME="UMNanoS3"
|
CONFIG_LWIP_LOCAL_HOSTNAME="UMNanoS3"
|
||||||
|
|
||||||
|
|||||||
@@ -2,12 +2,7 @@ CONFIG_ESPTOOLPY_FLASHMODE_QIO=y
|
|||||||
CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
|
CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
|
||||||
CONFIG_ESPTOOLPY_AFTER_NORESET=y
|
CONFIG_ESPTOOLPY_AFTER_NORESET=y
|
||||||
|
|
||||||
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=
|
|
||||||
CONFIG_ESPTOOLPY_FLASHSIZE_8MB=y
|
|
||||||
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=
|
|
||||||
CONFIG_SPIRAM_MEMTEST=
|
CONFIG_SPIRAM_MEMTEST=
|
||||||
CONFIG_PARTITION_TABLE_CUSTOM=y
|
|
||||||
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-8MiB.csv"
|
|
||||||
|
|
||||||
CONFIG_LWIP_LOCAL_HOSTNAME="UMOMGS3"
|
CONFIG_LWIP_LOCAL_HOSTNAME="UMOMGS3"
|
||||||
|
|
||||||
|
|||||||
@@ -1,12 +1,7 @@
|
|||||||
CONFIG_ESPTOOLPY_FLASHMODE_QIO=y
|
CONFIG_ESPTOOLPY_FLASHMODE_QIO=y
|
||||||
CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
|
CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
|
||||||
|
|
||||||
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=
|
|
||||||
CONFIG_ESPTOOLPY_FLASHSIZE_8MB=
|
|
||||||
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y
|
|
||||||
CONFIG_SPIRAM_MEMTEST=
|
CONFIG_SPIRAM_MEMTEST=
|
||||||
CONFIG_PARTITION_TABLE_CUSTOM=y
|
|
||||||
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-16MiB.csv"
|
|
||||||
|
|
||||||
CONFIG_LWIP_LOCAL_HOSTNAME="UMProS3"
|
CONFIG_LWIP_LOCAL_HOSTNAME="UMProS3"
|
||||||
|
|
||||||
|
|||||||
@@ -2,12 +2,7 @@ CONFIG_ESPTOOLPY_FLASHMODE_QIO=y
|
|||||||
CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
|
CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
|
||||||
CONFIG_ESPTOOLPY_AFTER_NORESET=y
|
CONFIG_ESPTOOLPY_AFTER_NORESET=y
|
||||||
|
|
||||||
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=
|
|
||||||
CONFIG_ESPTOOLPY_FLASHSIZE_8MB=y
|
|
||||||
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=
|
|
||||||
CONFIG_SPIRAM_MEMTEST=
|
CONFIG_SPIRAM_MEMTEST=
|
||||||
CONFIG_PARTITION_TABLE_CUSTOM=y
|
|
||||||
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-8MiB.csv"
|
|
||||||
|
|
||||||
CONFIG_LWIP_LOCAL_HOSTNAME="UMRGBTouchMini"
|
CONFIG_LWIP_LOCAL_HOSTNAME="UMRGBTouchMini"
|
||||||
|
|
||||||
|
|||||||
@@ -2,9 +2,4 @@ CONFIG_ESPTOOLPY_FLASHMODE_QIO=y
|
|||||||
CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
|
CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
|
||||||
CONFIG_ESPTOOLPY_AFTER_NORESET=y
|
CONFIG_ESPTOOLPY_AFTER_NORESET=y
|
||||||
|
|
||||||
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=
|
|
||||||
CONFIG_ESPTOOLPY_FLASHSIZE_8MB=y
|
|
||||||
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=
|
|
||||||
CONFIG_SPIRAM_MEMTEST=
|
CONFIG_SPIRAM_MEMTEST=
|
||||||
CONFIG_PARTITION_TABLE_CUSTOM=y
|
|
||||||
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-8MiB.csv"
|
|
||||||
|
|||||||
@@ -1,12 +1,7 @@
|
|||||||
CONFIG_ESPTOOLPY_FLASHMODE_QIO=y
|
CONFIG_ESPTOOLPY_FLASHMODE_QIO=y
|
||||||
CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
|
CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
|
||||||
|
|
||||||
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=
|
|
||||||
CONFIG_ESPTOOLPY_FLASHSIZE_8MB=y
|
|
||||||
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=
|
|
||||||
CONFIG_SPIRAM_MEMTEST=
|
CONFIG_SPIRAM_MEMTEST=
|
||||||
CONFIG_PARTITION_TABLE_CUSTOM=y
|
|
||||||
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-8MiB.csv"
|
|
||||||
|
|
||||||
CONFIG_LWIP_LOCAL_HOSTNAME="UMTinyS3"
|
CONFIG_LWIP_LOCAL_HOSTNAME="UMTinyS3"
|
||||||
|
|
||||||
|
|||||||
@@ -1,12 +1,7 @@
|
|||||||
CONFIG_ESPTOOLPY_FLASHMODE_QIO=y
|
CONFIG_ESPTOOLPY_FLASHMODE_QIO=y
|
||||||
CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
|
CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
|
||||||
|
|
||||||
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=
|
|
||||||
CONFIG_ESPTOOLPY_FLASHSIZE_8MB=y
|
|
||||||
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=
|
|
||||||
CONFIG_SPIRAM_MEMTEST=
|
CONFIG_SPIRAM_MEMTEST=
|
||||||
CONFIG_PARTITION_TABLE_CUSTOM=y
|
|
||||||
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-8MiB.csv"
|
|
||||||
|
|
||||||
CONFIG_LWIP_LOCAL_HOSTNAME="UMTinyWATCHS3"
|
CONFIG_LWIP_LOCAL_HOSTNAME="UMTinyWATCHS3"
|
||||||
|
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ CONFIG_ULP_COPROC_RESERVE_MEM=2040
|
|||||||
# For cmake build
|
# For cmake build
|
||||||
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
|
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
|
||||||
CONFIG_PARTITION_TABLE_CUSTOM=y
|
CONFIG_PARTITION_TABLE_CUSTOM=y
|
||||||
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-4MiB.csv"
|
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-4MiBplus.csv"
|
||||||
|
|
||||||
# To reduce iRAM usage
|
# To reduce iRAM usage
|
||||||
CONFIG_ESP32_WIFI_IRAM_OPT=n
|
CONFIG_ESP32_WIFI_IRAM_OPT=n
|
||||||
|
|||||||
@@ -1,10 +0,0 @@
|
|||||||
# Partition table for MicroPython with OTA support using 16MB flash
|
|
||||||
# Notes: the offset of the partition table itself is set in
|
|
||||||
# $IDF_PATH/components/partition_table/Kconfig.projbuild.
|
|
||||||
# Name, Type, SubType, Offset, Size, Flags
|
|
||||||
nvs, data, nvs, 0x9000, 0x4000,
|
|
||||||
otadata, data, ota, 0xd000, 0x2000,
|
|
||||||
phy_init, data, phy, 0xf000, 0x1000,
|
|
||||||
ota_0, app, ota_0, 0x10000, 0x270000,
|
|
||||||
ota_1, app, ota_1, 0x280000, 0x270000,
|
|
||||||
vfs, data, fat, 0x4f0000, 0xb10000,
|
|
||||||
|
@@ -1,7 +0,0 @@
|
|||||||
# Notes: the offset of the partition table itself is set in
|
|
||||||
# $IDF_PATH/components/partition_table/Kconfig.projbuild.
|
|
||||||
# Name, Type, SubType, Offset, Size, Flags
|
|
||||||
nvs, data, nvs, 0x9000, 0x6000,
|
|
||||||
phy_init, data, phy, 0xf000, 0x1000,
|
|
||||||
factory, app, factory, 0x10000, 0x1F0000,
|
|
||||||
vfs, data, fat, 0x200000, 0xE00000,
|
|
||||||
|
@@ -4,4 +4,3 @@
|
|||||||
nvs, data, nvs, 0x9000, 0x6000,
|
nvs, data, nvs, 0x9000, 0x6000,
|
||||||
phy_init, data, phy, 0xf000, 0x1000,
|
phy_init, data, phy, 0xf000, 0x1000,
|
||||||
factory, app, factory, 0x10000, 0x160000,
|
factory, app, factory, 0x10000, 0x160000,
|
||||||
vfs, data, fat, 0x170000, 0x50000,
|
|
||||||
|
|||||||
|
@@ -1,7 +0,0 @@
|
|||||||
# Notes: the offset of the partition table itself is set in
|
|
||||||
# $IDF_PATH/components/partition_table/Kconfig.projbuild.
|
|
||||||
# Name, Type, SubType, Offset, Size, Flags
|
|
||||||
nvs, data, nvs, 0x9000, 0x6000,
|
|
||||||
phy_init, data, phy, 0xf000, 0x1000,
|
|
||||||
factory, app, factory, 0x10000, 0x1F0000,
|
|
||||||
vfs, data, fat, 0x200000, 0x1E00000,
|
|
||||||
|
@@ -7,4 +7,3 @@ otadata, data, ota, 0xd000, 0x2000,
|
|||||||
phy_init, data, phy, 0xf000, 0x1000,
|
phy_init, data, phy, 0xf000, 0x1000,
|
||||||
ota_0, app, ota_0, 0x10000, 0x180000,
|
ota_0, app, ota_0, 0x10000, 0x180000,
|
||||||
ota_1, app, ota_1, 0x190000, 0x180000,
|
ota_1, app, ota_1, 0x190000, 0x180000,
|
||||||
vfs, data, fat, 0x310000, 0x0f0000,
|
|
||||||
|
|||||||
|
@@ -5,4 +5,3 @@ nvs, data, nvs, 0x9000, 0x6000,
|
|||||||
phy_init, data, phy, 0xf000, 0x1000,
|
phy_init, data, phy, 0xf000, 0x1000,
|
||||||
factory, app, factory, 0x10000, 0x1D0000,
|
factory, app, factory, 0x10000, 0x1D0000,
|
||||||
romfs, data, 0x8f, 0x1E0000, 0x20000,
|
romfs, data, 0x8f, 0x1E0000, 0x20000,
|
||||||
vfs, data, fat, 0x200000, 0x200000,
|
|
||||||
|
|||||||
|
@@ -1,7 +1,10 @@
|
|||||||
|
# This partition table is for devices with 4MiB or more of flash.
|
||||||
|
# The first 2MiB is used for bootloader, nvs, phy_init and firmware.
|
||||||
|
# The remaining flash is for the user filesystem(s).
|
||||||
|
|
||||||
# Notes: the offset of the partition table itself is set in
|
# Notes: the offset of the partition table itself is set in
|
||||||
# $IDF_PATH/components/partition_table/Kconfig.projbuild.
|
# $IDF_PATH/components/partition_table/Kconfig.projbuild.
|
||||||
# Name, Type, SubType, Offset, Size, Flags
|
# Name, Type, SubType, Offset, Size, Flags
|
||||||
nvs, data, nvs, 0x9000, 0x6000,
|
nvs, data, nvs, 0x9000, 0x6000,
|
||||||
phy_init, data, phy, 0xf000, 0x1000,
|
phy_init, data, phy, 0xf000, 0x1000,
|
||||||
factory, app, factory, 0x10000, 0x1F0000,
|
factory, app, factory, 0x10000, 0x1F0000,
|
||||||
vfs, data, fat, 0x200000, 0x200000,
|
|
||||||
|
@@ -1,7 +0,0 @@
|
|||||||
# Notes: the offset of the partition table itself is set in
|
|
||||||
# $IDF_PATH/components/partition_table/Kconfig.projbuild.
|
|
||||||
# Name, Type, SubType, Offset, Size, Flags
|
|
||||||
nvs, data, nvs, 0x9000, 0x6000,
|
|
||||||
phy_init, data, phy, 0xf000, 0x1000,
|
|
||||||
factory, app, factory, 0x10000, 0x1F0000,
|
|
||||||
vfs, data, fat, 0x200000, 0x600000,
|
|
||||||
|
@@ -1,4 +1,7 @@
|
|||||||
# Partition table for MicroPython with OTA support using 32MB flash
|
# This partition table is for devices with 8MiB or more of flash and OTA support.
|
||||||
|
# The first 5056kiB is used for bootloader, nvs, phy_init and firmware.
|
||||||
|
# The remaining flash is for the user filesystem(s).
|
||||||
|
|
||||||
# Notes: the offset of the partition table itself is set in
|
# Notes: the offset of the partition table itself is set in
|
||||||
# $IDF_PATH/components/partition_table/Kconfig.projbuild.
|
# $IDF_PATH/components/partition_table/Kconfig.projbuild.
|
||||||
# Name, Type, SubType, Offset, Size, Flags
|
# Name, Type, SubType, Offset, Size, Flags
|
||||||
@@ -7,4 +10,3 @@ otadata, data, ota, 0xd000, 0x2000,
|
|||||||
phy_init, data, phy, 0xf000, 0x1000,
|
phy_init, data, phy, 0xf000, 0x1000,
|
||||||
ota_0, app, ota_0, 0x10000, 0x270000,
|
ota_0, app, ota_0, 0x10000, 0x270000,
|
||||||
ota_1, app, ota_1, 0x280000, 0x270000,
|
ota_1, app, ota_1, 0x280000, 0x270000,
|
||||||
vfs, data, fat, 0x4f0000, 0x1B10000,
|
|
||||||
|
Reference in New Issue
Block a user