<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: MCUXpresso : create NOLOAD section in MCUXpresso IDE</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXpresso-create-NOLOAD-section/m-p/1050251#M5639</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If there is no data defined in that section, it will not be initialised or zero'd. In fact, if it is not defined at all, then the startup code will not even know about it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are you trying to achieve?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 May 2020 13:21:59 GMT</pubDate>
    <dc:creator>converse</dc:creator>
    <dc:date>2020-05-20T13:21:59Z</dc:date>
    <item>
      <title>MCUXpresso : create NOLOAD section</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXpresso-create-NOLOAD-section/m-p/1050250#M5638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does it possible to specify via IDE in MCU setting, RAM section what is not initialised at all ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.data_SRAM4 0x30040000 (NOLOAD) : ALIGN(32)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2020 11:13:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXpresso-create-NOLOAD-section/m-p/1050250#M5638</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2020-05-20T11:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXpresso : create NOLOAD section</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXpresso-create-NOLOAD-section/m-p/1050251#M5639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If there is no data defined in that section, it will not be initialised or zero'd. In fact, if it is not defined at all, then the startup code will not even know about it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are you trying to achieve?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2020 13:21:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXpresso-create-NOLOAD-section/m-p/1050251#M5639</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2020-05-20T13:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXpresso : create NOLOAD section</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXpresso-create-NOLOAD-section/m-p/1050252#M5640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Con !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to reserve some area of SRAM memory what is persist over MCU reboot.&lt;/P&gt;&lt;P&gt;So no any startup initialization shouldn't&amp;nbsp; touch those area.&lt;/P&gt;&lt;P&gt;But I still would like to allocate some variables in this section and initialize those from my code.&lt;/P&gt;&lt;P&gt;Does it possible to have some trick or manual modification of exported linker files are only option ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2020 16:18:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXpresso-create-NOLOAD-section/m-p/1050252#M5640</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2020-05-20T16:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXpresso : create NOLOAD section</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXpresso-create-NOLOAD-section/m-p/1050253#M5641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you want a NOINIT rather than a NOLOAD. And fortunately, MCUXpresso automatically creates .noinit sections in every RAM region you define. So, using the cr_section_macros.h and assuming your memory region is called SRAM_NOINIT, you can simply write&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#include &amp;lt;cr_section_macros.h&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;__NOINIT(SRAM_NOINIT) unsigned int preserved_across_boot;&lt;/P&gt;&lt;P&gt;... etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and this will place &lt;EM&gt;preserved_across_boot&lt;/EM&gt; into SRAM_NOINIT that is not initialised or zero filled.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2020 17:41:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXpresso-create-NOLOAD-section/m-p/1050253#M5641</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2020-05-20T17:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXpresso : create NOLOAD section</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXpresso-create-NOLOAD-section/m-p/1050254#M5642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Con !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like I should study this automatic linker file generation in more details.&lt;/P&gt;&lt;P&gt;Could you point me to the latest documentation about it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I should be able to put some code to SRAMX area for execution and a lot of other advanced staff.&lt;/P&gt;&lt;P&gt;I think it should be some semiautomatic solution . Now I'm manually modify original files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where tthose templates&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;#include &amp;lt;cr_section_macros.h&amp;gt; are located ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Looks like they depends from MCU type and other configurations.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Eugene&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2020 08:12:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXpresso-create-NOLOAD-section/m-p/1050254#M5642</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2020-05-22T08:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXpresso : create NOLOAD section</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXpresso-create-NOLOAD-section/m-p/1050255#M5643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look in the User Manual - "Memory Configuration and linker scripts". Especially subsection on "Placing data into different RAM blocks using Macros" and "Freemarker Linker Script Templates"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The section macros are in the standard search path for include files. Just #include it.&lt;/P&gt;&lt;P&gt;The macros are not MCU type dependent. You can use YOUR names as defined in the memory configuration editor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2020 08:36:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXpresso-create-NOLOAD-section/m-p/1050255#M5643</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2020-05-22T08:36:13Z</dc:date>
    </item>
  </channel>
</rss>

