Kconfig.projbuild 2.0 KB

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