mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-06-01 08:09:49 +08:00

"$(PROJECT_NAME).app1.bin", "$(PROJECT_NAME).app2.bin" and "$(PROJECT_NAME).ota.bin" at "build" directory. Only upload "$(PROJECT_NAME).ota.bin" to the server. Select the target flash and input "make ota flash" or "make ota flash monitor". Update the OTA README.md for 1 MB flash.
75 lines
2.9 KiB
Plaintext
75 lines
2.9 KiB
Plaintext
menu "Partition Table"
|
|
|
|
choice PARTITION_TABLE_TYPE
|
|
prompt "Partition Table"
|
|
default PARTITION_TABLE_SINGLE_APP
|
|
help
|
|
The partition table to flash to the ESP32. The partition table
|
|
determines where apps, data and other resources are expected to
|
|
be found.
|
|
|
|
The predefined partition table CSV descriptions can be found
|
|
in the components/partition_table directory. Otherwise it's
|
|
possible to create a new custom partition CSV for your application.
|
|
|
|
config PARTITION_TABLE_SINGLE_APP
|
|
bool "Single factory app, no OTA"
|
|
config PARTITION_TABLE_TWO_OTA
|
|
bool "Factory app, two OTA definitions"
|
|
config PARTITION_TABLE_CUSTOM
|
|
bool "Custom partition table CSV"
|
|
endchoice
|
|
|
|
config PARTITION_TABLE_CUSTOM_FILENAME
|
|
string "Custom partition CSV file" if PARTITION_TABLE_CUSTOM
|
|
default partitions.csv
|
|
help
|
|
Name of the custom partition CSV filename. This path is evaluated
|
|
relative to the project root directory.
|
|
|
|
config PARTITION_TABLE_CUSTOM_APP_BIN_OFFSET
|
|
hex "Factory app partition offset" if PARTITION_TABLE_CUSTOM
|
|
default 0x10000
|
|
help
|
|
If using a custom partition table, specify the offset in the flash
|
|
where 'make flash' should write the built app.
|
|
|
|
config PARTITION_TABLE_OFFSET
|
|
hex "Partition table offset address at flash"
|
|
default 0x8000
|
|
help
|
|
The partition table cannot be placed at application address.
|
|
|
|
config PARTITION_TABLE_CUSTOM_PHY_DATA_OFFSET
|
|
hex "PHY data partition offset" if PARTITION_TABLE_CUSTOM
|
|
depends on ESP_PHY_INIT_DATA_IN_PARTITION
|
|
default 0xf000
|
|
help
|
|
If using a custom partition table, specify the offset in the flash
|
|
where 'make flash' should write the initial PHY data file.
|
|
|
|
|
|
config PARTITION_TABLE_FILENAME
|
|
string
|
|
default partitions_singleapp.csv if PARTITION_TABLE_SINGLE_APP && !ESP32_ENABLE_COREDUMP_TO_FLASH
|
|
default partitions_singleapp_coredump.csv if PARTITION_TABLE_SINGLE_APP && ESP32_ENABLE_COREDUMP_TO_FLASH
|
|
default partitions_two_ota.csv if PARTITION_TABLE_TWO_OTA && !ESP32_ENABLE_COREDUMP_TO_FLASH && !ESPTOOLPY_FLASHSIZE_1MB
|
|
default partitions_two_ota.1MB.csv if PARTITION_TABLE_TWO_OTA && !ESP32_ENABLE_COREDUMP_TO_FLASH && ESPTOOLPY_FLASHSIZE_1MB
|
|
default partitions_two_ota_coredump.csv if PARTITION_TABLE_TWO_OTA && ESP32_ENABLE_COREDUMP_TO_FLASH
|
|
default PARTITION_TABLE_CUSTOM_FILENAME if PARTITION_TABLE_CUSTOM
|
|
|
|
config APP_OFFSET
|
|
hex
|
|
default PARTITION_TABLE_CUSTOM_APP_BIN_OFFSET if PARTITION_TABLE_CUSTOM
|
|
default 0x10000 # this is the factory app offset used by the default tables
|
|
|
|
config PHY_DATA_OFFSET
|
|
depends on ESP_PHY_INIT_DATA_IN_PARTITION
|
|
hex
|
|
default PARTITION_TABLE_CUSTOM_PHY_DATA_OFFSET if PARTITION_TABLE_CUSTOM
|
|
default 0xf000 # this is the factory app offset used by the default tables
|
|
|
|
endmenu
|
|
|
|
|