<?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 Re: [LPC1343] Uart send in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Uart-send/m-p/582533#M25478</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Rob65 on Tue Apr 19 14:21:01 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;some nice info. I've read some stuff that I've never seen before.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Not new to programming (I built my first 6502 machine way back in 1981) but I was used to command line tools where I had to create my own makefiles, dependencies, linked scripts etc. Even with &amp;gt; 10 years of experience with ARM processors (I used to be more fluent in ARM assembly than in C) this thread contains some nice info - [B]Thanks![/B]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am one of these guys that love to stay as close to the silicon as possible and as such I have been programming a lot of low level stuff like startup code, drivers for hardware IP blocks (like I2C, Uart, SPI, PWM etc).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When programming in C I mostly start with figuring out how to best do a job.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;One trick - already mentioned - is to get rid of floats. I use integers or fixed point math. Just as an example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I created a speedometer for my bike (it's more of a complete board computer) and I wanted to count my total distance in meters/kilometers. One 32 bits integer will store up to 2^32 meters which is more than enough &lt;SPAN class="lia-unicode-emoji" title=":winking_face:"&gt;&lt;LI-EMOJI id="lia_winking-face" title=":winking_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My wheel size is measured in mm (2026 mm/revolution) and I have been thinking how to do this without using floats or loosing precision.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Easy: take a second variable to count the number of revolutions. As soon as I reach 1000 revolutions I add 2026 to my traveled distance (odo) - Since 1000 (revolutions) x 2026 (mm) = 2026 meters that is perfectly legal without loosing any precision.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
void sensor_irq(void)
{
&amp;nbsp;&amp;nbsp;&amp;nbsp; if(revs++ &amp;gt; 999)
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; odo_meters += wheelsize;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; revs -= 1000;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
}
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;SPAN&gt;Is as simple as the irq which is called for every sensor tick is.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Not completely - I also keep track of the time (in msec resolution) at which the irq is triggered.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My current speed now is wheelsize / time. Wheelsize in mm, time in msec gives the speed in mm/msec which equals m/s. 1 m/s equals 3.6 km/hour (3600 * 1m = 3.6 km) so by calculating the speed as:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;speed = wheelsize * 36 / time&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I get the speed in a 0.1 km/hour resolution. All this in 25 lines of C code or 200 bytes of memory storage.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Placing the decimal point at the right place is all it takes to give the user a feeling of floating point math.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As soon as Lithium discovers what this can mean to his application ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And wait to see what happens when he discovers the possibilities of the debugger :eek: (you should really try single stepping through blinky, look at variables, place breakpoints, start learning what LPCXpresso can mean for your program development).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I could talk for hours about this kind of stuff and if there are enough persons in the Netherlands willing to listen I could be persuaded to do this in front of a group &lt;SPAN class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;&lt;LI-EMOJI id="lia_grinning-face-with-smiling-eyes" title=":grinning_face_with_smiling_eyes:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rob &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(-at- myvoice -dot- nl or skype rob.65)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 22:40:14 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T22:40:14Z</dc:date>
    <item>
      <title>[LPC1343] Uart send</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Uart-send/m-p/582481#M25426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Lithium on Fri Apr 15 05:00:29 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi people,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to send data to my pc. I already found the example code for the 1343.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It sends the incomming chars back.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I already tried a few things but could not get it working. The only thing the lpc needs to do is send some integer value's to my pc. The communication between pc and lpc already works fine. I am using an zigbee module to send the data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The lpc does not need to read any incomming data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope someone could help me showing how to send integers to my pc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Lithium&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:39:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Uart-send/m-p/582481#M25426</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: [LPC1343] Uart send</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Uart-send/m-p/582482#M25427</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 Fri Apr 15 05:08:40 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;What's wrong with printf ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:39:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Uart-send/m-p/582482#M25427</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: [LPC1343] Uart send</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Uart-send/m-p/582483#M25428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Lithium on Fri Apr 15 05:09:58 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Ah okey,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Didn't know i can use that. I think i need the uart files to use printf?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:39:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Uart-send/m-p/582483#M25428</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: [LPC1343] Uart send</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Uart-send/m-p/582484#M25429</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 Fri Apr 15 05:19:20 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Lithium&lt;/STRONG&gt;&lt;BR /&gt;I think i need the uart files to use printf?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No, you just need a function, which uses your hardware to transmit. But I would suggest to use sample uart files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Printf is just doing the formating for you &lt;SPAN class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;&lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could also write your own function like itoa() to convert an integer to ascii.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt; 
