pixhawk原生韌體在Windows下環境搭建筆記

來源:互聯網
上載者:User

標籤:3.4   ora   ucid   部落格   baidu   size   nsf   ref   tail   

首先參考了以下幾篇部落格

部落格1:https://zhuanlan.zhihu.com/p/25198079

部落格2:http://blog.csdn.net/oqqenvy12/article/details/52035127

部落格3:http://blog.csdn.net/whyscience/article/details/52424364

1. 開始還傻傻的裝git,其實不必,其實PX4 Toolchain Installer已經整合了git。

2. 裝好環境編譯出現以下錯誤,不知所措·····最後把源碼複製到px4工具的預設安裝目錄下,提示找不到Cmake(Not a valid CMake version or CMake not installed.),

神奇了,明明安裝了Cmake為嘛找不到呢,直到查看了以上部落格3才知道原來是Cmake版本和toolchain版本不相容問題,卸載3.10版本,改裝了3.4.2版本解決問題。

裝好了環境執行如下命令

複製源碼:git clone https://github.com/PX4/Firmware.git
更新子模組:git submodule update --init --recursive
編譯代碼:make px4fmu-v2_default

編譯成功頁面

 

用到的工具我集中放在百度盤了,可以下載直接使用:http://pan.baidu.com/s/1dESOhZr

交流QQ: 1036670877

pixhawk原生韌體在Windows下環境搭建筆記

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.