We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I opened C:\Keil\ARM\GNU\Examples\Blinky project and opened Project->manage->components..books dialog to set the GNUARM tools:select USE GNU compiler
GNU-tool-prefix:arm-none-eabi- cynus Folder: C:\Program Files\CodeSourcery\Sourcery G++ Lite
then Build target :
then a lot of error MSGs:
Build target 'MCB2100 Flash' assembling Startup.s... Assembler messages: Error: Error: can't open .FlashStartup.o for reading: No such file or directory compiling Serial.c... Serial.c(10): error: LPC21xx.h: No such file or directory Serial.c: In function 'init_serial': Serial.c(16): error: 'PINSEL0' undeclared (first use in this function) Serial.c(16): error: (Each undeclared identifier is reported only once Serial.c(16): error: for each function it appears in.) Serial.c(17): error: 'U1LCR' undeclared (first use in this function) Serial.c(18): error: 'U1DLL' undeclared (first use in this function) Serial.c: In function 'putchar': Serial.c(26): error: 'U1LSR' undeclared (first use in this function) Serial.c(27): error: 'U1THR' undeclared (first use in this function) Serial.c: In function 'getchar': Serial.c(36): error: 'U1LSR' undeclared (first use in this function) Serial.c(38): error: 'U1RBR' undeclared (first use in this function) arm-none-eabi-gcc: .Flashserial.o: No such file or directory compiling Blinky.c... Blinky.c(10): error: LPC21xx.h: No such file or directory Blinky.c: In function 'delay': Blinky.c(33): error: 'ADCR' undeclared (first use in this function) Blinky.c(33): error: (Each undeclared identifier is reported only once Blinky.c(33): error: for each function it appears in.) Blinky.c(35): error: 'ADDR' undeclared (first use in this function) Blinky.c: In function 'main': Blinky.c(53): error: 'IODIR1' undeclared (first use in this function) Blinky.c(54): error: 'ADCR' undeclared (first use in this function) Blinky.c(60): error: 'IOSET1' undeclared (first use in this function) Blinky.c(62): error: 'IOCLR1' undeclared (first use in this function) arm-none-eabi-gcc: .Flashblinky.o: No such file or directory Target not created
why???
http://www.keil.com/forum/docs/thread12738.asp