alex svetek wrote: >Hello all, > >I am also starting with ARM's (LPC2138) and i would like to know if I can use newlib-lpc for my processor. > > > I use newlib, it drives the RDCF2 FAT filesystem for the SD card, and newlib functions are used extensively throughout the code: memcpy, strncmp, etc. I don't use newlib-lpc only out of how I write code, I would prefer to write my own extensions to a library so that I can quickly fix any problems later rather than spend time learning what someone else wrote. Newlib is essentially a foundational library of common functions: memcpy, strcmp, strcpy, etc. It also embodies higher level code such as printf, scanf, etc. For myself, I use the file streams logic (fopen, fread, fputs) to implement a FAT 12/16 filesystem layer. Rather than write my own stream code, it is more convenient to use what is already there. Details on building a set of development tools is at: http://www.openhardware.net/?title=ARM%20Thumb%20tools%20for%20LPC2000&dir=ArmTools&file=ThumbToolchain.html newlib is also used with the LPC2106 processor on my board. TomW -- Tom Walsh - WN3L - Embedded Systems Consultant http://openhardware.net, http://cyberiansoftware.com "Windows? No thanks, I have work to do..." ----------------------------------------------------
Message
Re: [lpc2000] Another newlib question
2006-03-25 by Tom Walsh
Attachments
- No local attachments were found for this message.