硬件平台:JN5168(周立功ZM5168P2模块)开发IDE:JN-SW-4041-SDK-Toolchain-v1.1协议栈:JN-SW-4064-ZigBee-SmartEnergy1.x-v993应用层:JN-AN-1135-Smart-Energy-HAN-Solutions 4v2
1.首先安装ZSE协议栈JN-SW-4064-ZigBee-SmartEnergy1.x-v993.exe
2.执行JN-SW-4041-SDK-Toolchain-v1.1.exe 安装eclipse
3.打开eclipse, 路径是: start->ALL Programs>jennic>JN-SW-404x products>Eclipse 工作空间选择安装目录下的D:JennicApplication,然后导入配置: 点击 File > Import >Run/Debug >select Launch Configurations. 选择文件Browse> D:/Jennic/Tools/eclipse_config 勾选左边的eclipse_config方框,右边对话框出现以下工具:
Flash CLI Tool.launch
Flash GUI Tool.launch
HWDebugBinDownload.launch
Jennic Bash Shell.launch
JTAG Server.launch
然后点击finish。点击Run > External Tools可以看到添加的这些工具
4. Installing the Configuration Editors 安装配置编辑器插件 :
select Help > Software Updates ->Add Site ->
enter the local path to the plug-ins sub-folder of the elipse folder (e.g. under D:JennicToolsEclipse_plugins D:JennicToolsEclipse_pluginsECLIPSE_JENNICSDK_com.jennic.update_site.external_1v8_RC2)
注意这里添加本地路径时不要把原来的 https:// 删除,会提示地址不合法,所以直接点击local按钮
添加成功后点击Manage Site把那些路径不是 D:xxx的全部删除,这里面有eclipse从网络更新下载任务,非常耗时。
然后一路点击next进行安装
5.导入工程:
把解压好 JN-AN-1135-Smart-Energy-HAN-Solutions 工程复制进D:JennicApplication,然后打开eclipse点击 File > Import
->General ->Existing Projects into Workspace -> Browse 选择刚才复制进去的工程,点击finish
6.编译:选择JN-AN-1135-Smart-Energy-HAN-Solutions工程,右键 Build Configurations->Set Active-> 选择需要编译的节点ESP,IPD,GAS等
然后点击project->Build Project就可以进行编译了