<?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: LPC553X Linker Script Update in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC553X-Linker-Script-Update/m-p/1607086#M51758</link>
    <description>&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: #333f48;"&gt;&lt;SPAN&gt;do you plan to update the linker script to add the definition of a section mapped to m_sramx memory area?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-size: 12.0pt;"&gt;&lt;SPAN&gt;For the moment, not, but t&lt;/SPAN&gt;&lt;SPAN&gt;he automatic detection and use of project local .ldt files is an integral&amp;nbsp;part of the managed linker script mechanism. For more details, please see chapter&amp;nbsp;18, "Memory Configuration and Linker Scripts" in the MCUXpresso IDE v11.0 User Guide. In particular, section 18.3 "How are Managed Linker Scripts Generated?" and section 18.4, "FreeMarker Linker Script Templates".&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Montserrat; font-size: 12.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Montserrat; font-size: 12.0pt;" lang="es-MX"&gt;You can use this document as a reference for modifying the linker and memory locations &lt;A href="https://community.nxp.com/pwmxy87654/attachments/pwmxy87654/mcuxpresso-ide/525/1/Relocating%20Code%20and%20Data%20Using%20the%20MCUXpresso%20IDE.pdf" target="_blank"&gt;https://community.nxp.com/pwmxy87654/attachments/pwmxy87654/mcuxpresso-ide/525/1/Relocating%20Code%20and%20Data%20Using%20the%20MCUXpresso%20IDE.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Montserrat; font-size: 12.0pt;" lang="es-MX"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Montserrat; font-size: 12.0pt;" lang="es-MX"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Montserrat; font-size: 12.0pt;"&gt;Best Regards&lt;/P&gt;</description>
    <pubDate>Tue, 28 Feb 2023 19:14:59 GMT</pubDate>
    <dc:creator>CarlosGarabito</dc:creator>
    <dc:date>2023-02-28T19:14:59Z</dc:date>
    <item>
      <title>LPC553X Linker Script Update</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC553X-Linker-Script-Update/m-p/1605339#M51717</link>
      <description>&lt;P&gt;Hi everyone!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm still working on a project based on LPC5536 and LPC5534 MCU. For the LPC5534 version, I need to use/enable the SRAMX memory, because the SRAM memory area is insufficient.&lt;/P&gt;&lt;P&gt;I took a look at the linker scripts for both MCUs (mcux-sdx/devices/LPC553X/gcc/LPC553X_flash.ld), and I found that the SRMAX area memory is defined in the MEMORY command (code below extracted from LPC5534_flash.ld)&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;MEMORY
{
  m_interrupts          (RX)  : ORIGIN = 0x00000000, LENGTH = 0x00000400
  m_text                (RX)  : ORIGIN = 0x00000400, LENGTH = 0x0001FC00
  m_data                (RW)  : ORIGIN = 0x20000000 + RETENTION_RAMSIZE, LENGTH = 0x00010000 - RETENTION_RAMSIZE
  m_data_4              (RW)  : ORIGIN = 0x20018000, LENGTH = 0x00004000
  m_sramx               (RW)  : ORIGIN = 0x04000000, LENGTH = 0x00004000
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, there isn't any memory section defined in the SECTION command associated to the m_sramx memory area.&lt;/P&gt;&lt;P&gt;So, do you plan to update the linker script to add the definition of a section mapped to m_sramx memory area?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2023 15:09:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC553X-Linker-Script-Update/m-p/1605339#M51717</guid>
      <dc:creator>martingcavallo</dc:creator>
      <dc:date>2023-02-24T15:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: LPC553X Linker Script Update</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC553X-Linker-Script-Update/m-p/1607086#M51758</link>
      <description>&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: #333f48;"&gt;&lt;SPAN&gt;do you plan to update the linker script to add the definition of a section mapped to m_sramx memory area?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-size: 12.0pt;"&gt;&lt;SPAN&gt;For the moment, not, but t&lt;/SPAN&gt;&lt;SPAN&gt;he automatic detection and use of project local .ldt files is an integral&amp;nbsp;part of the managed linker script mechanism. For more details, please see chapter&amp;nbsp;18, "Memory Configuration and Linker Scripts" in the MCUXpresso IDE v11.0 User Guide. In particular, section 18.3 "How are Managed Linker Scripts Generated?" and section 18.4, "FreeMarker Linker Script Templates".&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Montserrat; font-size: 12.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Montserrat; font-size: 12.0pt;" lang="es-MX"&gt;You can use this document as a reference for modifying the linker and memory locations &lt;A href="https://community.nxp.com/pwmxy87654/attachments/pwmxy87654/mcuxpresso-ide/525/1/Relocating%20Code%20and%20Data%20Using%20the%20MCUXpresso%20IDE.pdf" target="_blank"&gt;https://community.nxp.com/pwmxy87654/attachments/pwmxy87654/mcuxpresso-ide/525/1/Relocating%20Code%20and%20Data%20Using%20the%20MCUXpresso%20IDE.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Montserrat; font-size: 12.0pt;" lang="es-MX"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Montserrat; font-size: 12.0pt;" lang="es-MX"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Montserrat; font-size: 12.0pt;"&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 19:14:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC553X-Linker-Script-Update/m-p/1607086#M51758</guid>
      <dc:creator>CarlosGarabito</dc:creator>
      <dc:date>2023-02-28T19:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: LPC553X Linker Script Update</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC553X-Linker-Script-Update/m-p/1607105#M51759</link>
      <description>&lt;P&gt;Hello Carlos!&lt;/P&gt;&lt;P&gt;I appreciate your response. Thank you so much.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've implemented something similar to your suggestion. I am using makefile, so I copied the linker file to a local folder in the project, modified it, and then I modified the linker file path in the makefile. This is running perfectly.&lt;/P&gt;&lt;P&gt;Best Regards!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 20:17:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC553X-Linker-Script-Update/m-p/1607105#M51759</guid>
      <dc:creator>martingcavallo</dc:creator>
      <dc:date>2023-02-28T20:17:52Z</dc:date>
    </item>
  </channel>
</rss>

