Tools: board_list.py: add AP_PERIPH_HEAVY into is-periph check

This commit is contained in:
Peter Barker 2022-01-13 09:24:29 +11:00 committed by Andrew Tridgell
parent a74795bc67
commit 09dac0cc8a
1 changed files with 2 additions and 0 deletions

View File

@ -74,6 +74,8 @@ class BoardList(object):
for line in text:
if re.match(r"^\s*env AP_PERIPH 1", line):
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):
fh = open(filepath)