<?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>non init section</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/76848/non-init-section</link><description>Hi 
 In other toolchain with GCC it is possibility to move some variable to a non initialiseed section 
 __attribute__((section(&amp;quot;.non_init&amp;quot;))) int buffer[1000U]; 
 When I use this with SES and zephyr I get 
 orphan section `.non_init&amp;#39; from `app/libapp</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 29 Jun 2021 05:20:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/76848/non-init-section" /><item><title>RE: non init section</title><link>https://devzone.nordicsemi.com/thread/317591?ContentTypeID=1</link><pubDate>Tue, 29 Jun 2021 05:20:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d0bad45-02a4-4287-b383-fdea2a0a621b</guid><dc:creator>Canastra</dc:creator><description>&lt;p&gt;Hi Sigurd&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;Now I see my object is in the noinit section.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: non init section</title><link>https://devzone.nordicsemi.com/thread/317549?ContentTypeID=1</link><pubDate>Mon, 28 Jun 2021 16:25:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e96aafb9-f6ce-43e4-aab1-279c8fd39fa5</guid><dc:creator>Sigurd</dc:creator><description>[quote user="Canastra"]&lt;p&gt;Is there a option to generate a map file.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;&amp;nbsp;Check the build folder.&amp;nbsp;&amp;lt;sample&amp;gt;\build\zephyr\zephyr.map&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: non init section</title><link>https://devzone.nordicsemi.com/thread/317531?ContentTypeID=1</link><pubDate>Mon, 28 Jun 2021 15:03:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e61b5651-c877-4856-8440-7456ffce4f4b</guid><dc:creator>Canastra</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;__noinit is the solution. Thanks.&lt;/p&gt;
&lt;p&gt;Is there a option to generate a map file.&lt;/p&gt;
&lt;p&gt;So I can check what is in which segment?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: non init section</title><link>https://devzone.nordicsemi.com/thread/317511?ContentTypeID=1</link><pubDate>Mon, 28 Jun 2021 14:03:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a3c65ef-c78f-469d-875d-44450db68ab3</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Try using&amp;nbsp;&lt;span&gt;__noinit , e.g. as done here:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v2.6.0-rc1-ncs1/samples/boards/nrf/system_off/src/retained.c#L130"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/v2.6.0-rc1-ncs1/samples/boards/nrf/system_off/src/retained.c#L130&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>