<?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>SRAM Partition</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/52505/sram-partition</link><description>Is it possible to have discontiguous Non-Secure areas in SRAM to be used by the application? 
 &amp;amp;sram0 { 
 reg = &amp;lt;0x20000000 DT_SIZE_K(8)&amp;gt;; 
 }; 
 
 &amp;amp;sram0_ns { 
 reg = &amp;lt;0x20002000 DT_SIZE_K(56)&amp;gt;; 
 }; 
 
 &amp;amp;sram0_bsd { 
 reg = &amp;lt;0x20010000 DT_SIZE_K(64</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 26 Sep 2019 13:10:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/52505/sram-partition" /><item><title>RE: SRAM Partition</title><link>https://devzone.nordicsemi.com/thread/212076?ContentTypeID=1</link><pubDate>Thu, 26 Sep 2019 13:10:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:666991ec-9e32-4d8e-b338-bec04bddb118</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You could e.g. create some library that uses&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;sram0_ns&lt;/span&gt;, and then link that with your application(that uses&amp;nbsp;&lt;span&gt;sram1_ns). E.g. In the same way that&amp;#39;s done with the bsd-lib.&amp;nbsp;&lt;/span&gt;Note that&amp;nbsp;&lt;span&gt;sram0_bsd is also non-secure. Note that if you are using MCUboot(e.g. used in application DFU), you would need to allocate more RAM to&amp;nbsp;sram0.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>