教你如何在410c开发板上玩Break Ball游戏
et install -y man-db manpages manpages-dev
sudo apt-get install -y libpython-dev libpython3-dev python-dev
sudo apt-get install -y arduino-mk arduino
sudo apt-get install -y libmraa-dev libupm-dev libsoc-dev
sudo apt-get install -y scratch python-pip
pip install spidev
sudo apt-get clean
#extract the tar file
tar -vxf ~/breakerball.tar
#attempt t0 install the Arduino program on the Sensors board
cd breakerball_sensor
make upload
#place the appropriate icon on the desktop
if [ "$?" = "0" ]; then
sudo cp pyupm_i2clcd.py /usr/lib/python2.7/dist-packages/pyupm_i2clcd.py
cp ~/breakerball_sensor/go ~/Desktop/BreakerBall_Sensor
else
sudo dd if=~/boot-db410c.img of=/dev/mmcblk0p8
cp ~/breakerball_linker/go ~/Desktop/BreakerBall_Linker
fi
echo Issue the following command manually
echo sudo reboot now
DragonBoard 410c 开发板 相关文章: