<?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: How to know use limit program size?</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-know-use-limit-program-size/m-p/566041#M18271</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by R2D2 on Mon Apr 14 23:23:21 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Probably you are linking the wrong C library...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;See &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Ffaq%2Flpcxpresso%2Flinker-undefined-reference" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/faq/lpcxpresso/linker-undefined-reference&lt;/A&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 22:23:40 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T22:23:40Z</dc:date>
    <item>
      <title>How to know use limit program size?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-know-use-limit-program-size/m-p/566038#M18268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by fumio yoshizawa on Thu Apr 10 22:51:13 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to know about limit program size. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Because I met error at build phrase about this. (collect2.exe: error: ld returned 1 exit status)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Remove some routine and build I get this result.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;text&amp;nbsp;&amp;nbsp; data&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bss&amp;nbsp;&amp;nbsp;&amp;nbsp; dec&amp;nbsp;&amp;nbsp;&amp;nbsp; hex&amp;nbsp;&amp;nbsp;&amp;nbsp; filename&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4764&amp;nbsp;&amp;nbsp; 4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 448&amp;nbsp;&amp;nbsp;&amp;nbsp; 5216&amp;nbsp; 1460&amp;nbsp;&amp;nbsp; RS486_t1.axf&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My target board use LPC11U14(LPC11U14FBD48).&amp;nbsp; (Flash&amp;nbsp; 32kb , SRAM&amp;nbsp; 6kb) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;code_red info say.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the flash consumption of your application will then be text + data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the RAM consumption of your application will then be data + bss.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think still enough memory exist.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please tell me about cause of the error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Fumio Yoshizawa,&amp;nbsp; from Japan.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:23:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-know-use-limit-program-size/m-p/566038#M18268</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to know use limit program size?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-know-use-limit-program-size/m-p/566039#M18269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Thu Apr 10 23:43:08 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;What are the error messages emitted by the Linker?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:23:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-know-use-limit-program-size/m-p/566039#M18269</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to know use limit program size?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-know-use-limit-program-size/m-p/566040#M18270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by fumio yoshizawa on Mon Apr 14 22:34:15 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank's.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is a error message.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Building target: rs486-t2.axf&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Invoking: MCU Linker&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arm-none-eabi-gcc -nostdlib -L"C:\Users\fy3\Documents\LPCXpresso_7.1.1_125\workspace\rs-468-t2\CMSISv2p00_LPC11Uxx\Debug" -L"C:\Users\fy3\Documents\LPCXpresso_7.1.1_125\workspace\rs-468-t2\LPC11Uxx_Driver_Lib\Debug" -Xlinker -Map="rs486-t2.map" -Xlinker --gc-sections -mcpu=cortex-m0 -mthumb -T "rs486-t2_Debug.ld" -o "rs486-t2.axf"&amp;nbsp; ./src/aeabi_romdiv_patch.o ./src/cr_startup_lpc11uxx.o ./src/crp.o ./src/i2c.o ./src/main.o ./src/rs485.o&amp;nbsp;&amp;nbsp; -lCMSISv2p00_LPC11Uxx -lLPC11Uxx_Driver_Lib&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;c:/nxp/lpcxpresso_7.1.1_125/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.8.3/../../../../arm-none-eabi/lib/armv6-m\libcr_c.a(fpprintf.o): In function `printf':&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;fpprintf.c:(.text.printf+0x38): undefined reference to `__sys_write'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;c:/nxp/lpcxpresso_7.1.1_125/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.8.3/../../../../arm-none-eabi/lib/armv6-m\libcr_c.a(_deferredlazyseek.o): In function `__flsbuf':&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;_deferredlazyseek.c:(.text.__flsbuf+0x88): undefined reference to `__sys_istty'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;c:/nxp/lpcxpresso_7.1.1_125/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.8.3/../../../../arm-none-eabi/lib/armv6-m\libcr_c.a(_writebuf.o): In function `_Cwritebuf':&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;_writebuf.c:(.text._Cwritebuf+0x16): undefined reference to `__sys_flen'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;_writebuf.c:(.text._Cwritebuf+0x26): undefined reference to `__sys_seek'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;_writebuf.c:(.text._Cwritebuf+0x3a): undefined reference to `__sys_write'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;c:/nxp/lpcxpresso_7.1.1_125/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.8.3/../../../../arm-none-eabi/lib/armv6-m\libcr_c.a(alloc.o): In function `_Csys_alloc':&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;alloc.c:(.text._Csys_alloc+0xe): undefined reference to `__sys_write'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;alloc.c:(.text._Csys_alloc+0x12): undefined reference to `__sys_appexit'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;c:/nxp/lpcxpresso_7.1.1_125/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.8.3/../../../../arm-none-eabi/lib/armv6-m\libcr_c.a(fseek.o): In function `fseek':&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;fseek.c:(.text.fseek+0x16): undefined reference to `__sys_istty'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;fseek.c:(.text.fseek+0x3a): undefined reference to `__sys_flen'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;collect2.exe: error: ld returned 1 exit status&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;make: *** [rs486-t2.axf] Error 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I add one subrutine like this. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:23:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-know-use-limit-program-size/m-p/566040#M18270</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to know use limit program size?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-know-use-limit-program-size/m-p/566041#M18271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by R2D2 on Mon Apr 14 23:23:21 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Probably you are linking the wrong C library...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;See &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Ffaq%2Flpcxpresso%2Flinker-undefined-reference" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/faq/lpcxpresso/linker-undefined-reference&lt;/A&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:23:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-know-use-limit-program-size/m-p/566041#M18271</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to know use limit program size?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-know-use-limit-program-size/m-p/566042#M18272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by thommaughan on Thu Mar 10 17:46:10 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I had the same problem with a copied project (create new project and then copy src files) and after following the FAQ found I had C-&amp;gt;Misc as Redlib(auto) and Assembler-&amp;gt;Arch as Redlib(auto), BUT in the Linker-&amp;gt;Manged Linker Script I had Redlib(none), I changed it to Redlib(no host) and all was well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thom&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:23:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-know-use-limit-program-size/m-p/566042#M18272</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:23:40Z</dc:date>
    </item>
  </channel>
</rss>

