]> granicus.if.org Git - esp-idf/blob - components/partition_table/Kconfig.projbuild
esp32: Allow SPIRAM_MALLOC_RESERVE_INTERNAL to span multiple regions of memory
[esp-idf] / components / partition_table / Kconfig.projbuild
1 menu "Partition Table"
2
3 choice PARTITION_TABLE_TYPE
4     prompt "Partition Table"
5     default PARTITION_TABLE_SINGLE_APP
6     help
7         The partition table to flash to the ESP32. The partition table
8         determines where apps, data and other resources are expected to
9         be found.
10
11         The predefined partition table CSV descriptions can be found
12         in the components/partition_table directory. Otherwise it's
13         possible to create a new custom partition CSV for your application.
14
15 config PARTITION_TABLE_SINGLE_APP
16     bool "Single factory app, no OTA"
17 config PARTITION_TABLE_TWO_OTA
18     bool "Factory app, two OTA definitions"
19 config PARTITION_TABLE_CUSTOM
20     bool "Custom partition table CSV"
21 endchoice
22
23 config PARTITION_TABLE_CUSTOM_FILENAME
24     string "Custom partition CSV file" if PARTITION_TABLE_CUSTOM
25     default partitions.csv
26     help
27         Name of the custom partition CSV filename. This path is evaluated
28         relative to the project root directory.
29
30 config PARTITION_TABLE_FILENAME
31        string
32        default partitions_singleapp.csv if PARTITION_TABLE_SINGLE_APP && !ESP32_ENABLE_COREDUMP_TO_FLASH
33        default partitions_singleapp_coredump.csv if PARTITION_TABLE_SINGLE_APP && ESP32_ENABLE_COREDUMP_TO_FLASH
34        default partitions_two_ota.csv if PARTITION_TABLE_TWO_OTA && !ESP32_ENABLE_COREDUMP_TO_FLASH
35        default partitions_two_ota_coredump.csv if PARTITION_TABLE_TWO_OTA && ESP32_ENABLE_COREDUMP_TO_FLASH
36        default PARTITION_TABLE_CUSTOM_FILENAME if PARTITION_TABLE_CUSTOM
37
38 config PARTITION_TABLE_OFFSET
39     hex "Offset of partition table"
40     default 0x8000
41     help
42         The address of partition table (by default 0x8000).
43         Allows you to move the partition table, it gives more space for the bootloader.
44         Note that the bootloader and app will both need to be compiled with the same PARTITION_TABLE_OFFSET value.
45
46         This number should be a multiple of 0x1000.
47
48         Note that partition offsets in the partition table CSV file may need to be changed if this value is set to a higher value.
49
50 config PARTITION_TABLE_MD5
51     bool "Generate an MD5 checksum for the partition table"
52     default y
53     help
54         Generate an MD5 checksum for the partition table for protecting the
55         integrity of the table. The generation should be turned off for legacy
56         bootloaders which cannot recognize the MD5 checksum in the partition
57         table.
58
59 endmenu
60
61