mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Periph: pull out supported targets from wscript into a separate file
This commit is contained in:
parent
3ae76fa64b
commit
c54a597571
@ -4,7 +4,7 @@
|
|||||||
import fnmatch
|
import fnmatch
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
targets = ['f103-*', 'f303-*', 'CUAV_GPS', 'ZubaxGNSS*', '*-periph', 'sitl_*', 'HitecMosaic*']
|
targets = bld.ap_periph_boards()
|
||||||
valid_target = False
|
valid_target = False
|
||||||
for t in targets:
|
for t in targets:
|
||||||
if fnmatch.fnmatch(bld.env.BOARD, t):
|
if fnmatch.fnmatch(bld.env.BOARD, t):
|
||||||
|
Loading…
Reference in New Issue
Block a user