#include "stdio.h"
...
// Function __write()
//
// Called by bottom level of printf routine within RedLib C library to write
// a character. With the default semihosting stub, this would write the character
// to the debugger console window .
int __write (int iFileHandle, uint8_t *pcBuffer, uint8_t iLength)
{
//this function is writing the printf buffer to uart
 UARTSend(pcBuffer,iLength);
 return iLength;
}
...
 unsigned int dummy;
 dummy =10;
...
 printf("Test: %d\n",dummy);
&amp;nbsp; &lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:39:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Uart-send/m-p/582484#M25429</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: [LPC1343] Uart send</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Uart-send/m-p/582485#M25430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Lithium on Fri Apr 15 06:32:32 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I now only see it back into the console not into my terminal.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sorry for my mis understanding but it is not clear for me if i need to include the uart files?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do i need to init uart? I think i need to tell the lpc what the baud rate is etc.?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:39:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Uart-send/m-p/582485#M25430</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: [LPC1343] Uart send</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Uart-send/m-p/582486#M25431</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 Fri Apr 15 06:44:12 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Obviously you are using Semihosting Lib. In this mode printf is printing to&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;your console. Use nohost Lib and printf tries to use __write function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/SwitchingCLibrary&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Of course you have to setup a&amp;nbsp; working uart before (so use uart files or do it in your own way)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:39:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Uart-send/m-p/582486#M25431</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: [LPC1343] Uart send</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Uart-send/m-p/582487#M25432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Lithium on Fri Apr 15 06:46:07 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Okey thanks :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That did the job, now its working perfect, i getting information to my comport.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:39:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Uart-send/m-p/582487#M25432</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: [LPC1343] Uart send</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Uart-send/m-p/582488#M25433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Lithium on Fri Apr 15 11:05:59 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry for the double post,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am now trying to import the files to my own project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Everything goed well until the debug mode. It say's there are error's but i do not see any red line or something.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When i delete the line printf..... the program works again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is my log:&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
**** Build of configuration Debug for project blinky ****

make all 
Building file: ../src/clkconfig.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -DDEBUG -D__USE_CMSIS=CMSISv1p30_LPC13xx -D__CODE_RED -D__REDLIB__ -I"C:\Users\Erik\Documents\lpcxpresso_3.6\workspace\quad\CMSISv1p30_LPC13xx\inc" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -mcpu=cortex-m3 -mthumb -MMD -MP -MF"src/clkconfig.d" -MT"src/clkconfig.d" -o"src/clkconfig.o" "../src/clkconfig.c"
Finished building: ../src/clkconfig.c
 
Building file: ../src/cr_startup_lpc13.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -DDEBUG -D__USE_CMSIS=CMSISv1p30_LPC13xx -D__CODE_RED -D__REDLIB__ -I"C:\Users\Erik\Documents\lpcxpresso_3.6\workspace\quad\CMSISv1p30_LPC13xx\inc" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -mcpu=cortex-m3 -mthumb -MMD -MP -MF"src/cr_startup_lpc13.d" -MT"src/cr_startup_lpc13.d" -o"src/cr_startup_lpc13.o" "../src/cr_startup_lpc13.c"
../src/cr_startup_lpc13.c: In function 'IntDefaultHandler':
../src/cr_startup_lpc13.c:369: warning: implicit declaration of function 'RC_interrupt'
Finished building: ../src/cr_startup_lpc13.c
 
