rp2040 audio_test compile

This commit is contained in:
hathach
2021-01-24 00:44:17 +07:00
parent ffad6eaf80
commit 959a94b98d
6 changed files with 71 additions and 25 deletions

View File

@@ -95,7 +95,13 @@ def build_size(example, board):
def skip_example(example, board):
ex_dir = 'examples/' + example
# family.mk
board_mk = 'hw/bsp/{}/family.mk'.format(family)
# family.cmake
if not os.path.exists(board_mk):
board_mk = 'hw/bsp/{}/family.cmake'.format(family)
with open(board_mk) as mk:
mk_contents = mk.read()