Hello,
We have an nrf522840 board using retained memory feature following this sample and using the NRF_RETENTION setting:
We are upgrading to use the nrf5340 chip and trying to adapt the code. We are setting to use RETAINED_MEM but are having trouble with retainedmemory device not being defined.
This is the line throwing an error: const static struct device *retained_mem_device = DEVICE_DT_GET(DT_ALIAS(retainedmemdevice));
The sample has some definitions of the device for the nrf54 boards, but none for the nrf53.
Appreciate any pointers. We are building using the nrf5340ns.