参考
https://www.jianshu.com/p/5a6f9def8bc5
https://www.cnblogs.com/ansersion/p/10471096.html
https://blog.csdn.net/areswhy/article/details/81144864
准备材料
ubuntu-19.04 64bit
按装版本要求
pyserial>=3.0
future>=0.15.2
cryptography>=2.1.4
dpkg -l | grep pyserial
dpkg -l | grep future
dpkg -l | grep cryptography
安装遇到cryptography版本不复合参考
sudo apt-get install gcc git wget make libncurses-dev flex bison gperf python python-pip python-setuptools python-serial python-cryptography python-future python-pyparsing libffi-dev libssl-dev
python -m pip install --user -r $IDF_PATH/requirements.txt
https://blog.csdn.net/martinnnu/article/details/82896612
//查看usb设备号
ls /dev/ttyUSB*
https://blog.csdn.net/weixin_43101497/article/details/84562810