diff options
| author | Ha Thach <[email protected]> | 2023-06-15 14:18:00 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-06-15 14:18:00 +0700 |
| commit | 81450bc71d37fce73241f7a683b51872860cb7b7 (patch) | |
| tree | 48419bd161f6f849714484fbf30c2bb26284d983 /tools | |
| parent | 4e61eb6d9e07aca78d83f039d5cefccd7412c4a5 (diff) | |
| parent | 1a37777f59936cba0523bb4790ef657bbf17b870 (diff) | |
Merge pull request #2110 from hathach/chipidea-fs
Chipidea fs
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/get_deps.py | 3 | ||||
| -rw-r--r-- | tools/get_family_deps.py | 21 |
2 files changed, 0 insertions, 24 deletions
diff --git a/tools/get_deps.py b/tools/get_deps.py index b4739e940..7e798cf9e 100644 --- a/tools/get_deps.py +++ b/tools/get_deps.py @@ -53,9 +53,6 @@ deps_optional = { 'hw/mcu/nxp/mcux-sdk': ['https://github.com/hathach/mcux-sdk.git', '950819b7de9b32f92c3edf396bc5ffb8d66e7009', 'kinetis_k32l lpc51 lpc54 lpc55 mcx imxrt'], - 'hw/mcu/nxp/nxp_sdk': ['https://github.com/hathach/nxp_sdk.git', - '845c8fc49b6fb660f06a5c45225494eacb06f00c', - 'kinetis_kl'], 'hw/mcu/raspberry_pi/Pico-PIO-USB': ['https://github.com/sekigon-gonnoc/Pico-PIO-USB.git', 'c3715ce94b6f6391856de56081d4d9b3e98fa93d', 'rp2040'], diff --git a/tools/get_family_deps.py b/tools/get_family_deps.py deleted file mode 100644 index 071d7b756..000000000 --- a/tools/get_family_deps.py +++ /dev/null @@ -1,21 +0,0 @@ -import sys -import subprocess -import os - -# TOP is tinyusb root dir -TOP = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) - -def get_family_dep(family): - for entry in os.scandir("{}/hw/bsp/{}/boards".format(TOP, family)): - if entry.is_dir(): - result = subprocess.run("make -C {}/examples/device/board_test BOARD={} get-deps".format(TOP, entry.name), - shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) - print(result.stdout.decode("utf-8")) - return result.returncode - - -status = 0 -for d in sys.argv[1:]: - status += get_family_dep(d) - -sys.exit(status) |
