ubuntu下如何编译openthread?

1. 获取源码

$ git clone https://github.com/openthread/openthread.git

2. 安装必要的工具

$ cd openthread
$ sudo apt-get install -y python3-pip python-pip
$ pip3 install --upgrade pip
$ pip install --upgrade pip
$ pip3 install pycrypto pycryptodome
$ pip install pycrypto pycryptodome

$ ./script/bootstrap

3. 编译

$ ./bootstrap

$ make -f examples/Makefile-jn5189 (生成的程序在output/jn5189/bin中)

 

posted @ 2020-04-07 00:48  Jello  阅读(680)  评论(0编辑  收藏  举报