diff options
| author | Ha Thach <[email protected]> | 2025-02-21 10:36:52 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-02-21 10:36:52 +0700 |
| commit | 1cfc88dbcb8cff6f926aef02c5609880169ec94c (patch) | |
| tree | 67475392b9d6680d672f98024641dcec14e94594 /tools | |
| parent | 9d2fd6c4acd334a25592487ba7d10b46ccecfedf (diff) | |
| parent | 61aab7a86aaaf5c254ba5d14a04ff44aec8623d3 (diff) | |
Merge pull request #2994 from hathach/enhance-hub
Enhance hub driver
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/get_deps.py | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/tools/get_deps.py b/tools/get_deps.py index c8459c1f1..b82abac4f 100755 --- a/tools/get_deps.py +++ b/tools/get_deps.py @@ -58,8 +58,8 @@ deps_optional = { 'hw/mcu/nxp/mcux-sdk': ['https://github.com/hathach/mcux-sdk.git', '144f1eb7ea8c06512e12f12b27383601c0272410', 'kinetis_k kinetis_k32l2 kinetis_kl lpc51 lpc54 lpc55 mcx imxrt'], - 'hw/mcu/raspberry_pi/Pico-PIO-USB': ['https://github.com/sekigon-gonnoc/Pico-PIO-USB.git', - 'fe9133fc513b82cc3dc62c67cb51f2339cf29ef7', + 'hw/mcu/raspberry_pi/Pico-PIO-USB': ['https://github.com/hathach/Pico-PIO-USB.git', + '9c8df3083b62c0a678f3bd3d8a7e773932622d4b', 'rp2040'], 'hw/mcu/renesas/fsp': ['https://github.com/renesas/fsp.git', 'edcc97d684b6f716728a60d7a6fea049d9870bd6', @@ -217,7 +217,12 @@ TOP = Path(__file__).parent.parent.resolve() def run_cmd(cmd): - return subprocess.run(cmd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) + r = subprocess.run(cmd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) + title = f'Command Error: {cmd}' + if r.returncode != 0: + print(title) + print(r.stdout.decode("utf-8")) + return r def get_a_dep(d): |
