微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 无线和射频 > TI Zigbee设计交流 > 编译Z-Stack Mesh 1.0.0 ZNP工程报错

编译Z-Stack Mesh 1.0.0 ZNP工程报错

时间:10-02 整理:3721RD 点击:

在编译最新版的Z-stack报错:

Linking
Error[e46]: Undefined external "?XSTACK_DISP101_8" referred in APS ( C:\Texas Instruments\Z-Stack Mesh 1.0.0\Projects\zstack\Libraries\TI2530DB\bin\AllDevice-Pro.lib )
Error[e46]: Undefined external "?XSTORE_R0123" referred in APS ( C:\Texas Instruments\Z-Stack Mesh 1.0.0\Projects\zstack\Libraries\TI2530DB\bin\AllDevice-Pro.lib )
Error[e46]: Undefined external "?XLOAD_R0123" referred in APS ( C:\Texas Instruments\Z-Stack Mesh 1.0.0\Projects\zstack\Libraries\TI2530DB\bin\AllDevice-Pro.lib )
Error[e46]: Undefined external "?XSTACK_DISP102_8" referred in APS ( C:\Texas Instruments\Z-Stack Mesh 1.0.0\Projects\zstack\Libraries\TI2530DB\bin\AllDevice-Pro.lib )
Error[e46]: Undefined external "?XSTACK_DISP100_8" referred in APS ( C:\Texas Instruments\Z-Stack Mesh 1.0.0\Projects\zstack\Libraries\TI2530DB\bin\AllDevice-Pro.lib )
Error while running Linker

我的IAR是8.2.0的。工程选的是CC2530-ProdHex.

试一下 http://www.deyisupport.com/question_answer/wireless_connectivity/zigbee/f/104/t/59042.aspx 的方法

木有用哦。报的错更多了。

Error[e46]: Undefined external "?V8" referred in APS ( C:\Texas Instruments\Z-Stack Mesh 1.0.0\Projects\zstack\Libraries\TI2530DB\bin\AllDevice-Pro.lib )
Error[e46]: Undefined external "?V9" referred in APS ( C:\Texas Instruments\Z-Stack Mesh 1.0.0\Projects\zstack\Libraries\TI2530DB\bin\AllDevice-Pro.lib )
Error[e46]: Undefined external "?V10" referred in APS ( C:\Texas Instruments\Z-Stack Mesh 1.0.0\Projects\zstack\Libraries\TI2530DB\bin\AllDevice-Pro.lib )
Error[e46]: Undefined external "?V11" referred in APS ( C:\Texas Instruments\Z-Stack Mesh 1.0.0\Projects\zstack\Libraries\TI2530DB\bin\AllDevice-Pro.lib )
Error[e46]: Undefined external "?V12" referred in APS ( C:\Texas Instruments\Z-Stack Mesh 1.0.0\Projects\zstack\Libraries\TI2530DB\bin\AllDevice-Pro.lib )
Error[e46]: Undefined external "?V13" referred in APS ( C:\Texas Instruments\Z-Stack Mesh 1.0.0\Projects\zstack\Libraries\TI2530DB\bin\AllDevice-Pro.lib )
Error[e46]: Undefined external "?V14" referred in APS ( C:\Texas Instruments\Z-Stack Mesh 1.0.0\Projects\zstack\Libraries\TI2530DB\bin\AllDevice-Pro.lib )
Error[e46]: Undefined external "?V15" referred in APS ( C:\Texas Instruments\Z-Stack Mesh 1.0.0\Projects\zstack\Libraries\TI2530DB\bin\AllDevice-Pro.lib )
Error[e46]: Undefined external "?XSTACK_DISP101_8" referred in APS ( C:\Texas Instruments\Z-Stack Mesh 1.0.0\Projects\zstack\Libraries\TI2530DB\bin\AllDevice-Pro.lib )
Error[e46]: Undefined external "?XSTORE_R0123" referred in APS ( C:\Texas Instruments\Z-Stack Mesh 1.0.0\Projects\zstack\Libraries\TI2530DB\bin\AllDevice-Pro.lib )
Error[e46]: Undefined external "?XLOAD_R0123" referred in APS ( C:\Texas Instruments\Z-Stack Mesh 1.0.0\Projects\zstack\Libraries\TI2530DB\bin\AllDevice-Pro.lib )
Error[e46]: Undefined external "?XSTACK_DISP102_8" referred in APS ( C:\Texas Instruments\Z-Stack Mesh 1.0.0\Projects\zstack\Libraries\TI2530DB\bin\AllDevice-Pro.lib )
Error[e46]: Undefined external "?XSTACK_DISP100_8" referred in APS ( C:\Texas Instruments\Z-Stack Mesh 1.0.0\Projects\zstack\Libraries\TI2530DB\bin\AllDevice-Pro.lib )
Error while running Linker

问题已解决。在chipcon_cstartup.s51中增加了这几段的定义就能够成功编译了。 但不知道这种改法是不是正确,求指正。

;-------------------------------------------------------------------------

;增加lib中声明的,确未定义的段
RSEG XSTACK:NOROOT:XDATA
PUBLIC ?XSTACK_DISP101_8
?XSTACK_DISP101_8:

RSEG XSTACK:NOROOT:XDATA
PUBLIC ?XSTORE_R0123
?XSTORE_R0123:

RSEG XSTACK:NOROOT:XDATA
PUBLIC ?XLOAD_R0123
?XLOAD_R0123:

RSEG XSTACK:NOROOT:XDATA
PUBLIC ?XSTACK_DISP102_8
?XSTACK_DISP102_8:

RSEG XSTACK:NOROOT:XDATA
PUBLIC ?XSTACK_DISP100_8
?XSTACK_DISP100_8:

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top