Home
last modified time | relevance | path

Searched full:nvs (Results 1 – 25 of 188) sorted by relevance

12345678

/Zephyr-latest/subsys/fs/nvs/
DKconfig1 # Non-volatile Storage NVS
6 config NVS config
14 if NVS
19 Enable Non-volatile Storage cache, used to reduce the NVS data lookup
21 table entry (ATE) for all NVS IDs that fall into that cache position.
35 Enable a CRC-32 on the data part of each NVS element.
38 in the NVS data section, so 4 more bytes are needed per NVS element.
43 Enable automatic initialization of a NVS on a memory region that does
44 not contain a valid NVS. A region containing an invalid NVS can be
46 ensures a new NVS can be created.
[all …]
Dnvs_priv.h1 /* NVS: non volatile storage in flash
16 * an address in nvs is an uint32_t where:
DCMakeLists.txt4 nvs.c
/Zephyr-latest/tests/subsys/fs/nvs/
Dtestcase.yaml2 tags: nvs
4 filesystem.nvs:
8 filesystem.nvs.0x00:
11 filesystem.nvs.sim.no_erase:
14 filesystem.nvs.cache:
19 filesystem.nvs.data_crc:
25 filesystem.nvs.data_crc_cache:
/Zephyr-latest/tests/subsys/settings/functional/nvs/
Dtestcase.yaml2 settings.functional.nvs:
9 - nvs
10 settings.functional.nvs.chosen:
17 - nvs
18 settings.functional.nvs.dk:
27 - nvs
Dsettings_test_nvs.c8 #include <zephyr/fs/nvs.h>
24 zassert_true(nvs_rc >= 0, "Can't read nvs record (err=%d).", rc); in ZTEST()
/Zephyr-latest/samples/subsys/nvs/
DREADME.rst1 .. zephyr:code-sample:: nvs
2 :name: Non-Volatile Storage (NVS)
5 Store and retrieve data from flash using the NVS API.
10 This is a simple application demonstrating use of the NVS
23 This sample can be found under :zephyr_file:`samples/subsys/nvs` in the Zephyr tree.
29 :zephyr-app: samples/subsys/nvs
44 [fs/nvs] [DBG] nvs_reinit: (Re)Initializing sectors
45 [fs/nvs] [DBG] _nvs_sector_init: f->write_location set to c
46 [fs/nvs] [INF] nvs_mount: maximum storage length 256 byte
47 [fs/nvs] [INF] nvs_mount: write-align: 1, write-addr: c
[all …]
Dsample.yaml2 name: NVS Sample
5 sample.nvs.basic:
6 tags: nvs
7 depends_on: nvs
DCMakeLists.txt12 project(nvs) project
16 target_include_directories(app PRIVATE ${ZEPHYR_BASE}/subsys/fs/nvs)
/Zephyr-latest/subsys/settings/
DKconfig35 default SETTINGS_NVS if NVS
56 bool "NVS non-volatile storage support"
57 depends on NVS
60 Enables NVS storage support
65 bool "NVS name lookup cache"
67 Enable NVS name lookup cache, used to reduce the Settings name
71 int "NVS name lookup cache size"
76 Number of entries in Settings NVS name cache.
121 int "Sector size of the NVS settings area"
125 The sector size to use for the NVS settings area as a multiple of
[all …]
/Zephyr-latest/doc/services/storage/nvs/
Dnvs.rst3 Non-Volatile Storage (NVS)
13 The id is a 16-bit unsigned number. NVS ensures that for each used id there is
16 NVS allows storage of binary blobs, strings, integers, longs, and any
20 written in a table starting from the end of a nvs sector, the data is
32 .. note:: Enabling the data CRC feature on a previously existing NVS content without
35 A write of data to nvs always starts with writing the data, followed by a write
39 During initialization NVS will verify the data stored in flash, if it
42 NVS checks the id-data pair before writing data to flash. If the id-data pair
46 sufficient free space. NVS has a protection mechanism to avoid getting in a
48 a loop is detected NVS returns that there is no more space available.
[all …]
/Zephyr-latest/subsys/settings/include/settings/
Dsettings_nvs.h11 #include <zephyr/fs/nvs.h>
18 /* In the NVS backend, each setting is stored in two NVS entries:
22 * The NVS entry ID for the setting's value is determined implicitly based on
23 * the ID of the NVS entry for the setting's name, once that is found. The
53 /* register nvs to be a source of settings */
56 /* register nvs to be the destination of settings */
59 /* Initialize a nvs backend. */
/Zephyr-latest/tests/subsys/settings/nvs/
Dtestcase.yaml2 settings.nvs:
3 depends_on: nvs
7 - nvs
/Zephyr-latest/include/zephyr/fs/
Dnvs.h1 /* NVS: non volatile storage in flash
20 * @brief Non-volatile Storage (NVS)
21 * @defgroup nvs Non-volatile Storage (NVS)
32 * @ingroup nvs
74 * @ingroup nvs
79 * @brief Mount an NVS file system onto the flash device specified in @p fs.
88 * @brief Clear the NVS file system from flash.
168 * @brief Tell how many contiguous free space remains in the currently active NVS sector.
182 * It breaks the aim of the NVS to avoid any unnecessary flash erases.
/Zephyr-latest/doc/services/storage/
Dindex.rst9 nvs/nvs.rst
/Zephyr-latest/samples/modules/canopennode/
Dsample.yaml18 depends_on: nvs
21 depends_on: nvs
/Zephyr-latest/tests/subsys/fs/nvs/src/
Dmain.c24 #include <zephyr/fs/nvs.h>
89 /* Clear NVS */ in after()
100 ZTEST_SUITE(nvs, NULL, setup, before, after, NULL);
102 ZTEST_F(nvs, test_nvs_mount) in ZTEST_F() argument
135 ZTEST_F(nvs, test_nvs_write) in ZTEST_F() argument
167 ZTEST_F(nvs, test_nvs_corrupted_write) in ZTEST_F() argument
227 * are corrupted at this point and should be discarded by the NVS. in ZTEST_F()
232 /* Reinitialize the NVS. */ in ZTEST_F()
249 ZTEST_F(nvs, test_nvs_gc) in ZTEST_F() argument
348 ZTEST_F(nvs, test_nvs_gc_3sectors) in ZTEST_F() argument
[all …]
/Zephyr-latest/boards/espressif/esp32_ethernet_kit/
Desp32_ethernet_kit_procpu.yaml11 - nvs
/Zephyr-latest/tests/subsys/secure_storage/psa/its/
Doverlay-store_settings.conf6 # Limit the space available for the maximum entry test to not take too long with NVS.
/Zephyr-latest/boards/hardkernel/odroid_go/
Dodroid_go_procpu.yaml13 - nvs
/Zephyr-latest/boards/nordic/nrf51dongle/
Dnrf51dongle_nrf51822.yaml13 - nvs
/Zephyr-latest/boards/m5stack/m5stack_atom_lite/
Dm5stack_atom_lite_procpu.yaml14 - nvs
/Zephyr-latest/boards/st/nucleo_l432kc/
Dnucleo_l432kc.yaml12 - nvs
/Zephyr-latest/boards/heltec/heltec_wifi_lora32_v2/
Dheltec_wifi_lora32_v2_procpu.yaml12 - nvs
/Zephyr-latest/boards/m5stack/m5stack_core2/
Dm5stack_core2_procpu.yaml15 - nvs

12345678