<?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 MCUXpresso Link Errors on Code Bundle in MCUXpresso General</title>
    <link>https://community.nxp.com/t5/MCUXpresso-General/MCUXpresso-Link-Errors-on-Code-Bundle/m-p/969251#M2646</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I installed MCUXpresso 11.0.0 and imported the code bundle for the LPC845 via the file system.&amp;nbsp; When I try to build the multi_timer_blinky example I get link errors.&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/86571iFBFFB380BA224C06/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&gt;&lt;/P&gt;&lt;P&gt;I also tried building the peripherals_lib and received this error:&lt;/P&gt;&lt;P&gt;&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/86624i864221CAC35FF785/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried uninstalling and re-installing MCUXpresso several times, rebooting, etc. but it did not fix the problem.&amp;nbsp; Can you help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Aug 2019 15:52:00 GMT</pubDate>
    <dc:creator>kk7xo</dc:creator>
    <dc:date>2019-08-08T15:52:00Z</dc:date>
    <item>
      <title>MCUXpresso Link Errors on Code Bundle</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/MCUXpresso-Link-Errors-on-Code-Bundle/m-p/969251#M2646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I installed MCUXpresso 11.0.0 and imported the code bundle for the LPC845 via the file system.&amp;nbsp; When I try to build the multi_timer_blinky example I get link errors.&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/86571iFBFFB380BA224C06/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&gt;&lt;/P&gt;&lt;P&gt;I also tried building the peripherals_lib and received this error:&lt;/P&gt;&lt;P&gt;&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/86624i864221CAC35FF785/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried uninstalling and re-installing MCUXpresso several times, rebooting, etc. but it did not fix the problem.&amp;nbsp; Can you help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2019 15:52:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/MCUXpresso-Link-Errors-on-Code-Bundle/m-p/969251#M2646</guid>
      <dc:creator>kk7xo</dc:creator>
      <dc:date>2019-08-08T15:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXpresso Link Errors on Code Bundle</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/MCUXpresso-Link-Errors-on-Code-Bundle/m-p/969252#M2647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/kk7xo@yahoo.com"&gt;kk7xo@yahoo.com&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try to import the example through this option:&lt;/P&gt;&lt;P&gt;&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/86628i8EFD3C70336CFC96/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&gt;This tab will open, then you have to select the device you are using; in this case it is an LPC845.&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/86716i9ADB94A50EC16C37/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There you should select the example you want and &lt;EM&gt;common, peripherals &lt;/EM&gt;and &lt;EM&gt;utilities.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/86746i869C5C2B9A24485C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Importing those 4 files into your workspace will allow you avoid the errors you had.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P lang="es-MX"&gt;Let me know if this helps&lt;/P&gt;&lt;P lang="es-MX"&gt;Best regards&lt;/P&gt;&lt;P lang="es-MX"&gt;&amp;nbsp;&lt;/P&gt;&lt;P lang="es-MX"&gt;Omar&lt;/P&gt;&lt;P lang="es-MX"&gt;&lt;/P&gt;&lt;P lang="es-MX"&gt;--------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P lang="es-MX"&gt;Note:&lt;/P&gt;&lt;P lang="es-MX"&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P lang="es-MX"&gt;--------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2019 23:21:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/MCUXpresso-Link-Errors-on-Code-Bundle/m-p/969252#M2647</guid>
      <dc:creator>Omar_Anguiano</dc:creator>
      <dc:date>2019-08-08T23:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXpresso Link Errors on Code Bundle</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/MCUXpresso-Link-Errors-on-Code-Bundle/m-p/969253#M2648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Omar.&amp;nbsp; Thanks for responding to my post.&amp;nbsp; The procedure you presented above is exactly the procedure I followed after installing MCUXpresso, as I stated in my original post.&amp;nbsp; The only difference is that I selected all examples, not just 4.&amp;nbsp; Should I try to install just those 4 examples instead of importing all of them?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oh, I forgot to mention, I installed MCUXpresso on Ubuntu 18.04.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Albert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2019 02:29:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/MCUXpresso-Link-Errors-on-Code-Bundle/m-p/969253#M2648</guid>
      <dc:creator>kk7xo</dc:creator>
      <dc:date>2019-08-09T02:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXpresso Link Errors on Code Bundle</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/MCUXpresso-Link-Errors-on-Code-Bundle/m-p/969254#M2649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-content-finding="Community" data-objectid="344316" data-objecttype="3" href="https://community.nxp.com/people/kk7xo@yahoo.com"&gt;Albert Pion&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you build the example please make sure that common, peripherals and utilities are open.&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/87560i3FF671295DC19C34/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&gt;&lt;/P&gt;&lt;P&gt;Let me know if this helps. If you have another specific question do not hesitate to ask me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Omar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Aug 2019 19:55:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/MCUXpresso-Link-Errors-on-Code-Bundle/m-p/969254#M2649</guid>
      <dc:creator>Omar_Anguiano</dc:creator>
      <dc:date>2019-08-13T19:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXpresso Link Errors on Code Bundle</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/MCUXpresso-Link-Errors-on-Code-Bundle/m-p/969255#M2650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Omar.&amp;nbsp; All projects, including the ones you mentioned, were open and the build still fails.&amp;nbsp; However, I did find the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem occurs when compiling peripherals_lib.&amp;nbsp; gpio.c compiles correctly, then the compilation of i2c.c fails as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;13:54:22 **** Build of configuration flash for project peripherals_lib ****&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;make -r all &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;Building file: ../src/gpio.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;Invoking: MCU C Compiler&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;arm-none-eabi-gcc -D__REDLIB__ -D__USE_CMSIS -DDEBUG -D__CODE_RED -DCORE_M0PLUS -DCR_INTEGER_PRINTF -D__LPC84X__ -I"/home/albert/Documents/MCUXpresso_11.0.0_2516/workspace/peripherals_lib/inc" -I"/home/albert/Documents/MCUXpresso_11.0.0_2516/workspace/utilities_lib/inc" -I"/home/albert/Documents/MCUXpresso_11.0.0_2516/workspace/common/inc" -O0 -fno-common -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m0 -mthumb -D__REDLIB__ -fstack-usage -specs=redlib.specs -MMD -MP -MF"src/gpio.d" -MT"src/gpio.o" -MT"src/gpio.d" -o "src/gpio.o" "../src/gpio.c"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;Finished building: ../src/gpio.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;Building file: ../src/i2c.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;Invoking: MCU C Compiler&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;arm-none-eabi-gcc -D__REDLIB__ -D__USE_CMSIS -DDEBUG -D__CODE_RED -DCORE_M0PLUS -DCR_INTEGER_PRINTF -D__LPC84X__ -I"/home/albert/Documents/MCUXpresso_11.0.0_2516/workspace/peripherals_lib/inc" -I"/home/albert/Documents/MCUXpresso_11.0.0_2516/workspace/utilities_lib/inc" -I"/home/albert/Documents/MCUXpresso_11.0.0_2516/workspace/common/inc" -O0 -fno-common -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m0 -mthumb -D__REDLIB__ -fstack-usage -specs=redlib.specs -MMD -MP -MF"src/i2c.d" -MT"src/i2c.o" -MT"src/i2c.d" -o "src/i2c.o" "../src/i2c.c"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;In file included from ../src/i2c.c:10:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;/home/albert/Documents/MCUXpresso_11.0.0_2516/workspace/peripherals_lib/inc/i2c.h:24:10: fatal error: lpc8xx.h: No such file or directory&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;&amp;nbsp;#include "lpc8xx.h"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ^~~~~~~~~~&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;compilation terminated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;src/subdir.mk:27: recipe for target 'src/i2c.o' failed&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;make: *** [src/i2c.o] Error 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;"make -r all" terminated with exit code 2. Build might be incomplete.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;13:54:22 Build Failed. 3 errors, 0 warnings. (took 495ms)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;Here is how I fixed it.&amp;nbsp; In i2c.h, find the following include statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#include "lpc8xx.h"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This statement fails on Linux because the search is case sensitive, and the file it is searching for is named LPC8xx.h (capital letters on LPC) contained in common.&amp;nbsp; I believe this will not fail under Windows because Windows is not case-sensitive about file names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that i2c.c and gpio.c both have the correct include statement, but i2c.h does not, and i2c.h is encountered during the compilation of i2c.c.&amp;nbsp; Since the compiler cannot find lpc8xx.h it flags an error and the peripherals library is not built.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I changed the include statement in i2c.h from lpc8xx.h to LPC8xx.h and now everything works. :smileyhappy:&lt;/P&gt;&lt;P&gt;Also, I found another instance of the same problem:&amp;nbsp; In the Ctimer_PWM example, Ctimer_PWM_main.c includes Ctimer_PWM.h, however the file is actually named Ctimer_pwm.h.&amp;nbsp; Also, Ctimer_PWM_main.c includes SWM.h but the file is actually named swm.h.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suspect there are more of these, so it might be worth checking the other examples.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your assistance, Omar, and please let the people at NXP know the problem so they can correct it on the next revision.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Aug 2019 20:59:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/MCUXpresso-Link-Errors-on-Code-Bundle/m-p/969255#M2650</guid>
      <dc:creator>kk7xo</dc:creator>
      <dc:date>2019-08-13T20:59:34Z</dc:date>
    </item>
  </channel>
</rss>

