ESP-IDF
esp_ota_get_app_partition_count()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (4/5)...
Files
loading (4/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_ota_get_app_partition_count()
esp_ota_get_app_partition_count() function
Returns number of ota partitions provided in partition table.
Syntax
Show:
Summary
Declaration
Definition
from
esp_ota_ops.h:280
uint8_t
esp_ota_get_app_partition_count
(
void
)
;
Implemented in
esp_ota_ops.c:380
Return value
- Number of OTA partitions
Examples
References
from
examples
Code
Location
Referrer
uint8_t
esp_ota_get_app_partition_count
(
void
)
esp_ota_ops.c:380
uint8_t
esp_ota_get_app_partition_count
(
void
)
;
esp_ota_ops.h:280
uint8_t
ota_app_count
=
esp_ota_get_app_partition_count
(
)
;
esp_ota_ops.c:398
esp_rewrite_ota_data()
int
ota_app_count
=
esp_ota_get_app_partition_count
(
)
;
esp_ota_ops.c:516
esp_ota_get_boot_partition()
int
ota_app_count
=
esp_ota_get_app_partition_count
(
)
;
esp_ota_ops.c:693
esp_ota_check_rollback_is_possible()
if
(
active_otadata
!=
-
1
&&
esp_ota_get_app_partition_count
(
)
!=
0
)
{
esp_ota_ops.c:751
esp_ota_current_ota_is_workable()
int
ota_app_count
=
esp_ota_get_app_partition_count
(
)
;
esp_ota_ops.c:820
esp_ota_get_last_invalid_partition()
int
ota_app_count
=
esp_ota_get_app_partition_count
(
)
;
esp_ota_ops.c:848
esp_ota_get_state_partition()
int
ota_app_count
=
esp_ota_get_app_partition_count
(
)
;
esp_ota_ops.c:880
esp_ota_erase_last_boot_app_partition()
Call Tree
from
examples
esp_ota_get_app_partition_count()
is called by 7 functions and calls 2 functions:
esp_rewrite_ota_data()
esp_ota_get_boot_partition()
esp_ota_check_rollback_is_possible()
esp_ota_current_ota_is_workable()
esp_ota_get_last_invalid_partition()
esp_ota_get_state_partition()
esp_ota_erase_last_boot_app_partition()
All items filtered out
esp_ota_get_app_partition_count()
__assert_func()
esp_partition_find_first()
All items filtered out
Data Use
from
examples
esp_ota_get_app_partition_count()
reads 2 variables:
esp_partition_type_t::ESP_PARTITION_TYPE_APP
esp_partition_subtype_t::ESP_PARTITION_SUBTYPE_APP_OTA_MIN
All items filtered out
esp_ota_get_app_partition_count()
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