Error while compiling NXP ZigBee HA demo Coordinator

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

Error while compiling NXP ZigBee HA demo Coordinator

1,191 次查看
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 项奖励
回复
4 回复数

928 次查看
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 项奖励
回复

927 次查看
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 项奖励
回复

928 次查看
daweiyou
NXP Employee
NXP Employee

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

Untitled.png

0 项奖励
回复

928 次查看
finstonian
Contributor II

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

0 项奖励
回复