Building file: ../src/gpio.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -DDEBUG -D__USE_CMSIS=CMSISv1p30_LPC13xx -D__CODE_RED -D__REDLIB__ -I"C:\Users\Erik\Documents\lpcxpresso_3.6\workspace\quad\CMSISv1p30_LPC13xx\inc" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -mcpu=cortex-m3 -mthumb -MMD -MP -MF"src/gpio.d" -MT"src/gpio.d" -o"src/gpio.o" "../src/gpio.c"
Finished building: ../src/gpio.c
 
Building file: ../src/i2c.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -DDEBUG -D__USE_CMSIS=CMSISv1p30_LPC13xx -D__CODE_RED -D__REDLIB__ -I"C:\Users\Erik\Documents\lpcxpresso_3.6\workspace\quad\CMSISv1p30_LPC13xx\inc" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -mcpu=cortex-m3 -mthumb -MMD -MP -MF"src/i2c.d" -MT"src/i2c.d" -o"src/i2c.o" "../src/i2c.c"
Finished building: ../src/i2c.c
 
Building file: ../src/main.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -DDEBUG -D__USE_CMSIS=CMSISv1p30_LPC13xx -D__CODE_RED -D__REDLIB__ -I"C:\Users\Erik\Documents\lpcxpresso_3.6\workspace\quad\CMSISv1p30_LPC13xx\inc" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -mcpu=cortex-m3 -mthumb -MMD -MP -MF"src/main.d" -MT"src/main.d" -o"src/main.o" "../src/main.c"
../src/main.c: In function 'main':
../src/main.c:352: warning: implicit declaration of function 'GPIOReadValue'
Finished building: ../src/main.c
 
Building file: ../src/timer32.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -DDEBUG -D__USE_CMSIS=CMSISv1p30_LPC13xx -D__CODE_RED -D__REDLIB__ -I"C:\Users\Erik\Documents\lpcxpresso_3.6\workspace\quad\CMSISv1p30_LPC13xx\inc" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -mcpu=cortex-m3 -mthumb -MMD -MP -MF"src/timer32.d" -MT"src/timer32.d" -o"src/timer32.o" "../src/timer32.c"
Finished building: ../src/timer32.c
 
Building file: ../src/uart.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -DDEBUG -D__USE_CMSIS=CMSISv1p30_LPC13xx -D__CODE_RED -D__REDLIB__ -I"C:\Users\Erik\Documents\lpcxpresso_3.6\workspace\quad\CMSISv1p30_LPC13xx\inc" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -mcpu=cortex-m3 -mthumb -MMD -MP -MF"src/uart.d" -MT"src/uart.d" -o"src/uart.o" "../src/uart.c"
Finished building: ../src/uart.c
 
