AnsweredAssumed Answered

board.h  Error when I use new MCUExpresso 10.0.2

Question asked by charlie zhou on Oct 16, 2017
Latest reply on Oct 17, 2017 by Carlos_Mendoza

I just copy the LPCopen multicore_blinky_m4  example for LPC43s67 board which I bought by OM13084,  with this new MCUexpresso,

the compiler fail,  Here is the details for the failing log:

============================================================

23:56:11 **** Incremental Build of configuration Debug for project multicore_blinky_m4 ****
make -r -j4 all
Building file: ../src/multicore_blinky.c
Building file: ../src/sysinit.c
Building file: ../multicore_common/ipc_example.c
Building file: ../multicore_common/ipc_msg.c
Invoking: MCU C Compiler
Invoking: MCU C Compiler
arm-none-eabi-gcc -DDEBUG -D__CODE_RED -DCORE_M4 -D__USE_LPCOPEN -D__LPC43XX__ -D__REDLIB__ -DLPC43_MULTICORE_M0APP -D__MULTICORE_MASTER -D__MULTICORE_MASTER_SLAVE_M0APP -I"C:\nxp\workspace\multicore_blinky_m4\inc" -I"C:\nxp\workspace\multicore_blinky_m4\multicore_common" -O0 -fno-common -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -fsingle-precision-constant -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -mthumb -specs=redlib.specs -MMD -MP -MF"src/sysinit.d" -MT"src/sysinit.o" -MT"src/sysinit.d" -o "src/sysinit.o" "../src/sysinit.c"
arm-none-eabi-gcc -DDEBUG -D__CODE_RED -DCORE_M4 -D__USE_LPCOPEN -D__LPC43XX__ -D__REDLIB__ -DLPC43_MULTICORE_M0APP -D__MULTICORE_MASTER -D__MULTICORE_MASTER_SLAVE_M0APP -I"C:\nxp\workspace\multicore_blinky_m4\inc" -I"C:\nxp\workspace\multicore_blinky_m4\multicore_common" -O0 -fno-common -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -fsingle-precision-constant -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -mthumb -specs=redlib.specs -MMD -MP -MF"src/multicore_blinky.d" -MT"src/multicore_blinky.o" -MT"src/multicore_blinky.d" -o "src/multicore_blinky.o" "../src/multicore_blinky.c"
Invoking: MCU C Compiler
Invoking: MCU C Compiler
arm-none-eabi-gcc -DDEBUG -D__CODE_RED -DCORE_M4 -D__USE_LPCOPEN -D__LPC43XX__ -D__REDLIB__ -DLPC43_MULTICORE_M0APP -D__MULTICORE_MASTER -D__MULTICORE_MASTER_SLAVE_M0APP -I"C:\nxp\workspace\multicore_blinky_m4\inc" -I"C:\nxp\workspace\multicore_blinky_m4\multicore_common" -O0 -fno-common -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -fsingle-precision-constant -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -mthumb -specs=redlib.specs -MMD -MP -MF"multicore_common/ipc_example.d" -MT"multicore_common/ipc_example.o" -MT"multicore_common/ipc_example.d" -o "multicore_common/ipc_example.o" "../multicore_common/ipc_example.c"
arm-none-eabi-gcc -DDEBUG -D__CODE_RED -DCORE_M4 -D__USE_LPCOPEN -D__LPC43XX__ -D__REDLIB__ -DLPC43_MULTICORE_M0APP -D__MULTICORE_MASTER -D__MULTICORE_MASTER_SLAVE_M0APP -I"C:\nxp\workspace\multicore_blinky_m4\inc" -I"C:\nxp\workspace\multicore_blinky_m4\multicore_common" -O0 -fno-common -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -fsingle-precision-constant -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -mthumb -specs=redlib.specs -MMD -MP -MF"multicore_common/ipc_msg.d" -MT"multicore_common/ipc_msg.o" -MT"multicore_common/ipc_msg.d" -o "multicore_common/ipc_msg.o" "../multicore_common/ipc_msg.c"
../src/sysinit.c:45:19: fatal error: board.h: No such file or directory
compilation terminated.
In file included from ../multicore_common/ipc_msg.c:33:0:
C:\nxp\workspace\multicore_blinky_m4\inc/app_multicore_cfg.h:35:19: fatal error: board.h: No such file or directory
compilation terminated.
In file included from ../src/multicore_blinky.c:38:0:
C:\nxp\workspace\multicore_blinky_m4\inc/app_multicore_cfg.h:35:19: fatal error: board.h: No such file or directory
compilation terminated.
In file included from ../multicore_common/ipc_example.c:33:0:
C:\nxp\workspace\multicore_blinky_m4\inc/app_multicore_cfg.h:35:19: fatal error: board.h: No such file or directory
compilation terminated.
make: *** [src/sysinit.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [multicore_common/ipc_msg.o] Error 1
make: *** [src/multicore_blinky.o] Error 1
make: *** [multicore_common/ipc_example.o] Error 1

23:56:12 Build Finished (took 892ms)

=====================================================

Outcomes