Release Build Error in MCUXpresso using LPC1788 board

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Release Build Error in MCUXpresso using LPC1788 board

1,721 次查看
vicky_sivapraka
Contributor I

Hello,

         i'm new to MCUXpresso IDE using MCUXpresso IDE version 11.2.0.for LPC1788 based project. normally my code build fine in debug build configuration. when configure Release build it had build error.  checked  Properties->C/C++ Build->Settings->Tool Settings---under MCU C Compiler->Includes  added in my driver dir but the remain same.kindly give proper linker instruction that's would help me lot.

Release build error

Finished building: ../src/trial.c
Building target: trial.axf
Invoking: MCU Linker

arm-none-eabi-gcc -nostdlib -Xlinker --gc-sections -Xlinker -Map="trial.map" -Xlinker --cref -Xlinker -print-memory-usage -mcpu=cortex-m3 -mthumb -T "trial_Release.ld" -o "trial.axf" ./src/cr_startup_lpc177x_8x.o ./src/crp.o ./src/delay_.o ./src/trial.o -lCMSIS_CORE_LPC177x_8x


c:/nxp/mcuxpressoide_11.2.0_4120/ide/plugins/com.nxp.mcuxpresso.tools.win32_11.2.0.202001021529/tools/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: cannot find -lCMSIS_CORE_LPC177x_8x

collect2.exe: error: ld returned 1 exit status
make: *** [makefile:32: trial.axf] Error 1
"make -r -j2 all" terminated with exit code 2. Build might be incomplete.

pastedImage_12.png

MCU C compiler

pastedImage_11.png

MCU assembler

pastedImage_10.png

0 项奖励
回复
2 回复数

1,688 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Vicky

I tested a lpcopen demo code, switched to release mode, built, I didn't see any error.

Please let me know which demo code can reproduce your issue? or how to reproduce your issue?

 

Have a nice day,

Jun Zhang

 

0 项奖励
回复

1,698 次查看
MichalH
NXP Apps Support
NXP Apps Support

Dear vignesh sivaprakash,

You have sent your question to a community space related to NXP FreeMASTER tool. As it is more general question on LPC1788 and MCUXpresso, I will try to redirect your question to LPC Microcontrollers forum. 

Best regards,

Michal

0 项奖励
回复