首页 > 其他 > 详细

PX4 setup

时间:2015-06-14 16:34:31      阅读:361      评论:0      收藏:0      [点我收藏+]

参考 https://pixhawk.org/dev/quickstart

=================

sudo apt-get update

sudo apt-get install python-serial python-argparse openocd flex bison libncurses5-dev autoconf texinfo build-essential libftdi-dev libtool zlib1g-dev genromfs git-core wget zip python-empsudo dpkg --add-architecture i386

sudo apt-get install libc6:i386 libgcc1:i386 gcc-4.6-base:i386 libstdc++5:i386 libstdc++6:i386

==============

install 

wget https://launchpadlibrarian.net/186124160/gcc-arm-none-eabi-4_8-2014q3-20140805-linux.tar.bz2

tar -jxf gcc-arm-none-eabi-4_8-2014q3-20140805-linux.tar.bz2

export PATH=$HOME/gcc-arm-none-eabi-4_8-2014q3/bin:$PATH

ubuntu@ip-172-31-30-154:~$ arm-none-eabi-gcc --version
arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors) 4.8.4 20140725 (release) [ARM/embedded-4_8-branch revision 213147]
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

 =========== build firmware

mkdir px4

cd ~/px4

git clone https://github.com/PX4/Firmware

Fetch the git submodules:

cd Firmware

git submodule init

git submodule update

Building

cd ~/px4/Firmware
make distclean
make archives
make 

 

PX4 setup

原文:http://www.cnblogs.com/fastwave2004/p/4575166.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!