<?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: Differences between Debug and Release builds in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Differences-between-Debug-and-Release-builds/m-p/1601479#M64724</link>
    <description>&lt;P&gt;Thank you very much Eric.&lt;BR /&gt;The 3 linker files generated for each build configuration (project_xx_memory.ld, project_xx_library.ld and project_xx.ld) are the same.&lt;BR /&gt;In this case it is not serious, since I access the different objects using their name and the compiler resolves the address to point to, I don't need to access them in an established order.&lt;BR /&gt;I've another problem and while reviewing I found this that caught my attention (and at first I thought it was the source of my problems, but no).&lt;BR /&gt;Your comments are welcome as always, I'll keep them in mind if I need to access each object using a harcoded address.&lt;/P&gt;&lt;P&gt;Greetings, Marcelo.&lt;/P&gt;</description>
    <pubDate>Sun, 19 Feb 2023 21:11:15 GMT</pubDate>
    <dc:creator>marc_v</dc:creator>
    <dc:date>2023-02-19T21:11:15Z</dc:date>
    <item>
      <title>Differences between Debug and Release builds</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Differences-between-Debug-and-Release-builds/m-p/1601463#M64722</link>
      <description>&lt;P&gt;Hello everyone.&lt;BR /&gt;In a project, 3 sectors of the KL27 are used to store particular information of the equipment that almost never changes.&lt;BR /&gt;Strings of characters are simply stored to be printed or displayed, either by referring to their name or through a vector of pointers where their addresses are stored.&lt;BR /&gt;The issue is that the Debug build sorts them in one order and the Release build sorts them in the reverse order.&lt;BR /&gt;I would like to know which compilation option I should modify to keep in both versions the order obtained in the Debug build. I attach an image where you can see details of the implementation, greetings!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Debug_vs_Release.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/211463iA3E226C284A821AE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Debug_vs_Release.png" alt="Debug_vs_Release.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Sun, 19 Feb 2023 16:06:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Differences-between-Debug-and-Release-builds/m-p/1601463#M64722</guid>
      <dc:creator>marc_v</dc:creator>
      <dc:date>2023-02-19T16:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: Differences between Debug and Release builds</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Differences-between-Debug-and-Release-builds/m-p/1601470#M64723</link>
      <description>&lt;P&gt;First: I would check if they are listed differently in the linker file?&lt;/P&gt;&lt;P&gt;But: There is no guarantee of the order of the objects by any means, if you have them (as in this case) as single objects (and I assume the same for your linker file, or using wildcards).&lt;/P&gt;&lt;P&gt;If you want them in a defined order:&lt;/P&gt;&lt;P&gt;- have them in an array of things&lt;/P&gt;&lt;P&gt;- or: list them individually in the linker file&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;</description>
      <pubDate>Sun, 19 Feb 2023 16:51:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Differences-between-Debug-and-Release-builds/m-p/1601470#M64723</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2023-02-19T16:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: Differences between Debug and Release builds</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Differences-between-Debug-and-Release-builds/m-p/1601479#M64724</link>
      <description>&lt;P&gt;Thank you very much Eric.&lt;BR /&gt;The 3 linker files generated for each build configuration (project_xx_memory.ld, project_xx_library.ld and project_xx.ld) are the same.&lt;BR /&gt;In this case it is not serious, since I access the different objects using their name and the compiler resolves the address to point to, I don't need to access them in an established order.&lt;BR /&gt;I've another problem and while reviewing I found this that caught my attention (and at first I thought it was the source of my problems, but no).&lt;BR /&gt;Your comments are welcome as always, I'll keep them in mind if I need to access each object using a harcoded address.&lt;/P&gt;&lt;P&gt;Greetings, Marcelo.&lt;/P&gt;</description>
      <pubDate>Sun, 19 Feb 2023 21:11:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Differences-between-Debug-and-Release-builds/m-p/1601479#M64724</guid>
      <dc:creator>marc_v</dc:creator>
      <dc:date>2023-02-19T21:11:15Z</dc:date>
    </item>
  </channel>
</rss>