Building target: blinky.axf
Invoking: MCU Linker
arm-none-eabi-gcc -nostdlib -L"C:\Users\Erik\Documents\lpcxpresso_3.6\workspace\quad\CMSISv1p30_LPC13xx\Debug" -Xlinker -Map=blinky.map -mcpu=cortex-m3 -mthumb -T "lpcxpresso1343_blinky_Debug.ld" -o"blinky.axf"&amp;nbsp; ./src/clkconfig.o ./src/cr_startup_lpc13.o ./src/gpio.o ./src/i2c.o ./src/main.o ./src/timer32.o ./src/uart.o&amp;nbsp;&amp;nbsp; -lCMSISv1p30_LPC13xx
d:/nxp/lpcxpresso_3.6/tools/bin/../lib/gcc/arm-none-eabi/4.3.3/../../../../arm-none-eabi/bin/ld.exe: blinky.axf section .text will not fit in region MFlash32
d:/nxp/lpcxpresso_3.6/tools/bin/../lib/gcc/arm-none-eabi/4.3.3/../../../../arm-none-eabi/bin/ld.exe: region MFlash32 overflowed by 2852 bytes
d:/nxp/lpcxpresso_3.6/tools/bin/../lib/gcc/arm-none-eabi/4.3.3/../../../../arm-none-eabi/lib/thumb2\libcr_c.a(__fillbuf.o): In function `__filbuf':
__fillbuf.c:(.text.(float, int, long, bool, float __restrict)+0xa8): undefined reference to `_Csyscall3'
__fillbuf.c:(.text.(float, int, long, bool, float __restrict)+0x126): undefined reference to `_Csys_read_'
__fillbuf.c:(.text.(float, int, long, bool, float __restrict)+0x1c8): undefined reference to `_Csyscall3'
__fillbuf.c:(.text.(float, int, long, bool, float __restrict)+0x1ee): undefined reference to `_Csyscall3'
__fillbuf.c:(.text.(float, int, long, bool, float __restrict)+0x208): undefined reference to `_Csyscall3'
d:/nxp/lpcxpresso_3.6/tools/bin/../lib/gcc/arm-none-eabi/4.3.3/../../../../arm-none-eabi/lib/thumb2\libcr_c.a(_deferredlazyseek.o): In function `__flsbuf':
_deferredlazyseek.c:(.text.(float, long, short, bool, float __restrict)+0x11c): undefined reference to `_Csyscall1'
d:/nxp/lpcxpresso_3.6/tools/bin/../lib/gcc/arm-none-eabi/4.3.3/../../../../arm-none-eabi/lib/thumb2\libcr_c.a(_ldexpl.o): In function `_ldexpl':
_ldexpl.c:(.text._ldexpl+0x34): undefined reference to `errno'
_ldexpl.c:(.text._ldexpl+0x3e): undefined reference to `errno'
d:/nxp/lpcxpresso_3.6/tools/bin/../lib/gcc/arm-none-eabi/4.3.3/../../../../arm-none-eabi/lib/thumb2\libcr_c.a(_writebuf.o): In function `_Cwritebuf':
_writebuf.c:(.text._Cwritebuf+0x2a): undefined reference to `_Csyscall3'
_writebuf.c:(.text._Cwritebuf+0x46): undefined reference to `_Csyscall3'
_writebuf.c:(.text._Cwritebuf+0x74): undefined reference to `_Csyscall1'
d:/nxp/lpcxpresso_3.6/tools/bin/../lib/gcc/arm-none-eabi/4.3.3/../../../../arm-none-eabi/lib/thumb2\libcr_c.a(alloc.o): In function `malloc':
alloc.c:(.text.malloc+0x98): undefined reference to `_sbrk'
d:/nxp/lpcxpresso_3.6/tools/bin/../lib/gcc/arm-none-eabi/4.3.3/../../../../arm-none-eabi/lib/thumb2\libcr_c.a(error.o): In function `perror':
error.c:(.text.perror+0xa): undefined reference to `errno'
error.c:(.text.perror+0xe): undefined reference to `errno'
d:/nxp/lpcxpresso_3.6/tools/bin/../lib/gcc/arm-none-eabi/4.3.3/../../../../arm-none-eabi/lib/thumb2\libcr_c.a(error.o): In function `__assert':
error.c:(.text.__assert+0x3a): undefined reference to `_Csyscall1'
d:/nxp/lpcxpresso_3.6/tools/bin/../lib/gcc/arm-none-eabi/4.3.3/../../../../arm-none-eabi/lib/thumb2\libcr_c.a(error.o): In function `_Csysdie':
error.c:(.text._Csysdie+0x2c): undefined reference to `_Csyscall3'
d:/nxp/lpcxpresso_3.6/tools/bin/../lib/gcc/arm-none-eabi/4.3.3/../../../../arm-none-eabi/lib/thumb2\libcr_c.a(fseek.o): In function `fseek':
fseek.c:(.text.fseek+0x2a): undefined reference to `_Csyscall1'
fseek.c:(.text.fseek+0xaa): undefined reference to `_Csyscall1'
d:/nxp/lpcxpresso_3.6/tools/bin/../lib/gcc/arm-none-eabi/4.3.3/../../../../arm-none-eabi/lib/thumb2\libcr_c.a(ftell.o): In function `ftell':
ftell.c:(.text.ftell+0x42): undefined reference to `errno'
ftell.c:(.text.ftell+0x46): undefined reference to `errno'
d:/nxp/lpcxpresso_3.6/tools/bin/../lib/gcc/arm-none-eabi/4.3.3/../../../../arm-none-eabi/lib/thumb2\libcr_c.a(stdlib.o): In function `exit':
stdlib.c:(.text.exit+0x30): undefined reference to `_Csyscall1'
d:/nxp/lpcxpresso_3.6/tools/bin/../lib/gcc/arm-none-eabi/4.3.3/../../../../arm-none-eabi/lib/thumb2\libcr_c.a(raise.o): In function `raise':
raise.c:(.text.raise+0x6): undefined reference to `_Csyscall0'
raise.c:(.text.raise+0x10): undefined reference to `_Csyscall2'
d:/nxp/lpcxpresso_3.6/tools/bin/../lib/gcc/arm-none-eabi/4.3.3/../../../../arm-none-eabi/lib/thumb2\libcr_c.a(fclose.o): In function `fclose':
fclose.c:(.text.fclose+0x4c): undefined reference to `_Csyscall1'
fclose.c:(.text.fclose+0x72): undefined reference to `_Csys_tmpnam_'
d:/nxp/lpcxpresso_3.6/tools/bin/../lib/gcc/arm-none-eabi/4.3.3/../../../../arm-none-eabi/lib/thumb2\libcr_c.a(remove.o): In function `remove':
remove.c:(.text.remove+0x6): undefined reference to `_Csyscall1'
d:/nxp/lpcxpresso_3.6/tools/bin/../lib/gcc/arm-none-eabi/4.3.3/../../../../arm-none-eabi/lib/thumb2\libcr_c.a(remove.o): In function `rename':
remove.c:(.text.rename+0xa): undefined reference to `_Csyscall2'
remove.c:(.text.rename+0x1c): undefined reference to `_Csyscall1'
collect2: ld returned 1 exit status
make: *** [blinky.axf] Error 1
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:39:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Uart-send/m-p/582488#M25433</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: [LPC1343] Uart send</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Uart-send/m-p/582489#M25434</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 Fri Apr 15 11:22:48 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;See:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/UndefinedReference&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:39:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Uart-send/m-p/582489#M25434</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: [LPC1343] Uart send</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Uart-send/m-p/582490#M25435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Lithium on Fri Apr 15 12:08:55 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to switch&amp;nbsp; to non semi but it does not have any effect.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;

**** Clean-only build of configuration Debug for project blinky ****

make clean 
rm -rf&amp;nbsp; ./src/clkconfig.o ./src/cr_startup_lpc13.o ./src/gpio.o ./src/i2c.o ./src/main.o ./src/timer32.o ./src/uart.o&amp;nbsp; ./src/clkconfig.d ./src/cr_startup_lpc13.d ./src/gpio.d ./src/i2c.d ./src/main.d ./src/timer32.d ./src/uart.d&amp;nbsp; blinky.axf
 

**** Build of configuration Debug for project blinky ****

make all 
Building file: ../src/clkconfig.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -DDEBUG -D__USE_CMSIS=CMSISv1p30_LPC13xx -D__CODE_RED -D__REDLIB__ -I"C:\Users\Erik\Documents\lpcxpresso_3.6\workspace\quad\CMSISv1p30_LPC13xx\inc" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -mcpu=cortex-m3 -mthumb -MMD -MP -MF"src/clkconfig.d" -MT"src/clkconfig.d" -o"src/clkconfig.o" "../src/clkconfig.c"
Finished building: ../src/clkconfig.c
 
Building file: ../src/cr_startup_lpc13.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -DDEBUG -D__USE_CMSIS=CMSISv1p30_LPC13xx -D__CODE_RED -D__REDLIB__ -I"C:\Users\Erik\Documents\lpcxpresso_3.6\workspace\quad\CMSISv1p30_LPC13xx\inc" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -mcpu=cortex-m3 -mthumb -MMD -MP -MF"src/cr_startup_lpc13.d" -MT"src/cr_startup_lpc13.d" -o"src/cr_startup_lpc13.o" "../src/cr_startup_lpc13.c"
../src/cr_startup_lpc13.c: In function 'IntDefaultHandler':
../src/cr_startup_lpc13.c:369: warning: implicit declaration of function 'RC_interrupt'
Finished building: ../src/cr_startup_lpc13.c
 
Building file: ../src/gpio.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -DDEBUG -D__USE_CMSIS=CMSISv1p30_LPC13xx -D__CODE_RED -D__REDLIB__ -I"C:\Users\Erik\Documents\lpcxpresso_3.6\workspace\quad\CMSISv1p30_LPC13xx\inc" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -mcpu=cortex-m3 -mthumb -MMD -MP -MF"src/gpio.d" -MT"src/gpio.d" -o"src/gpio.o" "../src/gpio.c"
Finished building: ../src/gpio.c
 
Building file: ../src/i2c.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -DDEBUG -D__USE_CMSIS=CMSISv1p30_LPC13xx -D__CODE_RED -D__REDLIB__ -I"C:\Users\Erik\Documents\lpcxpresso_3.6\workspace\quad\CMSISv1p30_LPC13xx\inc" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -mcpu=cortex-m3 -mthumb -MMD -MP -MF"src/i2c.d" -MT"src/i2c.d" -o"src/i2c.o" "../src/i2c.c"
Finished building: ../src/i2c.c
 
Building file: ../src/main.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -DDEBUG -D__USE_CMSIS=CMSISv1p30_LPC13xx -D__CODE_RED -D__REDLIB__ -I"C:\Users\Erik\Documents\lpcxpresso_3.6\workspace\quad\CMSISv1p30_LPC13xx\inc" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -mcpu=cortex-m3 -mthumb -MMD -MP -MF"src/main.d" -MT"src/main.d" -o"src/main.o" "../src/main.c"
../src/main.c: In function 'main':
../src/main.c:352: warning: implicit declaration of function 'GPIOReadValue'
Finished building: ../src/main.c
 
Building file: ../src/timer32.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -DDEBUG -D__USE_CMSIS=CMSISv1p30_LPC13xx -D__CODE_RED -D__REDLIB__ -I"C:\Users\Erik\Documents\lpcxpresso_3.6\workspace\quad\CMSISv1p30_LPC13xx\inc" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -mcpu=cortex-m3 -mthumb -MMD -MP -MF"src/timer32.d" -MT"src/timer32.d" -o"src/timer32.o" "../src/timer32.c"
Finished building: ../src/timer32.c
 
Building file: ../src/uart.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -DDEBUG -D__USE_CMSIS=CMSISv1p30_LPC13xx -D__CODE_RED -D__REDLIB__ -I"C:\Users\Erik\Documents\lpcxpresso_3.6\workspace\quad\CMSISv1p30_LPC13xx\inc" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -mcpu=cortex-m3 -mthumb -MMD -MP -MF"src/uart.d" -MT"src/uart.d" -o"src/uart.o" "../src/uart.c"
Finished building: ../src/uart.c
 
Building target: blinky.axf
Invoking: MCU Linker
arm-none-eabi-gcc -nostdlib -L"C:\Users\Erik\Documents\lpcxpresso_3.6\workspace\quad\CMSISv1p30_LPC13xx\Debug" -Xlinker -Map=blinky.map -mcpu=cortex-m3 -mthumb -T "blinky_Debug.ld" -o"blinky.axf"&amp;nbsp; ./src/clkconfig.o ./src/cr_startup_lpc13.o ./src/gpio.o ./src/i2c.o ./src/main.o ./src/timer32.o ./src/uart.o&amp;nbsp;&amp;nbsp; -lCMSISv1p30_LPC13xx
d:/nxp/lpcxpresso_3.6/tools/bin/../lib/gcc/arm-none-eabi/4.3.3/../../../../arm-none-eabi/bin/ld.exe: blinky.axf section .text will not fit in region MFlash32
d:/nxp/lpcxpresso_3.6/tools/bin/../lib/gcc/arm-none-eabi/4.3.3/../../../../arm-none-eabi/bin/ld.exe: region MFlash32 overflowed by 3368 bytes
collect2: ld returned 1 exit status
make: *** [blinky.axf] Error 1
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:39:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Uart-send/m-p/582490#M25435</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: [LPC1343] Uart send</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Uart-send/m-p/582491#M25436</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 Fri Apr 15 12:17:44 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Lithium&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;/arm-none-eabi/bin/ld.exe: blinky.axf section .text will not fit in region MFlash32&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you read this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your compiler is trying to tell you, that your program is too large for MFlash32 :eek::eek:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So reduce printf size with:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[COLOR=Red]Reducing codesize of printf[/COLOR]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/UsingPrintf&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:39:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Uart-send/m-p/582491#M25436</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: [LPC1343] Uart send</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Uart-send/m-p/582492#M25437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Lithium on Fri Apr 15 12:31:54 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have read that,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I only need to send int over uart.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I used #define CR_INTEGER_PRINTF but that didn't do the job. Still getting that error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can use puts, that does not give any error.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:39:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Uart-send/m-p/582492#M25437</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: [LPC1343] Uart send</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Uart-send/m-p/582493#M25438</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 Fri Apr 15 12:37:48 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Printf in INTEGER mode needs a few kB. So if your program is &amp;gt;24 kB without printf it could be a problem. Otherwise it should work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can also use Optimization :)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:39:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Uart-send/m-p/582493#M25438</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: [LPC1343] Uart send</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Uart-send/m-p/582494#M25439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Lithium on Fri Apr 15 12:41:22 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't even have more then 370 lines of code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Where can i see how big my program is?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using those libs: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#include "LPC13xx.h"&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;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#include "gpio.h"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#include "config.h"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#include "i2c.h"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#include "timer32.h"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#include "type.h"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#include "uart.h"&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:39:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Uart-send/m-p/582494#M25439</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: [LPC1343] Uart send</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Uart-send/m-p/582495#M25440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by larryvc on Fri Apr 15 12:47:56 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Zero&lt;/STRONG&gt;&lt;BR /&gt;Printf in INTEGER mode needs a few kB. So if your program is &amp;gt;24 kB without printf it could be a problem. Otherwise it should work.&lt;BR /&gt;You can also use Optimization :)&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Or you can use a chip with more memory.:rolleyes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you creating large arrays?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:39:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Uart-send/m-p/582495#M25440</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: [LPC1343] Uart send</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Uart-send/m-p/582496#M25441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Lithium on Fri Apr 15 12:50:20 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Where can i see how many memory my program uses?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have just 4 floats and 24 integers.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:39:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Uart-send/m-p/582496#M25441</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: [LPC1343] Uart send</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Uart-send/m-p/582497#M25442</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 Fri Apr 15 13:01:09 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;See:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/FlashRamSize&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:39:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Uart-send/m-p/582497#M25442</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: [LPC1343] Uart send</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Uart-send/m-p/582498#M25443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Lithium on Fri Apr 15 13:03:26 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Found it :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
&amp;nbsp; text&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bss&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dec&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hex&amp;nbsp;&amp;nbsp;&amp;nbsp; filename
&amp;nbsp; 16048&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 24&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 192&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 16264&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3f88&amp;nbsp;&amp;nbsp;&amp;nbsp; blinky.axf
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Don't know if that is very much?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:39:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Uart-send/m-p/582498#M25443</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: [LPC1343] Uart send</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Uart-send/m-p/582499#M25444</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 Fri Apr 15 13:09:06 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;It's half empty or half full.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:39:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Uart-send/m-p/582499#M25444</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: [LPC1343] Uart send</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Uart-send/m-p/582500#M25445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Lithium on Fri Apr 15 13:10:40 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Yeah i found it, i have 32K to program.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What can i do to use printf? i already used #define CR_INTEGER_PRINTF&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That did not have any effect, and i want to use communication.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Want to have some vars into my computer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:39:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Uart-send/m-p/582500#M25445</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:39:53Z</dc:date>
    </item>
  </channel>
</rss>

