mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
waf: readme: add section regarding firmware upload
This commit is contained in:
parent
9bdbf7785f
commit
a8c370a0cb
@ -149,6 +149,20 @@ waf --targets bin/arducopter-quad
|
|||||||
waf --targets tests/test_vectors
|
waf --targets tests/test_vectors
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Uploading ##
|
||||||
|
|
||||||
|
There's a build option `--upload` that can be used to tell the build that it
|
||||||
|
must upload the program(s) addressed by `--targets` arguments. The
|
||||||
|
implementation is board-specific and not all boards may have that implemented.
|
||||||
|
Example:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# PX4 supports uploading the program through a USB connection
|
||||||
|
waf configure --board px4-v2
|
||||||
|
# Build arducopter-quad and upload it to my board
|
||||||
|
waf --targets bin/arducopter-quad --upload
|
||||||
|
```
|
||||||
|
|
||||||
## Checking ##
|
## Checking ##
|
||||||
|
|
||||||
The command `check` builds all programs and then run the relevant tests. In
|
The command `check` builds all programs and then run the relevant tests. In
|
||||||
|
Loading…
Reference in New Issue
Block a user