<?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>Kinetis MicrocontrollersのトピックRe: Processor Expert -&amp;gt; Undefined Reference in Peripheral Init</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Processor-Expert-gt-Undefined-Reference-in-Peripheral-Init/m-p/275877#M9873</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That was it.&amp;nbsp; Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Oct 2013 18:24:31 GMT</pubDate>
    <dc:creator>KevinRosenbaum</dc:creator>
    <dc:date>2013-10-14T18:24:31Z</dc:date>
    <item>
      <title>Processor Expert -&gt; Undefined Reference in Peripheral Init</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Processor-Expert-gt-Undefined-Reference-in-Peripheral-Init/m-p/275875#M9871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm starting a new Kinetis project with the MKL15Z128VFM4.&amp;nbsp; I'm using Processor Expert (PE) on another Kinetis project for some lower level peripheral initialization components, but I'm having trouble with this project.&amp;nbsp; PE compiles fine, but when I include a PDD routine (in my case one of the GPIO or ADC routines) I get an "undefined reference" error to that routine.&amp;nbsp; If I use the higher level components, it compiles and works fine.&amp;nbsp; Is there anything obvious I need to setup first?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, when I add the following to my main(), I get the error "undefined reference to 'ADC_PDD_StartCalibration'.&lt;/P&gt;&lt;P&gt;ADC_PDD_StartCalibration(ADC0_DEVICE);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have CW 10.4 and just made sure everything else is up-to-date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2013 16:34:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Processor-Expert-gt-Undefined-Reference-in-Peripheral-Init/m-p/275875#M9871</guid>
      <dc:creator>KevinRosenbaum</dc:creator>
      <dc:date>2013-10-11T16:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: Processor Expert -&gt; Undefined Reference in Peripheral Init</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Processor-Expert-gt-Undefined-Reference-in-Peripheral-Init/m-p/275876#M9872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi KevinRosenbaum,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; After reading your problem, I create a CW project based on PE. After test, I think if you want to use PDD, two points you should take care.Now I still take ADC_PDD as an example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, You should include the PDD.h which you used in your main.c&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you use the ADC_PDD_StartCalibration(ADC0_DEVICE); Add the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #include "ADC_PDD.h"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Because ADC_PDD_StartCalibration() is defined in ADC_PDD.h as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #define ADC_PDD_StartCalibration(PeripheralBase) ( \&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ADC_SC3_REG(PeripheralBase) |= \&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ADC_SC3_CAL_MASK \&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, Make sure your ADC0_DEVICE is the correct peripheral base address.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; eg, I use ADC_PDD_StartCalibration(ADC0_BASE_PTR);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; you can find ADC0_BASE_PTR in the IO_Map.h&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After these 2 points, I compile the project with no error!&lt;/P&gt;&lt;P&gt;I hope my answer helps you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards!&lt;/P&gt;&lt;P&gt;Jing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Oct 2013 05:09:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Processor-Expert-gt-Undefined-Reference-in-Peripheral-Init/m-p/275876#M9872</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2013-10-12T05:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: Processor Expert -&gt; Undefined Reference in Peripheral Init</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Processor-Expert-gt-Undefined-Reference-in-Peripheral-Init/m-p/275877#M9873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That was it.&amp;nbsp; Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Oct 2013 18:24:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Processor-Expert-gt-Undefined-Reference-in-Peripheral-Init/m-p/275877#M9873</guid>
      <dc:creator>KevinRosenbaum</dc:creator>
      <dc:date>2013-10-14T18:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: Processor Expert -&gt; Undefined Reference in Peripheral Init</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Processor-Expert-gt-Undefined-Reference-in-Peripheral-Init/m-p/275878#M9874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;you are welcome!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 09:00:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Processor-Expert-gt-Undefined-Reference-in-Peripheral-Init/m-p/275878#M9874</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2013-10-15T09:00:20Z</dc:date>
    </item>
  </channel>
</rss>

