What values do i have to define in the makefile if i want to use the lpcopen chip files?

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by kabirbansod on Mon Jun 22 01:37:36 MST 2015
Hi all,

I am trying to make a project for my custom lpc1347 board, the project requires me to use makefiles, i have added all the lpcopen's lpc_chip_13xx/inc and src files to the project directory and when i try to compile it using the following command in the makefile:

$(notdir $(wildcard $(CONTIKI_CPU)/*.c))

contiki-lpc1347-mote.a(clock_13xx.o): In function `Chip_Clock_GetMainOscRate':
../../cpu/arm/lpc1347/Makefile.lpc1347:138: recipe for target 'hello-world-nosyms.lpc1347-mote' failed
/home/darth-speedious/Documents/Project/Contiki-open/examples/lpc-carrier-board/../../cpu/arm//lpc1347/./clock_13xx.h:456: undefined reference to `OscRateIn'
collect2: error: ld returned 1 exit status
make: *** [hello-world-nosyms.lpc1347-mote] Error 1
rm hello-world.co

Do i have to define this value in the makefiles?