Release Build Error in MCUXpresso using LPC1788 board

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Release Build Error in MCUXpresso using LPC1788 board

1,722件の閲覧回数
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,689件の閲覧回数
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,699件の閲覧回数
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 件の賞賛
返信