openmv源码编译

1.安装必须使用的软件
sudo apt-get remove gcc-arm-none-eabi
sudo apt-get autoremove
sudo add-apt-repository ppa:team-gcc-arm-embedded/ppa
sudo apt-get update
sudo apt-get install gcc-arm-embedded
sudo apt-get install libc6-i386
sudo apt-get install python2.7 python-dev python-pip
sudo apt-get install libusb-1.0-0 libusb-1.0-0-dev
sudo apt-get install python-gtksourceview2
sudo pip install numpy pyserial2.7 pyusb1.0.0b2 Pillow(不成功)
sudo apt-get install git
2.获取项目代码
git clone --recursive https://github.com/openmv/openmv.git
cd openmv/udev
sudo cp 50-openmv.rules /etc/udev/rules.d/
sudo udevadm control --reload-rules
3.编译
cd openmv/src
make

转载:https://blog.csdn.net/shijie231/article/details/88427487

你可能感兴趣的:(STM32(M3,M4系列))