AnsweredAssumed Answered

LPCXpresso IDE error: cannot find -llpc_board_nxp_lpcxpresso_824

Question asked by Enzo Guerra on Sep 24, 2016
Latest reply on Sep 26, 2016 by Enzo Guerra

trying to use LPCXpresso IDE

followed tutorials best i could

imported lpcopen_2_19_lpcxpresso_nxp_lpcxpresso_824.zip

did simple build all command

got +100s of errors

many misspellings, etc...

but one of the errors on all projects was: cannot find -llpc_board_nxp_lpcxpresso_824

found the project: lpc_board_nxp_lpcxpresso_824, has no makefile

also found, all the project \Debug\example\src has the file subdir.mk which has the lines:

 

# Each subdirectory must supply rules for building sources it contributes
example/src/%.o: ../example/src/%.c
    @echo 'Building file: $<'
    @echo 'Invoking: MCU C Compiler'
    arm-none-eabi-gcc -DDEBUG -D__CODE_RED -D__USE_LPCOPEN -D__MTB_BUFFER_SIZE=128 -D__REDLIB__ -DCORE_M0PLUS -I"C:\Users\enzo_\Documents\LPCXpresso_8.2.0_647\workspace\lpc_chip_82x\inc" -I"C:\Users\enzo_\Documents\LPCXpresso_8.2.0_647\workspace\lpc_board_nxp_lpcxpresso_824\inc" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m0 -mthumb -specs=redlib.specs -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -MT"$(@:%.o=%.d)" -o "$@" "$<"
    @echo 'Finished building: $<'
    @echo ' '

 

can someone help, i not to sure what to do

 

also got other errors:

make: *** [freertos_blinky.axf] Error 1

and many more with:

make: *** [xxx.axf] Error 1

where xxx is the project name

 

except for periph_blinky which has this error:

make: *** [example/src/sysinit.o] Error 1

the similar subdir.mk which has the lines:

 

# Each subdirectory must supply rules for building sources it contributes
example/src/%.o: ../example/src/%.c
    @echo 'Building file: $<'
    @echo 'Invoking: MCU C Compiler'
    arm-none-eabi-gcc -D__REDLIB__ -O0 -g3 -Wall -c -fmessage-length=0 -mcpu=cortex-m0 -mthumb -D__REDLIB__ -specs=redlib.specs -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -MT"$(@:%.o=%.d)" -o "$@" "$<"
    @echo 'Finished building: $<'
    @echo ' '

 

thanks

enzo

Attachments

Outcomes