<?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: Debug is OK,  Release</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Debug-is-OK-Release/m-p/576142#M22631</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Mon Nov 15 16:44:56 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;[FONT=Courier New][SIZE=2]c:/nxp/lpcxpresso_3.5/tools/bin/../lib/gcc/arm-none-eabi/4.3.3/../../../../arm-none-eabi/bin/ld.exe: cannot find -lCMSISv1p30_LPC17xx[/SIZE][/FONT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You have to compile also a 'Release' version of CMSISv1p30_LPC17xx. Obviously this Lib cannot be found.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 01:11:12 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T01:11:12Z</dc:date>
    <item>
      <title>Debug is OK,  Release</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Debug-is-OK-Release/m-p/576141#M22630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by MikeHalo on Mon Nov 15 15:33:39 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hopefully a simple one for someone to answer, but I'm stumped!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using the 1768 xpresso board, I have been running in debug configuration for a while and all is fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm now (unsucessfully) trying to use the CAN port, and I think one problem I have might be the clock speeds, so I change the PLL0CFG_Val and CCLKCFG_Val (I'm using CMSIS), but the clock value doesn't change.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I then think that this may be because I'm in debug mode (where a crystal clock doesn't mean much when single-stepping), so I right-click on the project and choose 'build configurations -&amp;gt; set active -&amp;gt; release'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I build the project now, I get the following error from the linker:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[SIZE=2][FONT=Courier New]Invoking: MCU Linker&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arm-none-eabi-gcc -nostdlib -L"" -Xlinker -Map=Mike1768CAN.map -Xlinker --gc-sections -mcpu=cortex-m3 -mthumb -T "Mike1768CAN_Release.ld" -o"Mike1768CAN.axf"&amp;nbsp; ./src/IRQ.o ./src/VSM.o ./src/can.o ./src/cr_startup_lpc17.o ./src/main.o&amp;nbsp;&amp;nbsp; -lCMSISv1p30_LPC17xx&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;c:/nxp/lpcxpresso_3.5/tools/bin/../lib/gcc/arm-none-eabi/4.3.3/../../../../arm-none-eabi/bin/ld.exe: cannot find -lCMSISv1p30_LPC17xx&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;collect2: ld returned 1 exit status&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arm-none-eabi-gcc.exe: unrecognized option '-Map=Mike1768CAN.map'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;make: *** [Mike1768CAN.axf] Error 1[/FONT][/SIZE]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What am I missing? The [SIZE=2][FONT=Courier New]CMSISv1p30_LPC17xx [/FONT][/SIZE]file is where it's always been ;-) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How can the same code compile, link, download and run in 'debug' configuration but not in 'release'?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help at all would be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:11:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Debug-is-OK-Release/m-p/576141#M22630</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: Debug is OK,  Release</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Debug-is-OK-Release/m-p/576142#M22631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Mon Nov 15 16:44:56 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;[FONT=Courier New][SIZE=2]c:/nxp/lpcxpresso_3.5/tools/bin/../lib/gcc/arm-none-eabi/4.3.3/../../../../arm-none-eabi/bin/ld.exe: cannot find -lCMSISv1p30_LPC17xx[/SIZE][/FONT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You have to compile also a 'Release' version of CMSISv1p30_LPC17xx. Obviously this Lib cannot be found.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:11:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Debug-is-OK-Release/m-p/576142#M22631</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Debug is OK,  Release</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Debug-is-OK-Release/m-p/576143#M22632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Tue Nov 16 01:39:09 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;As per Zero's response, if you build a project for release, you need to make sure that you have also built a release build of the CMSIS library (or any other library projects that your project is linked with).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The easiest way to make sure this happens is to change the build configuration of both projects (or perhaps all projects in your workspace) at the same time. For details of how to do this, see the FAQ:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/BuildConfigMultipleProjs&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CodeRedSupport&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:11:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Debug-is-OK-Release/m-p/576143#M22632</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Debug is OK,  Release</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Debug-is-OK-Release/m-p/576144#M22633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by MikeHalo on Tue Nov 16 05:36:46 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you both for your quick and helpful replies. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The answer is obvious when someone points it out to you ;-)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:11:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Debug-is-OK-Release/m-p/576144#M22633</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:11:13Z</dc:date>
    </item>
  </channel>
</rss>

