ESP-IDF
NVS_CONST_ENTRY_SIZE
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
NVS_CONST_ENTRY_SIZE
NVS_CONST_ENTRY_SIZE macro
Syntax
Show:
Summary
Declaration
from
nvs_constants.h:23
#define
NVS_CONST_ENTRY_SIZE
32
Examples
References
from
examples
Code
Location
#define
NVS_CONST_ENTRY_SIZE
32
nvs_constants.h:23
ESP_STATIC_ASSERT
(
sizeof
(
nvs_bootloader_page_header_t
)
==
NVS_CONST_ENTRY_SIZE
,
"nvs_bootloader_page_header_t size is not 32 bytes"
)
;
nvs_bootloader.c:21
ESP_STATIC_ASSERT
(
sizeof
(
nvs_bootloader_page_entry_states_t
)
==
NVS_CONST_ENTRY_SIZE
,
"nvs_bootloader_page_entry_states_t size is not 32 bytes"
)
;
nvs_bootloader.c:22
ESP_STATIC_ASSERT
(
sizeof
(
nvs_bootloader_single_entry_t
)
==
NVS_CONST_ENTRY_SIZE
,
"nvs_bootloader_single_entry_t size is not 32 bytes"
)
;
nvs_bootloader.c:23
ret
=
esp_partition_read
(
partition
,
page_index
*
NVS_CONST_PAGE_SIZE
+
NVS_CONST_PAGE_ENTRY_DATA_OFFSET
+
(
*
entry_index
)
*
NVS_CONST_ENTRY_SIZE
,
(
void
*
)
item
,
sizeof
(
nvs_bootloader_single_entry_t
)
)
;
nvs_bootloader.c:465
size_t
number_of_entries
=
block_len
/
NVS_CONST_ENTRY_SIZE
;
nvs_bootloader.c:516
if
(
block_len
%
NVS_CONST_ENTRY_SIZE
!=
0
)
{
nvs_bootloader.c:517
size_t
data_offset
=
page_index
*
NVS_CONST_PAGE_SIZE
+
NVS_CONST_PAGE_ENTRY_DATA_OFFSET
+
entry_index
*
NVS_CONST_ENTRY_SIZE
;
nvs_bootloader.c:547
if
(
(
(
item
->
span
-
1
)
*
NVS_CONST_ENTRY_SIZE
<
item
->
data
.
var_len_type
.
size
)
nvs_bootloader.c:594
||
(
(
item
->
span
-
1
)
*
NVS_CONST_ENTRY_SIZE
>
item
->
data
.
var_len_type
.
size
+
NVS_CONST_ENTRY_SIZE
-
1
)
)
{
nvs_bootloader.c:595
uint8_t
entry_states
[
NVS_CONST_ENTRY_SIZE
]
;
nvs_bootloader_private.h:65
#define
NVS_CONST_STR_LEN_MAX_SIZE
(
NVS_CONST_ENTRY_SIZE
*
(
NVS_CONST_ENTRY_COUNT
-
1
)
)
nvs_constants.h:28
static
const
size_t
ENTRY_SIZE
=
NVS_CONST_ENTRY_SIZE
;
nvs_page.hpp:39
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
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