现在的位置: 首页 > 综合 > 正文

基于iris平台的tinyos程序安装

2013年08月24日 ⁄ 综合 ⁄ 共 449字 ⁄ 字号 评论关闭

修正motelist以支持mib520和MXP520的方法

在linux环境下:

1. which motelist

2. vi ***/motelist
3. 找到: grep { (($_->{UsbVendor}||"") eq "0403" && ($_->{UsbProduct}||"") eq #"6001")
|| (($_->{UsbVendor}||"") eq "10c4" && ($_->{UsbProduct}||"") eq "ea60")}
    替换成:grep { (($_->{UsbVendor}||"") eq "0403" && ($_->{UsbProduct}||"") eq "6001")

|| (($_->{UsbVendor}||"") eq "0403" && ($_->{UsbProduct}||"") eq "6010")}

编译运行基于iris平台的程序:

1.motelist     //显示端口名称

2.make iris   //编译

3. make iris install.1 mib520,/dev/ttyUSB0 //写入到节点

抱歉!评论已关闭.