This commit is contained in:
hathach
2020-11-09 01:23:19 +07:00
parent 7ab3da1e03
commit 496c7c701a
3 changed files with 7 additions and 16 deletions

View File

@@ -76,6 +76,10 @@ def skip_example(example, board):
if 'CROSS_COMPILE = xtensa-esp32s2-elf-' in mk_contents:
return 1
# Skip all OPT_MCU_NONE these are WIP port
if '-DCFG_TUSB_MCU=OPT_MCU_NONE' in mk_contents:
return 1
# Skip if CFG_TUSB_MCU in board.mk to match skip file
for skip_file in glob.iglob(ex_dir + '/.skip.MCU_*'):
mcu_cflag = '-DCFG_TUSB_MCU=OPT_' + os.path.basename(skip_file).split('.')[2]