diff options
| author | hathach <[email protected]> | 2021-01-24 01:26:16 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-01-24 01:26:38 +0700 |
| commit | 87daf284219bdbe8468e4d3641246bba3ce016d4 (patch) | |
| tree | 2e2414b91a4fa030c849b4f9ad2f35c4da7ff81a | |
| parent | 4101df7a75c10710011d7e5cafa5b3737c45295a (diff) | |
rp2040 skip freertos example
| -rw-r--r-- | examples/device/cdc_msc_freertos/.skip.MCU_RP2040 | 0 | ||||
| -rw-r--r-- | examples/device/hid_composite_freertos/.skip.MCU_RP2040 | 0 | ||||
| -rw-r--r-- | tools/build_family.py | 6 |
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/device/cdc_msc_freertos/.skip.MCU_RP2040 b/examples/device/cdc_msc_freertos/.skip.MCU_RP2040 new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/examples/device/cdc_msc_freertos/.skip.MCU_RP2040 diff --git a/examples/device/hid_composite_freertos/.skip.MCU_RP2040 b/examples/device/hid_composite_freertos/.skip.MCU_RP2040 new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/examples/device/hid_composite_freertos/.skip.MCU_RP2040 diff --git a/tools/build_family.py b/tools/build_family.py index eb0ef9d82..848996a3d 100644 --- a/tools/build_family.py +++ b/tools/build_family.py @@ -107,12 +107,12 @@ def skip_example(example, board): mk_contents = mk.read() # Skip all OPT_MCU_NONE these are WIP port - if '-DCFG_TUSB_MCU=OPT_MCU_NONE' in mk_contents: + if 'CFG_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] + mcu_cflag = 'CFG_TUSB_MCU=OPT_' + os.path.basename(skip_file).split('.')[2] if mcu_cflag in mk_contents: return 1 @@ -120,7 +120,7 @@ def skip_example(example, board): only_list = list(glob.iglob(ex_dir + '/.only.MCU_*')) if len(only_list) > 0: for only_file in only_list: - mcu_cflag = '-DCFG_TUSB_MCU=OPT_' + os.path.basename(only_file).split('.')[2] + mcu_cflag = 'CFG_TUSB_MCU=OPT_' + os.path.basename(only_file).split('.')[2] if mcu_cflag in mk_contents: return 0 return 1 |
