ESP-IDF
esp_image_metadata_t::image_len
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (3/5)...
Files
loading (3/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
esp_image_metadata_t::image_len
esp_image_metadata_t::image_len field
Syntax
Show:
Summary
Declaration
from
esp_image_format.h:34
uint32_t
image_len
;
Examples
References
from
examples
Code
Location
Referrer
uint32_t
image_len
;
/* Length of image on flash, in bytes */
esp_image_format.h:34
esp_err_t
error
=
bootloader_sha256_flash_contents
(
address
,
data
.
image_len
-
ESP_PARTITION_HASH_LEN
,
calc_sha256
)
;
bootloader_common.c:162
bootloader_common_get_sha256_of_partition()
size
=
data
.
image_len
;
bootloader_common.c:169
bootloader_common_get_sha256_of_partition()
data
->
image_len
=
sizeof
(
esp_image_header_t
)
;
esp_image_format.c:508
process_image_header()
uint32_t
start_segments
=
data
->
start_addr
+
data
->
image_len
;
esp_image_format.c:517
process_segments()
data
->
image_len
+=
end_addr
-
start_segments
;
esp_image_format.c:533
process_segments()
*
length
=
(
err
==
ESP_OK
)
?
data
.
image_len
:
0
;
esp_image_format.c:866
esp_image_verify_bootloader()
CHECK_ERR
(
bootloader_flash_read
(
data
->
start_addr
+
data
->
image_len
,
&
data
->
image_digest
,
HASH_LEN
,
true
)
)
;
esp_image_format.c:891
process_appended_hash_and_sig()
data
->
image_len
+=
HASH_LEN
;
esp_image_format.c:893
process_appended_hash_and_sig()
const
uint32_t
end
=
data
->
image_len
;
esp_image_format.c:897
process_appended_hash_and_sig()
uint32_t
unpadded_length
=
data
->
image_len
;
esp_image_format.c:937
process_checksum()
data
->
image_len
+=
length
;
esp_image_format.c:955
process_checksum()
uint32_t
start_segments
=
data
->
start_addr
+
data
->
image_len
;
image_process.c:187
process_segments()
data
->
image_len
+=
end_addr
-
start_segments
;
image_process.c:206
process_segments()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
esp_image_metadata_t::image_len
is written by 5 functions and is read by 6 functions:
process_image_header()
process_segments()
process_appended_hash_and_sig()
process_checksum()
process_segments()
All items filtered out
esp_image_metadata_t::image_len
bootloader_common_get_sha256_of_partition()
process_segments()
esp_image_verify_bootloader()
process_appended_hash_and_sig()
process_checksum()
process_segments()
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