<?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: Using the __attribute__ directive in KDS in Kinetis Design Studio</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Using-the-attribute-directive-in-KDS/m-p/412420#M3089</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello STEVE,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In KDS,&amp;nbsp; we need first use __attribute__ define one section , use it to relocate a function or data .&lt;/P&gt;&lt;P&gt;Then in the linker file ,&amp;nbsp; create a new segment to relocate the function.&lt;/P&gt;&lt;P&gt;About how to do in detail , please refer to this DOC :&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-104433"&gt;Relocating Code and Data Using the KDS GCC Linker File for Kinetis&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Nov 2015 03:57:12 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2015-11-16T03:57:12Z</dc:date>
    <item>
      <title>Using the __attribute__ directive in KDS</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Using-the-attribute-directive-in-KDS/m-p/412419#M3088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am new to using Kinetis Design Studio. (Previously used Code Warrior and S12/S12X processors.)&lt;/P&gt;&lt;P&gt;Can anyone direct me to some clear documentation on the use of the __attribute__ directive which is used by the linker.&lt;/P&gt;&lt;P&gt;I have found examples of its use e.g. __attribute__ ((interrupt)) and __attribute__ ((const)), but I cannot find anything in the KDS help file.&lt;/P&gt;&lt;P&gt;Specifically, I want to be able to control where compiled code is put in memory (for a bootloader application).&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Steve Lewis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 02:55:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Using-the-attribute-directive-in-KDS/m-p/412419#M3088</guid>
      <dc:creator>Jiun_Yong</dc:creator>
      <dc:date>2015-11-16T02:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: Using the __attribute__ directive in KDS</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Using-the-attribute-directive-in-KDS/m-p/412420#M3089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello STEVE,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In KDS,&amp;nbsp; we need first use __attribute__ define one section , use it to relocate a function or data .&lt;/P&gt;&lt;P&gt;Then in the linker file ,&amp;nbsp; create a new segment to relocate the function.&lt;/P&gt;&lt;P&gt;About how to do in detail , please refer to this DOC :&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-104433"&gt;Relocating Code and Data Using the KDS GCC Linker File for Kinetis&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 03:57:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Using-the-attribute-directive-in-KDS/m-p/412420#M3089</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2015-11-16T03:57:12Z</dc:date>
    </item>
  </channel>
</rss>

