The NVS in the nCS erases the contents in DFU, is this a specification? or bug?

As the title suggests, is this a specification? or bug? otherwise something missing in the settings?

NVS values did not vanished while nRF5 SDK used.

before DFU

after DFU

Parents Reply
  • Hi,

    Thanks for the answer. I understand that I am missing a setting. I also read the link.

    But...what exactly do I should to do?
    I turned on CONFIG_PARTITION_MANAGER, but that causes a build error. (What does read-only mean?)

    C:/ncs/v2.4.2/nrf/subsys/partition_manager/flash_map_partition_manager.c:12:10: fatal error: pm_config.h: No such file or directory
    12 | #include <pm_config.h>

    I can see that there is a partition.yml file in the existing build folder, does that mean I should move it to the root folder of the project?

Children
Related