2016-08-17 11:08:22 -04:00
|
|
|
menu "Partition Table"
|
|
|
|
|
|
|
|
choice
|
2016-11-15 20:22:32 -05:00
|
|
|
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.
|
2016-08-17 11:08:22 -04:00
|
|
|
|
2016-11-15 20:22:32 -05:00
|
|
|
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.
|
2016-08-17 11:08:22 -04:00
|
|
|
|
|
|
|
config PARTITION_TABLE_SINGLE_APP
|
2016-11-15 20:22:32 -05:00
|
|
|
bool "Single factory app, no OTA"
|
2016-08-17 11:08:22 -04:00
|
|
|
config PARTITION_TABLE_TWO_OTA
|
2016-11-15 20:22:32 -05:00
|
|
|
bool "Factory app, two OTA definitions"
|
2016-08-17 11:08:22 -04:00
|
|
|
config PARTITION_TABLE_CUSTOM
|
2016-11-15 20:22:32 -05:00
|
|
|
bool "Custom partition table CSV"
|
2016-08-17 11:08:22 -04:00
|
|
|
endchoice
|
|
|
|
|
|
|
|
config PARTITION_TABLE_CUSTOM_FILENAME
|
2016-11-15 20:22:32 -05:00
|
|
|
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.
|
2016-08-17 11:08:22 -04:00
|
|
|
|
|
|
|
config PARTITION_TABLE_CUSTOM_APP_BIN_OFFSET
|
2016-11-15 20:22:32 -05:00
|
|
|
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_CUSTOM_PHY_DATA_OFFSET
|
|
|
|
hex "PHY data partition offset" if PARTITION_TABLE_CUSTOM
|
|
|
|
depends on ESP32_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.
|
|
|
|
|
2016-08-17 11:08:22 -04:00
|
|
|
|
|
|
|
config PARTITION_TABLE_FILENAME
|
2016-11-15 20:22:32 -05:00
|
|
|
string
|
|
|
|
default partitions_singleapp.csv if PARTITION_TABLE_SINGLE_APP
|
|
|
|
default partitions_two_ota.csv if PARTITION_TABLE_TWO_OTA
|
|
|
|
default PARTITION_TABLE_CUSTOM_FILENAME if PARTITION_TABLE_CUSTOM
|
2016-08-17 11:08:22 -04:00
|
|
|
|
|
|
|
config APP_OFFSET
|
2016-11-15 20:22:32 -05:00
|
|
|
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
|
|
|
|
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
|
2016-08-17 11:08:22 -04:00
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
|