Kconfig.projbuild 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. menu "Partition Table"
  2. choice
  3. prompt "Partition Table"
  4. default PARTITION_TABLE_SINGLE_APP
  5. help
  6. The partition table to flash to the ESP32. The partition table
  7. determines where apps, data and other resources are expected to
  8. be found.
  9. The predefined partition table CSV descriptions can be found
  10. in the components/partition_table directory. Otherwise it's
  11. possible to create a new custom partition CSV for your application.
  12. config PARTITION_TABLE_SINGLE_APP
  13. bool "Single factory app, no OTA"
  14. config PARTITION_TABLE_TWO_OTA
  15. bool "Factory app, two OTA definitions"
  16. config PARTITION_TABLE_CUSTOM
  17. bool "Custom partition table CSV"
  18. endchoice
  19. config PARTITION_TABLE_CUSTOM_FILENAME
  20. string "Custom partition CSV file" if PARTITION_TABLE_CUSTOM
  21. default partitions.csv
  22. help
  23. Name of the custom partition CSV filename. This path is evaluated
  24. relative to the project root directory.
  25. config PARTITION_TABLE_CUSTOM_APP_BIN_OFFSET
  26. hex "Factory app partition offset" if PARTITION_TABLE_CUSTOM
  27. default 0x10000
  28. help
  29. If using a custom partition table, specify the offset in the flash
  30. where 'make flash' should write the built app.
  31. config PARTITION_TABLE_CUSTOM_PHY_DATA_OFFSET
  32. hex "PHY data partition offset" if PARTITION_TABLE_CUSTOM
  33. depends on ESP32_PHY_INIT_DATA_IN_PARTITION
  34. default 0xf000
  35. help
  36. If using a custom partition table, specify the offset in the flash
  37. where 'make flash' should write the initial PHY data file.
  38. config PARTITION_TABLE_FILENAME
  39. string
  40. default partitions_singleapp.csv if PARTITION_TABLE_SINGLE_APP && !ESP32_ENABLE_COREDUMP_TO_FLASH
  41. default partitions_singleapp_coredump.csv if PARTITION_TABLE_SINGLE_APP && ESP32_ENABLE_COREDUMP_TO_FLASH
  42. default partitions_two_ota.csv if PARTITION_TABLE_TWO_OTA && !ESP32_ENABLE_COREDUMP_TO_FLASH
  43. default partitions_two_ota_coredump.csv if PARTITION_TABLE_TWO_OTA && ESP32_ENABLE_COREDUMP_TO_FLASH
  44. default PARTITION_TABLE_CUSTOM_FILENAME if PARTITION_TABLE_CUSTOM
  45. config APP_OFFSET
  46. hex
  47. default PARTITION_TABLE_CUSTOM_APP_BIN_OFFSET if PARTITION_TABLE_CUSTOM
  48. default 0x10000 # this is the factory app offset used by the default tables
  49. config PHY_DATA_OFFSET
  50. hex
  51. default PARTITION_TABLE_CUSTOM_PHY_DATA_OFFSET if PARTITION_TABLE_CUSTOM
  52. default 0xf000 # this is the factory app offset used by the default tables
  53. endmenu