Ardupilot waf编译过程分析

本文深入探讨了Ardupilot项目为何从make转向waf作为编译系统,解析了waf的配置和编译过程,包括代码编译、下载步骤,以及waf命令的帮助信息。同时,分析了waf脚本运行机制,特别是.waf文件夹的内容和board.py的编译生成的.pyc文件。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

目录

摘要


本节主要讲解waf,waf 是一个帮助构建和编译系统的框架,采用python语言编写。欢迎批评指正!!!



分析要点:
1.ardupilot为何使用waf编译,而不使用make?
2.ardupilot如何进行代码编译,下载?
3.为何我输入一个命令,ubuntu会不停的回显编译的进度?



1.ardupilot为何使用waf编译,而不使用make?



官网原话:

Ardupilot is gradually moving from the make-based build system to
[Waf](https://waf.io/). The instructions below should be enough for you to
build Ardupilot, but you can also read more about the build system in the
[Waf Book](https://waf.io/book/).
Waf should always be called from the ardupilot's root directory. Differently
from the make-ba
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

魔城烟雨

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值