<?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>MCUXpresso IDEのトピックRe: Managed ld scripts for MCUXpresso and RTOS_MPU</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/Managed-ld-scripts-for-MCUXpresso-and-RTOS-MPU/m-p/764283#M2215</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no direct support built into the IDE for &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;FreeRTOS MPU&lt;/SPAN&gt;. However you should be able to reconfigure the linker scripts generated by the IDE by making use of Freemarker linker script templates - as described in chapter 16, "Memory Configuration and Linker Scripts", of the MCUXpresso IDE v10.2 User Guide (in particularly sections 16.12 and 16.13).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MCUXpresso IDE Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jun 2018 09:24:21 GMT</pubDate>
    <dc:creator>lpcxpresso_supp</dc:creator>
    <dc:date>2018-06-11T09:24:21Z</dc:date>
    <item>
      <title>Managed ld scripts for MCUXpresso and RTOS_MPU</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Managed-ld-scripts-for-MCUXpresso-and-RTOS-MPU/m-p/764282#M2214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello !&lt;/P&gt;&lt;P&gt;MCUXpresso generate nice looking ld scripts but it is difficult to modify it for some typical purposes.&lt;/P&gt;&lt;P&gt;For example if FreeRTOS MPU should be used a lot of definitions for sections&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Variables used by FreeRTOS-MPU. */&lt;BR /&gt;_Privileged_Functions_Region_Size = 32K;&lt;BR /&gt;_Privileged_Data_Region_Size = 512;&lt;/P&gt;&lt;P&gt;__FLASH_segment_start__ = ORIGIN( ROM );&lt;BR /&gt;__FLASH_segment_end__ = __FLASH_segment_start__ + LENGTH( ROM );&lt;/P&gt;&lt;P&gt;__privileged_functions_start__ = ORIGIN( ROM );&lt;BR /&gt;__privileged_functions_end__ = __privileged_functions_start__ + _Privileged_Functions_Region_Size;&lt;/P&gt;&lt;P&gt;__SRAM_segment_start__ = ORIGIN( RAM );&lt;BR /&gt;__SRAM_segment_end__ = __SRAM_segment_start__ + LENGTH( RAM );&lt;/P&gt;&lt;P&gt;__privileged_data_start__ = ORIGIN( RAM );&lt;BR /&gt;__privileged_data_end__ = ORIGIN( RAM ) + _Privileged_Data_Region_Size;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and after that section usage everywhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*&lt;BR /&gt; * For Cortex-M devices, the beginning of the startup code is stored in&lt;BR /&gt; * the .isr_vector section, which goes to ROM&lt;BR /&gt; */&lt;BR /&gt; privileged_functions :&lt;BR /&gt; {&lt;BR /&gt; . = ALIGN(4);&lt;BR /&gt; _isr_vector = .;&lt;BR /&gt; KEEP(*(.isr_vector))&lt;BR /&gt; *(privileged_functions)&lt;BR /&gt; . = ALIGN(4);&lt;/P&gt;&lt;P&gt;/* Non privileged code is after _Privileged_Functions_Region_Size. */&lt;BR /&gt; __privileged_functions_actual_end__ = .;&lt;BR /&gt; . = _Privileged_Functions_Region_Size;&lt;BR /&gt; } &amp;gt; ROM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And a lot of other relative changes what is need for FreeRTOS_MPU usage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have ready to use templates for XPresso and Kinetis MCU ( K8x foe example ) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or it is recommended to use some external scripts for this kind of case ?&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>Fri, 08 Jun 2018 10:18:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Managed-ld-scripts-for-MCUXpresso-and-RTOS-MPU/m-p/764282#M2214</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2018-06-08T10:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: Managed ld scripts for MCUXpresso and RTOS_MPU</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Managed-ld-scripts-for-MCUXpresso-and-RTOS-MPU/m-p/764283#M2215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no direct support built into the IDE for &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;FreeRTOS MPU&lt;/SPAN&gt;. However you should be able to reconfigure the linker scripts generated by the IDE by making use of Freemarker linker script templates - as described in chapter 16, "Memory Configuration and Linker Scripts", of the MCUXpresso IDE v10.2 User Guide (in particularly sections 16.12 and 16.13).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MCUXpresso IDE Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2018 09:24:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Managed-ld-scripts-for-MCUXpresso-and-RTOS-MPU/m-p/764283#M2215</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2018-06-11T09:24:21Z</dc:date>
    </item>
  </channel>
</rss>

