This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to get NVS device in new SDK V1.6.1

Hi,

im porting our nrf9160 application from SDK 1.3 to SDK V1.6.1. and facing error while accessing NVS device in SDK V1.6.1.

in SDK 1.3 i used "device_get_binding(DT_FLASH_DEV_NAME)" to get the device.

Please help us how to get NVS device in SDK V1.6.1.

Tried this "flash_dev = DEVICE_DT_GET(FLASH_NODE);" not working.

Thanks,
Bala

Related