Content originally posted in LPCWare by furkan.yuksel on Tue May 31 23:38:59 MST 2011
Hi,
I'm imported blinky example (with CMSIS) but when I build it I get this error message;
---------------------------------------------------------------------------------
make all
Building file: ../src/blinky.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__USE_CMSIS=CMSISv1p30_LPC11xx -DDEBUG -D__CODE_RED -D__REDLIB__ -I"C:\Documents and Settings\xp\My Documents\lpcxpresso_3.6.3_317\workspace\CMSISv1p30_LPC11xx\inc" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -mcpu=cortex-m0 -mthumb -MMD -MP -MF"src/blinky.d" -MT"src/blinky.d" -o"src/blinky.o" "../src/blinky.c"
../src/blinky.c:31:21: error: timer16.h: No such file or directory
../src/blinky.c:32:23: error: clkconfig.h: No such file or directory
../src/blinky.c:33:18: error: gpio.h: No such file or directory
../src/blinky.c: In function 'main':
../src/blinky.c:53: warning: implicit declaration of function 'GPIOInit'
../src/blinky.c:63: warning: implicit declaration of function 'init_timer16'
../src/blinky.c:69: warning: implicit declaration of function 'enable_timer16'
../src/blinky.c:72: warning: implicit declaration of function 'GPIOSetDir'
../src/blinky.c:80: warning: implicit declaration of function 'GPIOSetValue'
make: *** [src/blinky.o] Error 1
------------------------------------------------------------------------------
I thing this problem is about GCC. How can I get rid of it?