<?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>LPCXpresso IDEのトピックRe: Undefined reference to 'SystemCoreClock' in uart.c</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Undefined-reference-to-SystemCoreClock-in-uart-c/m-p/536763#M5192</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by atomicdog on Tue May 29 11:47:55 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have the cmsis library linked in?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 00:22:35 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T00:22:35Z</dc:date>
    <item>
      <title>Undefined reference to 'SystemCoreClock' in uart.c</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Undefined-reference-to-SystemCoreClock-in-uart-c/m-p/536762#M5191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by ALX34 on Tue May 29 09:24:15 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello everybody,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I try to use uart.c from examples.LPC17xx.zip&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But when I use UARTInit I got Undefined reference to 'SystemCoreClock' error and i don't know why .:mad:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there anyone can help me ??&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:22:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Undefined-reference-to-SystemCoreClock-in-uart-c/m-p/536762#M5191</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: Undefined reference to 'SystemCoreClock' in uart.c</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Undefined-reference-to-SystemCoreClock-in-uart-c/m-p/536763#M5192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by atomicdog on Tue May 29 11:47:55 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have the cmsis library linked in?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:22:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Undefined-reference-to-SystemCoreClock-in-uart-c/m-p/536763#M5192</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: Undefined reference to 'SystemCoreClock' in uart.c</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Undefined-reference-to-SystemCoreClock-in-uart-c/m-p/536764#M5193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by ALX34 on Wed May 30 00:00:50 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes I linked the CMSISv1p30_LPC17xx library and the compilation worked well until I use UARTInit function.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:22:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Undefined-reference-to-SystemCoreClock-in-uart-c/m-p/536764#M5193</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: Undefined reference to 'SystemCoreClock' in uart.c</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Undefined-reference-to-SystemCoreClock-in-uart-c/m-p/536765#M5194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by NXP_Europe on Wed May 30 00:19:27 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What do you mean by "until I use UARTInit function"?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The UART project is an example project, file "main.c" calls this function on startup. Do you mean you made your own project in which you want to use functions from uart.c?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SystemCoreClock is defined in files system_LPC17xx.c / system_LPC17xx.h (from the CMSIS project) which needs to be included when compiling. The UART example has all settings correct by default and should compile right away.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:22:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Undefined-reference-to-SystemCoreClock-in-uart-c/m-p/536765#M5194</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: Undefined reference to 'SystemCoreClock' in uart.c</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Undefined-reference-to-SystemCoreClock-in-uart-c/m-p/536766#M5195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by ALX34 on Wed May 30 01:03:08 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your fast reply,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes I made my own project and I included uart.c (+ uart.h) and the CMSIS project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I said "until I use UARTInit function" I mean when I call other function from uart.c like UARTSend I got no problem but when I call UARTInit I got this error. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However I use it like in main.c of uart project.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:22:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Undefined-reference-to-SystemCoreClock-in-uart-c/m-p/536766#M5195</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: Undefined reference to 'SystemCoreClock' in uart.c</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Undefined-reference-to-SystemCoreClock-in-uart-c/m-p/536767#M5196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lyncas on Wed May 30 06:08:52 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: ALX34&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Yes I made my own project and I included uart.c (+ uart.h) and the CMSIS project.&lt;BR /&gt; &lt;BR /&gt;When I said "until I use UARTInit function" I mean when I call other function from uart.c like UARTSend I got no problem but when I call UARTInit I got this error. &lt;BR /&gt;However I use it like in main.c of uart project.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you made your own project,&amp;nbsp; read this thread,&amp;nbsp; I posted a linker setting that you should check to fix the SystemCoreClock problem&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://knowledgebase.nxp.com/showthread.php?t=463&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:22:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Undefined-reference-to-SystemCoreClock-in-uart-c/m-p/536767#M5196</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: Undefined reference to 'SystemCoreClock' in uart.c</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Undefined-reference-to-SystemCoreClock-in-uart-c/m-p/536768#M5197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by NXP_Europe on Wed May 30 08:32:22 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;There is a much simpler solution than adding own linker scripts...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Import CMSIS project into workspace.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Choose new project -&amp;gt; "LPCXpresso C project".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- In the final step of the wizard point to the CMSIS project where it sais "CMSIS library to link project to".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Copy uart.c, uart.h and type.h to the new project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Add location of uart.h and type.h to the search path.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Build the project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Or, even simpler, just edit the main.c of the UART example.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:22:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Undefined-reference-to-SystemCoreClock-in-uart-c/m-p/536768#M5197</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:22:38Z</dc:date>
    </item>
  </channel>
</rss>

