<?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>LPC MicrocontrollersのトピックRe: Placing code into Spiffy flash</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Placing-code-into-Spiffy-flash/m-p/1004362#M39450</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So to be clear you create a section description and point to extended flash (flash2) and then you create the library and add to the project (your second slide) and then this library is now located into flash2?&amp;nbsp; I do not see the linkage here!&amp;nbsp; I have no problem referencing libraries in my project, my question is how can I direct the output of the compile (the .a file) such that the linker places into extended flash.&amp;nbsp; Basically I want to create a library (pre-compiled to get the .a file), drop the .a file into the project, create the references to the library and then tell the linker to place this .a file into the spiffy flash.&amp;nbsp; Is this possible (and no cr_section_macros.h is not the answer for large 3rd party source)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Jan 2020 19:25:57 GMT</pubDate>
    <dc:creator>BillTheBiker</dc:creator>
    <dc:date>2020-01-21T19:25:57Z</dc:date>
    <item>
      <title>Placing code into Spiffy flash</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Placing-code-into-Spiffy-flash/m-p/1004358#M39446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From the MCUxpresso manual:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"The second example graphic shows both the placement of a constant data table and also the powerful technique of specifying a project source folder and placing the entire contents of that folder (flash2’s .text sections) into a chosen flash device. Using this scheme the user can drag and drop source files within the project structure to choose which location will be used for their linkage and so their flash storage."&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a better explanation (or video) on how to do this...?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How would you place a library project into Spiffy?&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2020 22:28:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Placing-code-into-Spiffy-flash/m-p/1004358#M39446</guid>
      <dc:creator>BillTheBiker</dc:creator>
      <dc:date>2020-01-13T22:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: Placing code into Spiffy flash</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Placing-code-into-Spiffy-flash/m-p/1004359#M39447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-userid="25755" data-username="BillTheBiker" href="https://community.nxp.com/people/BillTheBiker"&gt;william sell&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.&lt;BR /&gt;1) Is there a better explanation (or video) on how to do this? &amp;nbsp;&lt;BR /&gt;-- No, I'm afraid there's is no better explanation for this, in opinion, it's good enough to guide how to do it, and if you encounter some problems, please give a description.&lt;BR /&gt;2) How would you place a library project into Spiffy?&lt;BR /&gt;-- I'm not very clear with this question, whether you can clarify it.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Have a great day,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;TIC&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2020 08:50:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Placing-code-into-Spiffy-flash/m-p/1004359#M39447</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2020-01-15T08:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: Placing code into Spiffy flash</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Placing-code-into-Spiffy-flash/m-p/1004360#M39448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I thought it was "&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;good enough to guide how to do it" I would not ask for more clarification.&amp;nbsp; Typical NXP, leave to the users to figure this out.&amp;nbsp; So your advice is to try and figure it out and then go down the NXP customer support rabbit hole to see why it is not working.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;A library project produces a .a file output.&amp;nbsp; This is not linked until the final stage and the only linker settings are for the main project.&amp;nbsp; So how can I direct the .a file output to be linked into the spiffy flash?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2020 17:47:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Placing-code-into-Spiffy-flash/m-p/1004360#M39448</guid>
      <dc:creator>BillTheBiker</dc:creator>
      <dc:date>2020-01-15T17:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: Placing code into Spiffy flash</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Placing-code-into-Spiffy-flash/m-p/1004361#M39449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;1) So your advice is to try and figure it out and then go down the NXP customer support rabbit hole to see why it is not working.&lt;BR /&gt;-- I mean that the MCUXpresso IDE has provided the friendly button, the developer follows it can make it quickly, just like the below figure presents that click plus to adding some extra linker section.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/95486i948AC106EA882E28/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;BR /&gt;2) The below presents how to add the library into a demo project in the MCUXpresso IDE.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/95437iA959D49FF148303A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Have a great day,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;TIC&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2020 08:17:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Placing-code-into-Spiffy-flash/m-p/1004361#M39449</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2020-01-16T08:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: Placing code into Spiffy flash</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Placing-code-into-Spiffy-flash/m-p/1004362#M39450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So to be clear you create a section description and point to extended flash (flash2) and then you create the library and add to the project (your second slide) and then this library is now located into flash2?&amp;nbsp; I do not see the linkage here!&amp;nbsp; I have no problem referencing libraries in my project, my question is how can I direct the output of the compile (the .a file) such that the linker places into extended flash.&amp;nbsp; Basically I want to create a library (pre-compiled to get the .a file), drop the .a file into the project, create the references to the library and then tell the linker to place this .a file into the spiffy flash.&amp;nbsp; Is this possible (and no cr_section_macros.h is not the answer for large 3rd party source)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2020 19:25:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Placing-code-into-Spiffy-flash/m-p/1004362#M39450</guid>
      <dc:creator>BillTheBiker</dc:creator>
      <dc:date>2020-01-21T19:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: Placing code into Spiffy flash</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Placing-code-into-Spiffy-flash/m-p/1004363#M39451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;BR /&gt;It needs to use own linker file which uses the command to add the library object like the &lt;A href="https://mcuoneclipse.com/2014/10/06/putting-code-of-files-into-special-section-with-the-gnu-linker/"&gt;post shows&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;In further, please refer to the &lt;A _jive_internal="true" href="https://community.nxp.com/thread/389125"&gt;post&lt;/A&gt; to learn how to create own linker file.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Have a great day,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;TIC&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jan 2020 06:23:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Placing-code-into-Spiffy-flash/m-p/1004363#M39451</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2020-01-24T06:23:38Z</dc:date>
    </item>
  </channel>
</rss>

