NUC120 port CM0 -> error compiling LPC11xx CM0 demo
Posted: Tue Oct 11, 2011 8:24 am
Hello,
I am trying to port ChibiOS to NUC120 series (specifically to NUC120LE3AN) because I got the development board from the manufacturer Nuvoton.
It is an ARM Cortex M0 core, so I have followed instructions and made subfolders from LPC11xx board/ os/port/ /demos/ and did some changes in path names, etc.
I also changed the linker script slightly to match NUC120 (CooCox IDE has support for NUC series of processors, so I used that for values since under CooCox IDE I did some bare metal code running on the board so linker script and vectors/startup file is OK and used LPC11 from ChibiOS). My port is started but it is far from finished....my first goal is to just compile and main() would have while(true) loop only. Then next step would be to deal with HAL for GPIO, etc.
Anyhow, problem I have on my system is in compilation. I have tried then to compile LPC11xx demo under command line and get the same problem. I am using latest Yagarto + Yagarto tools.
arm-none-eabi-gcc -c -mcpu=cortex-m0 -O2 -ggdb -fomit-frame-pointer -ffunction-s
ections -fdata-sections -Wall -Wextra -Wstrict-prototypes -Wa,-alms=../../os/por
ts/GCC/ARMCMx/LPC11xx/vectors.lst -DLPC1114 -D__NEWLIB__ -DTHUMB_PRESENT -mno-t
humb-interwork -DTHUMB_NO_INTERWORKING -MD -MP -MF .dep/vectors.o.d -mthumb -DTH
UMB -I . -I../../os/ports/GCC/ARMCMx -I../../os/ports/GCC/ARMCMx/LPC11xx -I../..
/os/kernel/include -I../../test -I../../os/hal/include -I../../os/hal/platforms/
LPC11xx -I../../boards/EA_LPCXPRESSO_BB_1114 -I../../os/various ../../os/ports/G
CC/ARMCMx/LPC11xx/vectors.c -o ../../os/ports/GCC/ARMCMx/LPC11xx/vectors.o
../../os/ports/GCC/ARMCMx/LPC11xx/vectors.c:174:1: fatal error: opening dependen
cy file .dep/vectors.o.d: No such file or directory
compilation terminated.
make: *** [../../os/ports/GCC/ARMCMx/LPC11xx/vectors.o] Error 1
Same is when I compile basically almost 100% same code for my NUC120 port.
Any ideas?
I am trying to port ChibiOS to NUC120 series (specifically to NUC120LE3AN) because I got the development board from the manufacturer Nuvoton.
It is an ARM Cortex M0 core, so I have followed instructions and made subfolders from LPC11xx board/ os/port/ /demos/ and did some changes in path names, etc.
I also changed the linker script slightly to match NUC120 (CooCox IDE has support for NUC series of processors, so I used that for values since under CooCox IDE I did some bare metal code running on the board so linker script and vectors/startup file is OK and used LPC11 from ChibiOS). My port is started but it is far from finished....my first goal is to just compile and main() would have while(true) loop only. Then next step would be to deal with HAL for GPIO, etc.
Anyhow, problem I have on my system is in compilation. I have tried then to compile LPC11xx demo under command line and get the same problem. I am using latest Yagarto + Yagarto tools.
arm-none-eabi-gcc -c -mcpu=cortex-m0 -O2 -ggdb -fomit-frame-pointer -ffunction-s
ections -fdata-sections -Wall -Wextra -Wstrict-prototypes -Wa,-alms=../../os/por
ts/GCC/ARMCMx/LPC11xx/vectors.lst -DLPC1114 -D__NEWLIB__ -DTHUMB_PRESENT -mno-t
humb-interwork -DTHUMB_NO_INTERWORKING -MD -MP -MF .dep/vectors.o.d -mthumb -DTH
UMB -I . -I../../os/ports/GCC/ARMCMx -I../../os/ports/GCC/ARMCMx/LPC11xx -I../..
/os/kernel/include -I../../test -I../../os/hal/include -I../../os/hal/platforms/
LPC11xx -I../../boards/EA_LPCXPRESSO_BB_1114 -I../../os/various ../../os/ports/G
CC/ARMCMx/LPC11xx/vectors.c -o ../../os/ports/GCC/ARMCMx/LPC11xx/vectors.o
../../os/ports/GCC/ARMCMx/LPC11xx/vectors.c:174:1: fatal error: opening dependen
cy file .dep/vectors.o.d: No such file or directory
compilation terminated.
make: *** [../../os/ports/GCC/ARMCMx/LPC11xx/vectors.o] Error 1
Same is when I compile basically almost 100% same code for my NUC120 port.
Any ideas?