Sign in

username:

password:



Not a member?

Search lpc2000



Search tips

Subscribe to lpc2000



lpc2000 by Keywords

2106 | ADC | ARM7 | Atmel | Bootloader | CAN | CrossStudio | CrossWorks | DDS | ECos | Ethernet | ETM | FIFO | FLASH | FPGA | GCC | GDB | GNU | GNUARM | GPIO | I2C | IAP | IAR | JTAG | Kickstart | LCD | Linux | LPC | LPC-E2294 | LPC2000 | LPC2100 | LPC2104 | Lpc2106 | Lpc210x | LPC2114 | LPC2119 | LPC2124 | LPC2129 | Lpc2138 | LPC213x | LPC21xx | LPC2210 | LPC2212 | LPC2214 | LPC2292 | LPC2294 | LPC2xxx | LPC3128 | MCB2100 | Olimex | Philips | PWM | Rowley | RTC | RTOS | SPI | SSP | UART | UART0 | UART1 | ULINK | USB | Watchdog | Wiggler

Ads

Discussion Groups

Discussion Groups | LPC2000 | GCC & LPC2100

Discussion group dedicated to the Philips LPC2000 family of ARM MCUs

GCC & LPC2100 - Andreas Schwarz - Mar 10 19:15:00 2004

Hello,

is there a howto for GCC + LPC2100? I have built binutils, gcc and
newlib under linux, what else do I need to really use the compiler for
LPC2106 software development? init code? Linker script? Where do I get
it, how do I use it? Is there anything else I have to take care of?

Thanks
Andreas





(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )


Re: GCC & LPC2100 - Robert Adsett - Mar 10 22:46:00 2004

At 12:15 AM 3/11/04 +0000, you wrote:
>is there a howto for GCC + LPC2100? I have built binutils, gcc and
>newlib under linux, what else do I need to really use the compiler for
>LPC2106 software development? init code? Linker script? Where do I get
>it, how do I use it? Is there anything else I have to take care of?

As you suggested you will need a linker script and initialization
code. There are some examples in the files section. The most basic init
code just sets up the exception vectors and initializes memory and stack.

If you are going to use stdio or memory allocation then you have to adapt
newlib for the target. I've got a simple adaption available at
http://www.aeolusdevelopment.com/Articles/download.html It also includes a
simple linker script, init code (ctr0.s) and header file for the 210x. Robert

" 'Freedom' has no meaning of itself. There are always restrictions,
be they legal, genetic, or physical. If you don't believe me, try to
chew a radio signal. "

Kelvin Throop, III




(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )