AnsweredAssumed Answered

How to get console output while debugging nhs31xx project?

Question asked by yys 3210 on Mar 30, 2020
Latest reply on Apr 2, 2020 by Con Verse

Hi Sir
I am woking on NHS3152+LPCXpresso, the demo project is "app_demo_dp_tlogger". there is no problem.
Then i want to test the function "printf",I set the project to "。。。managed linker script--library: redlib(semihost)"
At the beginning there is no "printf" statement in the project ,
1, the project set active to "release" mode, it build well.
2, the project set active to "debug" mode ,there is an error , it shows as below
"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 -llib_chip_nss
collect2.exe: error: ld returned 1 exit status"
I need your help
Many thanks

Outcomes