搭建Contiki/Cooja边界路由器模拟器时Make步骤遇问题
问题描述
此前已有类似问题,但我的情况略有不同,卡在了相关问题中的第4步:使用Cooja节点(先添加边界路由器,再添加hello-world节点)。
执行命令及报错过程
- 执行命令:
~/contiki-ng/examples/rpl-border-router$ make TARGET=zoul connect-router-cooja
出现错误:
../../arch/cpu/arm/cortex-m/Makefile.cortex-m:6: ../../arch/cpu/arm/CMSIS/CMSIS does not exist or is empty.
../../arch/cpu/arm/cortex-m/Makefile.cortex-m:7: Did you run 'git submodule update --init' ?
../../arch/cpu/arm/cortex-m/Makefile.cortex-m:8: *** "". Stop.
- 执行
git submodule update --init命令,输出如下:
~/contiki-ng/examples/rpl-border-router$ git submodule update --init Submodule 'arch/cpu/arm/CMSIS' (https://github.com/ARM-software/CMSIS_5.git) registered for path '../../arch/cpu/arm/CMSIS' ... Submodule path '../../tools/sensniff': checked out '70029fc5b21485cfd4afb8037c49661212d0935a'
- 再次执行原make命令,出现新错误:
:~/contiki-ng/examples/rpl-border-router$ make TARGET=zoul connect-router-cooja ../../Makefile.include:157: *** Target "zoul" compiler "arm-none-eabi-gcc" cannot be found. Stop.
当前目录及设备信息
- 当前目录内容(执行
l命令):
Makefile README.md border-router.c build/ project-conf.h webserver/
- 执行
ls /dev/tty*的输出:
/dev/tty /dev/tty12 /dev/tty17 /dev/tty21 /dev/tty26 /dev/tty30 /dev/tty35 /dev/tty4 /dev/tty44 /dev/tty49 /dev/tty53 /dev/tty58 /dev/tty62 /dev/ttyS0 /dev/tty0 /dev/tty13 /dev/tty18 /dev/tty22 /dev/tty27 /dev/tty31 /dev/tty36 /dev/tty40 /dev/tty45 /dev/tty5 /dev/tty54 /dev/tty59 /dev/tty63 /dev/ttyS1 /dev/tty1 /dev/tty14 /dev/tty19 /dev/tty23 /dev/tty28 /dev/tty32 /dev/tty37 /dev/tty41 /dev/tty46 /dev/tty50 /dev/tty55 /dev/tty6 /dev/tty7 /dev/ttyS2 /dev/tty10 /dev/tty15 /dev/tty2 /dev/tty24 /dev/tty29 /dev/tty33 /dev/tty38 /dev/tty42 /dev/tty47 /dev/tty51 /dev/tty56 /dev/tty60 /dev/tty8 /dev/ttyS3 /dev/tty11 /dev/tty16 /dev/tty20 /dev/tty25 /dev/tty3 /dev/tty34 /dev/tty39 /dev/tty43 /dev/tty48 /dev/tty52 /dev/tty57 /dev/tty61 /dev/tty9
参考的相关问题
- RPL Border Router在Contiki Cooja中运行
- Cooja中的IoT设备网络与边界路由器
- 如何在Contiki Cooja模拟器上访问RPL的DIO消息
- 是否可以从Cooja调用Web服务
内容的提问来源于stack exchange,提问作者intelli lab
相关产品推荐
相关产品推荐

