码迷,mamicode.com
首页 > 其他好文 > 详细

PX4 setup

时间:2015-06-14 16:37:30      阅读:222      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!