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
I suggest that you restart the IDE in a completely new workspace.
Then use the Quickstart -> Import Project(s) -> Archive option and browse to the LPCOpen ZIP file for 824 in the LPCXpresso Examples subdirectory. Having selected this click on "Finish" to import all the projects from the ZIP.
Once everything has import, highlight "periph_blinky" project in the Project Explorer view (top left of the IDE window), then click on the "Build 'periph_blinky' [Debug]" button that should be visible in the Quickstart Panel.
Hopefully, the blinky project should then successfully build.
For more help, read the supplied LPCXpresso IDE User Guide, or view the videos at http://www.nxp.com/lpcxpresso
If you still have problems, then the below FAQ might also provide some additional hints.
Linker Error "cannot find -l<lib_name>"
Regards,
LPCXpresso Support
hello
thanks for reply
yes, already did that and everything seems to work
reviewing the lpcxpresso tutorials helped, must have missed something
regards
enzo