<?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: Linking Builtin/ROM code in KEAZ64xxx4 in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Linking-Builtin-ROM-code-in-KEAZ64xxx4/m-p/1431294#M62696</link>
    <description>&lt;P&gt;The issue was not related to the linker at all.&amp;nbsp; Another author had declared a string like this:&lt;BR /&gt;&lt;BR /&gt;static const uint8_t *Carriage = "\r\n";&lt;/P&gt;&lt;P&gt;When strlen(Carriage) was run against this, it crashed.&lt;/P&gt;&lt;P&gt;When the declaration was rewritten, it works.&lt;/P&gt;&lt;P&gt;static const uint8_t Carriage[] = "\r\n";&lt;/P&gt;</description>
    <pubDate>Mon, 21 Mar 2022 12:25:55 GMT</pubDate>
    <dc:creator>mfarv</dc:creator>
    <dc:date>2022-03-21T12:25:55Z</dc:date>
    <item>
      <title>Linking Builtin/ROM code in KEAZ64xxx4</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Linking-Builtin-ROM-code-in-KEAZ64xxx4/m-p/1430828#M62685</link>
      <description>&lt;P&gt;I have a bare metal application that crashes whenever strlen is called.&amp;nbsp; The same code that previously leveraged PE does not.&amp;nbsp;&lt;/P&gt;&lt;P&gt;As I understand it this function may exist in ROM on the part, instead of having to be compiled into the flash image.&amp;nbsp; Is this correct, and if so how do I tell the linker that fact since the default linker file does not appear to include it?&amp;nbsp; (Modified bare metal linker script is attached)&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2022 20:10:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Linking-Builtin-ROM-code-in-KEAZ64xxx4/m-p/1430828#M62685</guid>
      <dc:creator>mfarv</dc:creator>
      <dc:date>2022-03-18T20:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: Linking Builtin/ROM code in KEAZ64xxx4</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Linking-Builtin-ROM-code-in-KEAZ64xxx4/m-p/1431294#M62696</link>
      <description>&lt;P&gt;The issue was not related to the linker at all.&amp;nbsp; Another author had declared a string like this:&lt;BR /&gt;&lt;BR /&gt;static const uint8_t *Carriage = "\r\n";&lt;/P&gt;&lt;P&gt;When strlen(Carriage) was run against this, it crashed.&lt;/P&gt;&lt;P&gt;When the declaration was rewritten, it works.&lt;/P&gt;&lt;P&gt;static const uint8_t Carriage[] = "\r\n";&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 12:25:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Linking-Builtin-ROM-code-in-KEAZ64xxx4/m-p/1431294#M62696</guid>
      <dc:creator>mfarv</dc:creator>
      <dc:date>2022-03-21T12:25:55Z</dc:date>
    </item>
  </channel>
</rss>

