AnsweredAssumed Answered

Trying to build LPC4370_LEDblinky with MCUXpresso

Question asked by Simon Prentice on Jul 9, 2018
Latest reply on Jul 10, 2018 by Simon Prentice

This is my first LPC4370 project.

Imported the project LPC4370_LEDblinky into MCUXpresso (IDE v10.2.0 [Build 759] [2018-05-15] ) and get "LPC43xx.h: No such file or directory" errors when building.

 

According to the "Using an LPC-Link2 as an LPC4370 evaluation board" instructions I am following I need  CMSIS_LPC43xx_DriverLib but I can't find it and suspect it may not be relevant to MCUXpresso.

 

Any ideas?

 

--------------------------------

Instructions

 

Simple example application
A simple blinky application for the LPC4370/LPC-Link2 can be found in the attached LPC4370_LPCLink2_LEDblinky.zip. Download and save the zipfile to your local disk, then use the LPCXpresso "Quickstart Panel -> Import project(s)" option to import it into your workspace. In order to build this, you will also need to import the CMSIS_LPC43xx_DriverLib library project from the LPCXpresso examples into your workspace. For details of importing, building and debugging projects - please see the LPCXpresso User Guide, provided within the product itself.

--------------
Errors
14:03:04 **** Incremental Build of configuration Debug for project LPC4370_LEDblinky ****
make -r -j4 all
Building file: ../src/cr_startup_lpc43xx.c
Building file: ../src/ledblinky4370.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED -DCORE_M4 -D__USE_CMSIS=CMSIS_LPC43xx_DriverLib -D__LPC43XX__ -D__MULTICORE_NONE -Os -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 -D__REDLIB__ -specs=redlib.specs -MMD -MP -MF"src/cr_startup_lpc43xx.d" -MT"src/cr_startup_lpc43xx.d" -o "src/cr_startup_lpc43xx.o" "../src/cr_startup_lpc43xx.c"
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED -DCORE_M4 -D__USE_CMSIS=CMSIS_LPC43xx_DriverLib -D__LPC43XX__ -D__MULTICORE_NONE -O0 -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 -D__REDLIB__ -specs=redlib.specs -MMD -MP -MF"src/ledblinky4370.d" -MT"src/ledblinky4370.o" -MT"src/ledblinky4370.d" -o "src/ledblinky4370.o" "../src/ledblinky4370.c"
../src/cr_startup_lpc43xx.c:51:10: fatal error: LPC43xx.h: No such file or directory
 #include "LPC43xx.h"
          ^~~~~~~~~~~
compilation terminated.
make: *** [src/cr_startup_lpc43xx.o] Error 1
make: *** Waiting for unfinished jobs....
../src/ledblinky4370.c:12:10: fatal error: LPC43xx.h: No such file or directory
 #include "LPC43xx.h"
          ^~~~~~~~~~~
compilation terminated.
make: *** [src/ledblinky4370.o] Error 1
14:03:05 Build Finished (took 1s.464ms)
--------------

Outcomes