This section in make.rules.environment should be pointing to the header
files, but the compiler is still puking on that.
FWLIB_DIR =$(BUILD_ROOT)/$(FWLIB)
FWLIB_SRC_DIR =$(FWLIB_DIR)/source
FWLIB_INC_DIR =$(FWLIB_DIR)/include
I can go through and add full paths to the #includes to get past this,
but I know that is not the right way.
**** Build of configuration Debug for project CMSIS_gnu ****
make all
Building file: ../Examples/WDT/RESET/wdt_reset_test.c
Invoking: ARM Windows GCC C Compiler
arm-elf-gcc -O0 -Wall
-Wa,-adhlns="Examples/WDT/RESET/wdt_reset_test.o.lst" -c
-fmessage-length=0 -MMD -MP -MF"Examples/WDT/RESET/wdt_reset_test.d"
-MT"Examples/WDT/RESET/wdt_reset_test.d" -mcpu=cortex-m3 -mthumb -g3
-gdwarf-2 -o"Examples/WDT/RESET/wdt_reset_test.o"
"../Examples/WDT/RESET/wdt_reset_test.c"
../Examples/WDT/RESET/wdt_reset_test.c:19:25: error: lpc17xx_wdt.h: No
such file or directory
In file included from ../Examples/WDT/RESET/wdt_reset_test.c:20:
../Examples/WDT/RESET/lpc17xx_libcfg.h:23:23: error: lpc_types.h: No
such file or directory
In file included from ../Examples/WDT/RESET/wdt_reset_test.c:20:
../Examples/WDT/RESET/lpc17xx_libcfg.h:139: error: expected ')' before
'*' token
../Examples/WDT/RESET/wdt_reset_test.c:21:28: error: lpc17xx_pinsel.h:
No such file or directory
../Examples/WDT/RESET/wdt_reset_test.c:22:26: error: debug_frmwrk.h: No
such file or directory
../Examples/WDT/RESET/wdt_reset_test.c:23:26: error: lpc17xx_gpio.h: No
such file or directory
../Examples/WDT/RESET/wdt_reset_test.c:40: error: expected '=', ',',
';', 'asm' or '__attribute__' before 'menu1'
../Examples/WDT/RESET/wdt_reset_test.c:52: error: expected '=', ',',
';', 'asm' or '__attribute__' before 'info1'
../Examples/WDT/RESET/wdt_reset_test.c:53: error: expected '=', ',',
';', 'asm' or '__attribute__' before 'info2'
../Examples/WDT/RESET/wdt_reset_test.c: In function 'c_entry':
../Examples/WDT/RESET/wdt_reset_test.c:70: warning: implicit declaration
of function 'debug_frmwrk_init'
../Examples/WDT/RESET/wdt_reset_test.c:73: warning: implicit declaration
of function '_DBG'
../Examples/WDT/RESET/wdt_reset_test.c:73: error: 'menu1' undeclared
(first use in this function)
../Examples/WDT/RESET/wdt_reset_test.c:73: error: (Each undeclared
identifier is reported only once
../Examples/WDT/RESET/wdt_reset_test.c:73: error: for each function it
appears in.)
../Examples/WDT/RESET/wdt_reset_test.c:76: warning: implicit declaration
of function 'WDT_ReadTimeOutFlag'
../Examples/WDT/RESET/wdt_reset_test.c:77: warning: implicit declaration
of function '_DBG_'
../Examples/WDT/RESET/wdt_reset_test.c:77: error: 'info1' undeclared
(first use in this function)
../Examples/WDT/RESET/wdt_reset_test.c:79: warning: implicit declaration
of function 'WDT_ClrTimeOutFlag'
../Examples/WDT/RESET/wdt_reset_test.c:81: error: 'info2' undeclared
(first use in this function)
../Examples/WDT/RESET/wdt_reset_test.c:85: warning: implicit declaration
of function 'WDT_Init'
../Examples/WDT/RESET/wdt_reset_test.c:85: error: 'WDT_CLKSRC_IRC'
undeclared (first use in this function)
../Examples/WDT/RESET/wdt_reset_test.c:85: error: 'WDT_MODE_RESET'
undeclared (first use in this function)
../Examples/WDT/RESET/wdt_reset_test.c:87: warning: implicit declaration
of function 'WDT_Start'
../Examples/WDT/RESET/wdt_reset_test.c: At top level:
../Examples/WDT/RESET/wdt_reset_test.c:108: error: expected ')' before
'*' token
make: *** [Examples/WDT/RESET/wdt_reset_test.o] Error 1