summaryrefslogtreecommitdiff
path: root/tools/get_deps.py
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2026-08-21 17:24:35 +0700
committerGitHub <[email protected]>2026-08-21 17:24:35 +0700
commitfd70160a2f5fd23de1abfbaefb6399746a90b588 (patch)
treed65fb7848c2365b45279a6727f001022f2ba7507 /tools/get_deps.py
parentcb3caee74de7dbb9fc91a5fdb37b448a63eadae0 (diff)
parentc8e0e94d889cd9b9a423d36c2b194d50805d8272 (diff)
Merge pull request #3841 from hathach/build-filter
ci: scope the build matrix and HIL run to what a PR affects
Diffstat (limited to 'tools/get_deps.py')
-rwxr-xr-xtools/get_deps.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/get_deps.py b/tools/get_deps.py
index baaf3761f..12bec4861 100755
--- a/tools/get_deps.py
+++ b/tools/get_deps.py
@@ -33,7 +33,7 @@ deps_mandatory = {
deps_optional = {
'hw/mcu/allwinner': ['https://github.com/hathach/allwinner_driver.git',
'8e5e89e8e132c0fd90e72d5422e5d3d68232b756',
- 'fc100s'],
+ 'f1c100s'],
'hw/mcu/analog/msdk' : ['https://github.com/analogdevicesinc/msdk.git',
'b20b398d3e5e2007594e54a74ba3d2a2e50ddd75',
'maxim'],
@@ -108,7 +108,7 @@ deps_optional = {
'efm32'],
'hw/mcu/sony/cxd56/spresense-exported-sdk': ['https://github.com/sonydevworld/spresense-exported-sdk.git',
'2ec2a1538362696118dc3fdf56f33dacaf8f4067',
- 'spresense'],
+ 'cxd56'],
'hw/mcu/st/cmsis_device_c0': ['https://github.com/STMicroelectronics/cmsis_device_c0.git',
'517611273f835ffe95318947647bc1408f69120d',
'stm32c0'],
@@ -386,6 +386,10 @@ def main():
parser.add_argument('-f1', '--build-flags-on', action='append', default=[], help='Have no effect')
parser.add_argument('--build-name', default=None, help='Have no effect')
parser.add_argument('--cflag', action='append', default=[], help='Have no effect')
+ # build-matrix entries carry -e for tools/build.py; they reach get_deps.py
+ # verbatim (.github/actions/get_deps, build.yml's hil-hfp-iar) and an
+ # argparse error here reds the Get Dependencies step of every scoped PR
+ parser.add_argument('-e', '--example', action='append', default=[], help='Have no effect')
args = parser.parse_args()
families = args.families