ESP-IDF
esp_ota_select_entry_t::crc
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_ota_select_entry_t::crc
esp_ota_select_entry_t::crc field
Syntax
Show:
Summary
Declaration
from
esp_flash_partitions.h:77
uint32_t
crc
;
Examples
References
from
examples
Code
Location
Referrer
uint32_t
crc
;
/* CRC32 of ota_seq field only */
esp_flash_partitions.h:77
return
bootloader_common_ota_select_invalid
(
s
)
==
false
&&
s
->
crc
==
bootloader_common_ota_select_crc
(
s
)
;
bootloader_common_loader.c:46
bootloader_common_ota_select_valid()
if
(
(
otadata
[
0
]
.
ota_seq
==
UINT32_MAX
||
otadata
[
0
]
.
crc
!=
bootloader_common_ota_select_crc
(
&
otadata
[
0
]
)
)
&&
bootloader_utility.c:383
bootloader_utility_get_selected_boot_partition()
(
otadata
[
1
]
.
ota_seq
==
UINT32_MAX
||
otadata
[
1
]
.
crc
!=
bootloader_common_ota_select_crc
(
&
otadata
[
1
]
)
)
)
{
bootloader_utility.c:384
bootloader_utility_get_selected_boot_partition()
otadata
.
crc
=
bootloader_common_ota_select_crc
(
&
otadata
)
;
bootloader_utility.c:462
set_actual_ota_seq()
two_otadata
[
sec_id
]
.
crc
=
bootloader_common_ota_select_crc
(
&
two_otadata
[
sec_id
]
)
;
esp_ota_ops.c:371
rewrite_ota_seq()
s
->
crc
==
bootloader_common_ota_select_crc
(
s
)
&&
esp_ota_ops.c:795
check_invalid_otadata()
if
(
ota_slot
==
req_ota_slot
&&
otadata
[
i
]
.
crc
==
bootloader_common_ota_select_crc
(
&
otadata
[
i
]
)
)
{
esp_ota_ops.c:857
esp_ota_get_state_partition()
if
(
otadata
[
inactive_otadata
]
.
ota_seq
==
UINT32_MAX
||
otadata
[
inactive_otadata
]
.
crc
!=
bootloader_common_ota_select_crc
(
&
otadata
[
inactive_otadata
]
)
)
{
esp_ota_ops.c:886
esp_ota_erase_last_boot_app_partition()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
esp_ota_select_entry_t::crc
is written by 2 functions and is read by 5 functions:
rewrite_ota_seq()
set_actual_ota_seq()
All items filtered out
esp_ota_select_entry_t::crc
check_invalid_otadata()
esp_ota_get_state_partition()
esp_ota_erase_last_boot_app_partition()
bootloader_common_ota_select_valid()
bootloader_utility_get_selected_boot_partition()
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