先去TI官网上下载ZStack-CC2530-2.4.0-1.4.0.exe,安装后会有一些列较全的文档,当然有最终要的协议,并且带有很多ExampleApp,TI最新的zigbee pro/2007 用的是IAR for 8051的最新版本:V7.6,版本较新,网上找起来还真不容易,还好最后找到keygen,软件问题解决,打开TI的example的 SampleApp
IAR的工作区会显示如上,WorkSpace除共有三种build方式:CoordinatorEB,RoouterEB,EndDeviceEB。
选择不同的build方式时,project区域会包含不同的文件,这样增加了极大的方便,尤其开发无线收发系统,收发模块既有共用部分,但之间又有不同之处。
只需在project包含的文件上 右击>>Option 选择或取消选择exclude from build,即可在同一个工程中方便的使用。
如何在workspace中添加 build方式,很简单:
IAR 帮助文档是这样说的:
Edit Batch Build dialog box
In the Edit Batch Build dialog box—available from the Batch Build dialog box—you can create new batches of build configurations, and edit already existing batches.
Configurations to build
|
Lists all the build configurations you select to be part of a named batch.
|
所以:
菜单>>Project>>Edit Configurations 打开 Edit Batch Build dialog box
New 添加 build Configurations
Remove 移除 build Configurations
如果需要IAR for8051 V7.6 KeyGen,留言与我联系
详情见http://item.taobao.com/item.htm?spm=a1z10.1.w17936950135.3.fG9Ydm&id=22237620399