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
$ pip install pycrypto pycryptodome

$ ./script/bootstrap

3. 编译

$ ./bootstrap

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

 

你可能感兴趣的:(ubuntu下如何编译openthread?)