ESP-IDF
esp_app_desc
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
esp_app_desc
esp_app_desc variable
Syntax
Show:
Summary
Declaration
from
esp_app_desc.c:26
const
__attribute__
(
(
weak
)
)
__attribute__
(
(
section
(
".rodata_desc"
)
)
)
esp_app_desc_t
esp_app_desc
=
{
#endif
.
magic_word
=
ESP_APP_DESC_MAGIC_WORD
,
#ifdef
CONFIG_APP_EXCLUDE_PROJECT_VER_VAR
.
version
=
""
,
#else
.
version
=
PROJECT_VER
,
#endif
#ifdef
CONFIG_APP_EXCLUDE_PROJECT_NAME_VAR
.
project_name
=
""
,
#else
.
project_name
=
PROJECT_NAME
,
#endif
.
idf_ver
=
IDF_VER
,
#if
CONFIG_IDF_TARGET_LINUX
.
app_elf_sha256
=
{
0xDE
,
0xAD
,
0xBE
,
0xEF
,
0x47
,
0x01
,
0x02
,
0x03
,
0x04
,
0x05
,
0x06
,
0x07
,
0x08
,
0x09
,
0x0A
,
0x0B
,
0x0C
,
0x0D
,
0x0E
,
0x0F
,
0x10
,
0x11
,
0x12
,
0x13
,
0x14
,
0x15
,
0x16
,
0x17
,
0x18
,
0x19
,
0x1A
,
0x1B
}
,
#endif
#ifdef
CONFIG_BOOTLOADER_APP_SECURE_VERSION
.
secure_version
=
CONFIG_BOOTLOADER_APP_SECURE_VERSION
,
#else
.
secure_version
=
0
,
#endif
#ifdef
CONFIG_APP_COMPILE_TIME_DATE
.
time
=
__TIME__
,
.
date
=
__DATE__
,
#else
.
time
=
""
,
.
date
=
""
,
#endif
.
min_efuse_blk_rev_full
=
CONFIG_ESP_EFUSE_BLOCK_REV_MIN_FULL
,
.
max_efuse_blk_rev_full
=
CONFIG_ESP_EFUSE_BLOCK_REV_MAX_FULL
,
.
mmu_page_size
=
31
-
__builtin_clz
(
CONFIG_MMU_PAGE_SIZE
)
,
}
;
Examples
References
from
examples
Code
Location
Referrer
const
__attribute__
(
(
weak
)
)
__attribute__
(
(
section
(
".rodata_desc"
)
)
)
esp_app_desc_t
esp_app_desc
=
{
esp_app_desc.c:26
_Static_assert
(
sizeof
(
PROJECT_VER
)
<=
sizeof
(
esp_app_desc
.
version
)
,
"PROJECT_VER is longer than version field in structure"
)
;
esp_app_desc.c:66
_Static_assert
(
sizeof
(
IDF_VER
)
<=
sizeof
(
esp_app_desc
.
idf_ver
)
,
"IDF_VER is longer than idf_ver field in structure"
)
;
esp_app_desc.c:68
_Static_assert
(
sizeof
(
PROJECT_NAME
)
<=
sizeof
(
esp_app_desc
.
project_name
)
,
"PROJECT_NAME is longer than project_name field in structure"
)
;
esp_app_desc.c:70
return
&
esp_app_desc
;
esp_app_desc.c:75
esp_app_get_description()
const
volatile
char
*
src
=
(
const
volatile
char
*
)
esp_app_desc
.
app_elf_sha256
;
esp_app_desc.c:95
esp_app_format_init_elf_sha256()
ESP_EARLY_LOGI
(
TAG
,
"Project name: %s"
,
esp_app_desc
.
project_name
)
;
esp_app_desc.c:131
ESP_EARLY_LOGI
(
TAG
,
"App version: %s"
,
esp_app_desc
.
version
)
;
esp_app_desc.c:134
ESP_EARLY_LOGI
(
TAG
,
"Compile time: %s %s"
,
esp_app_desc
.
date
,
esp_app_desc
.
time
)
;
esp_app_desc.c:140
ESP_EARLY_LOGI
(
TAG
,
"ESP-IDF: %s"
,
esp_app_desc
.
idf_ver
)
;
esp_app_desc.c:145
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
esp_app_desc
is read by 1 function:
All items filtered out
esp_app_desc
esp_app_format_init_elf_sha256()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out