PX4 setup

参考 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 

 

转载于:https://www.cnblogs.com/fastwave2004/p/4575166.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值