Hi
I built soc_flash_nrf fail,I can't find which application that uses this sample,so I can not find what cause this.


Hi
I built soc_flash_nrf fail,I can't find which application that uses this sample,so I can not find what cause this.


Hi,
This is inherited from this line:
The problem is that when building for multi-image, it does not find the correct second image. If we specify this to be "storage" instead of "image_1_nonsecure", and manually define the storage area in pm_static.yml, it should compile and run properly.
soc_flash_nrf/pm_static.yml should hold this:
storage: address: 0xfa000 size: 0x6000 end_address: 0x100000
Kind regards,
Håkon
Hi
1、 
Where is the image_1_nonsecure in this project?I can not find it.
2、I manually define the storage area in pm_static.yml like figure below,then run cmake,but built failed.



Hi,
Change this line in main.c to "storage":
And then try to recompile.
Kind regards,
Håkon
Hi
Sorry,Do you mean line 168? I find nothing in this line.

Hi,
The change is on line 16 in main.c:

Here is the patched project:
Kind regards,
Håkon
Thank you,It compiles successfully now.
Great to hear. Hope you have a wonderful day!
Kind regards,
Håkon
Great to hear. Hope you have a wonderful day!
Kind regards,
Håkon
Hi
1、It got a error like figure below after I built the nvs which in the v1.7.0\zephyr\samples\subsys\nvs. 
2、I look in the document like figure below,there is not any information about this error.

3、Is the error caused by the DEVICE_DEFINE() ?I do not kown how to use the DEVICE_DEFINE() solve the problem,could you offer me the demo to solve this problem?

Hi,
This is unfortunately a bug in the sample for ncs v1.7.0. If you upgrade to v1.8.0 (or newer), it should work as expected.
Kind regards,
Håkon