Error while compiling NXP ZigBee HA demo Coordinator

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error while compiling NXP ZigBee HA demo Coordinator

1,319 Views
louiscroisez
Contributor I

c:/nxp/bstudio_nxp/sdk/tools/ba-elf-ba2-r36379/bin/../lib/gcc/ba-elf/4.7.4/../../../../ba-elf/bin/ld.exe: cannot open linker script file AppBuildZBPro.ld: No such file or directory

The file AppBuildZBPro.ld is not in the sources nor in the SDK. How could I workaround this error?

Please help.

Thanks

LM

0 Kudos
Reply
4 Replies

1,056 Views
louiscroisez
Contributor I

Yes, I have installed that SDK.

I managed to finish the linking process by editing the /build/Makefile.
It appears that in the original Makefile, there is a commented line just before the reference to AppBuildZBPro.ld.
This show me that there were other linker scripts files e.g. AppBuildZBPro_JN5169.ld.
I replaced AppBuildZBPro.ld by AppBuildZBPro_JN5169.ld inside the Makefile and voilà.

 

But now my problem is that the debug traces are not displayed on my serial terminal. But this is another issue.

0 Kudos
Reply

1,055 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Louis,

Did you define the debug port for the UART0? Are you using JTAG?

http://www.nxp.com/documents/application_note/JN-AN-1203.pdf?fsrch=1&sr=6&pageNum=1 

4.2.1

Hope it helps.

Best Regards,

Mario

0 Kudos
Reply

1,056 Views
daweiyou
NXP Employee
NXP Employee

PLS check makefile file in project, and check line 215,

Untitled.png

0 Kudos
Reply

1,056 Views
finstonian
Contributor II

Have you installed the ZigBee SDK (JN-SW-4168)?

0 Kudos
Reply