-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Closed
Labels
bugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugplatform: nRFNordic nRFxNordic nRFxpriority: mediumMedium impact/importance bugMedium impact/importance bug
Milestone
Description
Hello,
i want to use the subsys/nvs sample with the nRF52-PCA10040 board with Zephyr version 1.12
The (unedited) sample compiles fine with cmake and ninja but after flashing the following error messages occur:
***** Booting Zephyr OS 1.12.99 *****
Flash Init failed
No address found, adding 192.168.1.1 at id 1
No key found, adding it at id 2
No Reboot counter found, adding it at id 3
Id: 4 not found, adding it
Reboot counter history: Error, no Reboot counter
For some reason it cannot initialize the nvs in
...
rc = nvs_init(&fs, FLASH_DEV_NAME, STORAGE_MAGIC);
if (rc) {
printk("Flash Init failed\n");
}
...
The default configurations in prj.config are:
CONFIG_FLASH=y
CONFIG_NVS=y
CONFIG_NVS_LOG=y
CONFIG_NVS_LOG_LEVEL=4
CONFIG_REBOOT=y
Thanks!
Metadata
Metadata
Assignees
Labels
bugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugplatform: nRFNordic nRFxNordic nRFxpriority: mediumMedium impact/importance bugMedium impact/importance bug
