mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
waf: ardupilotwaf: add option --upload
That option can (and will by PX4) be used by platforms that support uploading programs to a connected device.
This commit is contained in:
parent
0329cb14ed
commit
33fce2bfe5
@ -321,11 +321,19 @@ def options(opt):
|
||||
'examples. The special group "all" selects all programs.',
|
||||
)
|
||||
|
||||
g.add_option('--upload',
|
||||
action='store_true',
|
||||
help='Upload applicable targets to a connected device. Not all ' +
|
||||
'platforms may support this. Example: `waf copter --upload` ' +
|
||||
'means "build arducopter and upload it to my board".',
|
||||
)
|
||||
|
||||
g = opt.ap_groups['check']
|
||||
g.add_option('--check-verbose',
|
||||
action='store_true',
|
||||
help='Output all test programs')
|
||||
|
||||
|
||||
def build(bld):
|
||||
global LAST_IDX
|
||||
# FIXME: This is done to prevent same task generators being created with
|
||||
|
Loading…
Reference in New Issue
Block a user