mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 09:28:31 -04:00
Tools: board_list.py: add AP_PERIPH_HEAVY into is-periph check
This commit is contained in:
parent
a74795bc67
commit
09dac0cc8a
@ -74,6 +74,8 @@ class BoardList(object):
|
|||||||
for line in text:
|
for line in text:
|
||||||
if re.match(r"^\s*env AP_PERIPH 1", line):
|
if re.match(r"^\s*env AP_PERIPH 1", line):
|
||||||
board.is_ap_periph = 1
|
board.is_ap_periph = 1
|
||||||
|
if re.match(r"^\s*env AP_PERIPH_HEAVY 1", line):
|
||||||
|
board.is_ap_periph = 1
|
||||||
|
|
||||||
def read_hwdef(self, filepath):
|
def read_hwdef(self, filepath):
|
||||||
fh = open(filepath)
|
fh = open(filepath)
|
||||||
|
Loading…
Reference in New Issue
Block a user