<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>NRF9160 LittleFS build non-secure target</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/88248/nrf9160-littlefs-build-non-secure-target</link><description>Hi, 
 I&amp;#39;m trying to incorporate LittleFS into our development. We are relying on services provided by TF-M. 
 
 To recreate: build /zephyr/samples/fs/littleFS and set target nrf9160dk_nrf9160_ns 
 
 It works perfectly fine when I don&amp;#39;t select the non</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 24 May 2022 12:12:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/88248/nrf9160-littlefs-build-non-secure-target" /><item><title>RE: NRF9160 LittleFS build non-secure target</title><link>https://devzone.nordicsemi.com/thread/369278?ContentTypeID=1</link><pubDate>Tue, 24 May 2022 12:12:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fcf25feb-623e-4154-ab11-66f9c08847be</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Which version of ncs are you using?&lt;/p&gt;
&lt;p&gt;Do you have any changes to the local dts/kconfig options?&lt;/p&gt;
&lt;p&gt;Could you share the log output from your end?&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s the output from ncs v1.9.1 when building zephyr/samples/subsys/fs/littlefs for board nrf9160dk_nrf9160_ns:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;SPM: NS image at 0x10000
SPM: NS MSP at 0x2000e8e8
SPM: NS reset vector at 0x12d0d
SPM: prepare to jump to Non-Secure image.
*** Booting Zephyr OS build v2.7.99-ncs1-1  ***
Area 2 at 0xfa000 on NRF_FLASH_DRV_NAME for 24576 bytes
/lfs mount: 0
/lfs: bsize = 16 ; frsize = 4096 ; blocks = 6 ; bfree = 4
/lfs/boot_count stat: 0
        fn &amp;#39;boot_count&amp;#39; size 4
/lfs/boot_count read count 1: 4
/lfs/boot_count seek start: 0
/lfs/boot_count write new boot count 2: 4
/lfs/boot_count close: 0
/lfs opendir: 0
  F 4 boot_count
End of files
/lfs unmount: 0
[00:00:00.518,493] &amp;lt;inf&amp;gt; littlefs: LittleFS version 2.4, disk version 2.0
[00:00:00.518,707] &amp;lt;inf&amp;gt; littlefs: FS at NRF_FLASH_DRV_NAME:0xfa000 is 6 0x1000-byte blocks with 512 cycle
[00:00:00.518,707] &amp;lt;inf&amp;gt; littlefs: sizes: rd 16 ; pr 16 ; ca 64 ; la 32
[00:00:00.519,165] &amp;lt;inf&amp;gt; littlefs: /lfs mounted
[00:00:00.549,652] &amp;lt;inf&amp;gt; littlefs: /lfs unmounted
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>