装好debian镜像后,做一些配置。经验之谈就是:网速很重要,否则会各种出错。
一、修改软件源
sudo leafpad /etc/apt/sources.list
https://mirrors.ustc.edu.cn/debian/
https://mirrors.ustc.edu.cn/debian-security/
二、例行操作更新
sudo apt-get update
sudo apt-get upgrade
三、安装一些工具
sudo apt-get install python3-dev python3-tk
sudo apt install python3-pip
pip3 install pyserial
sudo apt-get install cutecom #我觉得minicom不好用
四、使用cutecom测试,证明uart可用。测试方法:用跳线把uart的tx和rx接起来,这样uart发出的信息自己就会收到。
五、准备开动安装opencv,祈祷好运。
来源:CSDN
作者:weixin_42192419
链接:https://blog.csdn.net/weixin_42192419/article/details/104248840