Hi all,
I downloaded and installed LPCXpresso v8.2.0_647 and with built-in LPCXpresso programmer/probe is eveything OK.
For sure I downloaded into the LPC1769 microcontroller a *.axf file with my firmware and it works great.
But there is smal problem:
When I open my previous software project + CMSISv1p30_LPC17xx (as a project into a workspace) and I click the "Build" icon then the LPCXpresso console return me an error:
08:06:07 **** Incremental Build of configuration Debug for project PCBTest_FW06 ****
make -r all
Building target: PCBTest_FW06.axf
Invoking: MCU Linker
arm-none-eabi-gcc -nostdlib -L"D:\LPCXpresso_8.2.0_647 - workspace\CMSISv1p30_LPC17xx\Debug" -Xlinker -Map=PCBTest_FW06.map -Xlinker --gc-sections -mcpu=cortex-m3 -mthumb -T "PCBTest_FW06_Debug.ld" -o "PCBTest_FW06.axf" ./src/cr_startup_lpc175x.o ./src/main.o ./source/adc_ads8326.o ./source/adcbasic.o ./source/flash_memory_spi.o ./source/lcd_1.o ./source/lcd_2.o ./source/pwmbasic.o ./source/ssp.o ./source/ssp1.o ./source/timerbasic.o ./source/uartbasic.o -lCMSISv1p30_LPC17xx
c:/nxp/lpcxpresso_8.2.0_647/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/5.3.1/../../../../arm-none-eabi/bin/ld.exe: cannot find -lCMSISv1p30_LPC17xx
collect2.exe: error: ld returned 1 exit status
make: *** [PCBTest_FW06.axf] Error 108:06:08 Build Finished (took 573ms)
I added CMSIS v1.30 libraries into CMSISv1p30_LPC17xx project as I show below (libraries added by me are marked in red rectangles):
and it does not help... The error still occurs during Building.
What should I do in this case?
Sounds like you have not built the library project, or potentially not built the right build configuration. For more information see: Linker Error "cannot find -l<lib_name>"
Regards,
LPCXpresso Support