lpcware

release does not work

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by dragilla on Wed Nov 16 11:41:20 MST 2011
I tried to run my project without debug for once but it won't link.

**** Build of configuration Release for project TCL ****

make all
Building target: TCL.axf
Invoking: MCU Linker
arm-none-eabi-gcc -nostdlib -Xlinker -Map="TCL.map" -Xlinker --gc-sections -mcpu=cortex-m3 -mthumb -T "TCL_Release.ld" -o"TCL.axf"  ./src/RITtimer.o ./src/cr_startup_lpc176x.o ./src/extint.o ./src/lpc17xx_clkpwr.o ./src/lpc17xx_gpio.o ./src/lpc17xx_i2c.o ./src/lpc17xx_libcfg_default.o ./src/lpc17xx_pinsel.o ./src/main.o   -lCMSISv1p30_LPC17xx
c:/nxp/lpcxpresso_4.1.0_190/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.5.1/../../../../arm-none-eabi/bin/ld.exe: cannot find -lCMSISv1p30_LPC17xx
collect2: ld returned 1 exit status
make: *** [TCL.axf] Error 1
I compared all the options in debug and release settings and except for actual optimisation and debug there are no significat differences, I think.
What should I look for?

ps: This is how it looks when I build with debug:

Building target: TCL.axf
Invoking: MCU Linker
arm-none-eabi-gcc -nostdlib -L"C:\Users\marta\Documents\LPCXpresso_4.1.0_190\workspace\CMSISv1p30_LPC17xx\Debug" -Xlinker -Map="TCL.map" -Xlinker --gc-sections -mcpu=cortex-m3 -mthumb -T "TCL_Debug.ld" -o"TCL.axf"  ./src/RITtimer.o ./src/cr_startup_lpc176x.o ./src/extint.o ./src/lpc17xx_clkpwr.o ./src/lpc17xx_gpio.o ./src/lpc17xx_i2c.o ./src/lpc17xx_libcfg_default.o ./src/lpc17xx_pinsel.o ./src/main.o   -lCMSISv1p30_LPC17xx
Finished building target: TCL.axf

cheers,
--
Luke

Outcomes