fix buid_board.py script

This commit is contained in:
hathach
2022-06-29 14:06:44 +07:00
parent 3ead682af0
commit 8fe9022a6e
18 changed files with 55 additions and 31 deletions

View File

@@ -48,7 +48,7 @@ all_families.sort()
def build_family(example, family):
all_boards = []
for entry in os.scandir("hw/bsp/{}/boards".format(family)):
if entry.is_dir():
if entry.is_dir() and entry.name != 'pico_sdk':
all_boards.append(entry.name)
filter_with_input(all_boards)
all_boards.sort()