We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 84ddb17 + 5e07b79 commit 7641bf1Copy full SHA for 7641bf1
tools/ci_check_duplicate_usb_vid_pid.py
@@ -72,13 +72,7 @@ def configboard_files():
72
73
:returns: A ``pathlib.Path.glob()`` generator object
74
"""
75
- working_dir = pathlib.Path().resolve()
76
- if not working_dir.name.startswith("circuitpython") and not working_dir.name.startswith(
77
- "micropython"
78
- ):
79
- raise RuntimeError(
80
- "Please run USB VID/PID duplicate verification at the " "top-level directory."
81
- )
+ working_dir = pathlib.Path(__file__).resolve().parent.parent
82
return working_dir.glob("ports/**/boards/**/mpconfigboard.mk")
83
84
0 commit comments