大致如下 1.添加ppz软件包的安装源:终端下(ctrl+alt+t)sudo add-apt-repositoryppa:paparazzi-uav/ppa 接着更新安装包库并安装ppz附属软件包,可能花点时间: sudo apt-getupdate sudo apt-get installpaparazzi-dev 2.ARMgcc-arm-embedded工具链,首先下载最新的gcc-arm-none-eabi-*-*-linux.tar.bz2,在这里https://launchpad.net/gcc-arm-embedded/+download. 接着创建/opt/paparazzi文件夹: sudo mkdir/opt/paparazzi 解压下载的包至/opt/ sudo tar -xvf[name_of_downloaded_bz2_file] -C /opt 创建符号链接 sudo ln -s/opt/[gcc-arm-xxxxxxx文件夹名]/opt/paparazzi/arm-multilib 接着 sudo add-apt-repositoryppa:terry.guo/gcc-arm-embedded sudo apt-get update sudo apt-get installgcc-arm-none-eabi 回车后,会有提示如下,不管它,yes 可选安装包 sudoapt-get install lpc21isp openocd 3.安装并运行PPZ 首先 (1). git clone https://github.com/paparazzi/paparazzi.git (2). 在/paparazzi目录下, cd/home/bandit(这是我的用户名,换成你的)/paparazzi 然后 git checkoutv5.3 (3) 运行ppz, make 过会(网速影响)完毕后 ./paparazzi 4.添加Udev rules cd<你的paparazzi路径,比如/home/bandit/paparazzi> sudocp conf/system/udev/rules/50-paparazzi.rules/etc/udev/rules.d/ ...................................................................................................................... ........................................................................................................................ ......................................................................................................................... 至此,ppz安装完毕。
|