2018-10-05 08:29:07 -04:00
|
|
|
menu "Application manager"
|
|
|
|
|
2019-01-25 11:10:53 -05:00
|
|
|
config APP_COMPILE_TIME_DATE
|
|
|
|
bool "Use time/date stamp for app"
|
|
|
|
default y
|
2022-12-13 12:16:56 -05:00
|
|
|
depends on !APP_REPRODUCIBLE_BUILD
|
2019-01-25 11:10:53 -05:00
|
|
|
help
|
|
|
|
If set, then the app will be built with the current time/date stamp. It is stored in the app description
|
|
|
|
structure. If not set, time/date stamp will be excluded from app image. This can be useful for getting the
|
|
|
|
same binary image files made from the same source, but at different times.
|
2018-10-05 08:29:07 -04:00
|
|
|
|
2019-01-25 11:10:53 -05:00
|
|
|
config APP_EXCLUDE_PROJECT_VER_VAR
|
|
|
|
bool "Exclude PROJECT_VER from firmware image"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
The PROJECT_VER variable from the build system will not affect the firmware image.
|
|
|
|
This value will not be contained in the esp_app_desc structure.
|
2018-12-13 02:45:27 -05:00
|
|
|
|
2019-01-25 11:10:53 -05:00
|
|
|
config APP_EXCLUDE_PROJECT_NAME_VAR
|
|
|
|
bool "Exclude PROJECT_NAME from firmware image"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
The PROJECT_NAME variable from the build system will not affect the firmware image.
|
|
|
|
This value will not be contained in the esp_app_desc structure.
|
2018-12-13 02:45:27 -05:00
|
|
|
|
2019-11-27 06:01:40 -05:00
|
|
|
config APP_PROJECT_VER_FROM_CONFIG
|
|
|
|
bool "Get the project version from Kconfig"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
If this is enabled, then config item APP_PROJECT_VER will be used for the variable PROJECT_VER.
|
|
|
|
Other ways to set PROJECT_VER will be ignored.
|
|
|
|
|
|
|
|
config APP_PROJECT_VER
|
|
|
|
string "Project version"
|
|
|
|
default "1"
|
|
|
|
depends on APP_PROJECT_VER_FROM_CONFIG
|
|
|
|
help
|
|
|
|
Project version
|
|
|
|
|
2020-02-07 05:57:55 -05:00
|
|
|
config APP_RETRIEVE_LEN_ELF_SHA
|
|
|
|
int "The length of APP ELF SHA is stored in RAM(chars)"
|
2023-05-04 05:14:46 -04:00
|
|
|
default 9
|
2020-02-07 05:57:55 -05:00
|
|
|
range 8 64
|
|
|
|
help
|
2023-05-04 05:14:46 -04:00
|
|
|
At startup, the app will read the embedded APP ELF SHA-256 hash value from flash
|
|
|
|
and convert it into a string and store it in a RAM buffer.
|
|
|
|
This ensures the panic handler and core dump will be able to print this string
|
|
|
|
even when cache is disabled.
|
|
|
|
The size of the buffer is APP_RETRIEVE_LEN_ELF_SHA plus the null terminator.
|
|
|
|
Changing this value will change the size of this buffer, in bytes.
|
2020-02-07 05:57:55 -05:00
|
|
|
|
2019-01-25 11:10:53 -05:00
|
|
|
endmenu # "Application manager"
|