Kconfig.projbuild 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. menu "Application manager"
  2. config APP_COMPILE_TIME_DATE
  3. bool "Use time/date stamp for app"
  4. default y
  5. depends on !APP_REPRODUCIBLE_BUILD
  6. help
  7. If set, then the app will be built with the current time/date stamp. It is stored in the app description
  8. structure. If not set, time/date stamp will be excluded from app image. This can be useful for getting the
  9. same binary image files made from the same source, but at different times.
  10. config APP_EXCLUDE_PROJECT_VER_VAR
  11. bool "Exclude PROJECT_VER from firmware image"
  12. default n
  13. help
  14. The PROJECT_VER variable from the build system will not affect the firmware image.
  15. This value will not be contained in the esp_app_desc structure.
  16. config APP_EXCLUDE_PROJECT_NAME_VAR
  17. bool "Exclude PROJECT_NAME from firmware image"
  18. default n
  19. help
  20. The PROJECT_NAME variable from the build system will not affect the firmware image.
  21. This value will not be contained in the esp_app_desc structure.
  22. config APP_PROJECT_VER_FROM_CONFIG
  23. bool "Get the project version from Kconfig"
  24. default n
  25. help
  26. If this is enabled, then config item APP_PROJECT_VER will be used for the variable PROJECT_VER.
  27. Other ways to set PROJECT_VER will be ignored.
  28. config APP_PROJECT_VER
  29. string "Project version"
  30. default "1"
  31. depends on APP_PROJECT_VER_FROM_CONFIG
  32. help
  33. Project version
  34. config APP_RETRIEVE_LEN_ELF_SHA
  35. int "The length of APP ELF SHA is stored in RAM(chars)"
  36. default 9
  37. range 8 64
  38. help
  39. At startup, the app will read the embedded APP ELF SHA-256 hash value from flash
  40. and convert it into a string and store it in a RAM buffer.
  41. This ensures the panic handler and core dump will be able to print this string
  42. even when cache is disabled.
  43. The size of the buffer is APP_RETRIEVE_LEN_ELF_SHA plus the null terminator.
  44. Changing this value will change the size of this buffer, in bytes.
  45. endmenu # "Application manager"