Skip to content

Commit c261ac6

Browse files
committed
shared_bindings_matrix: Explicitly fetch SRC_SUPERVISOR for ci_set_matrix
1 parent aa0d7aa commit c261ac6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/shared_bindings_matrix.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,11 @@ def get_settings_from_makefile(port_dir, board_name):
170170
This means that the effect of all Makefile directives is taken
171171
into account, without having to re-encode the logic that sets them
172172
in this script, something that has proved error-prone
173+
174+
This list must explicitly include any setting queried by tools/ci_set_matrix.py.
173175
"""
174176
contents = subprocess.run(
175-
["make", "-C", port_dir, "-f", "Makefile", f"BOARD={board_name}", "print-CFLAGS", "print-CIRCUITPY_BUILD_EXTENSIONS", "print-FROZEN_MPY_DIRS", "print-SRC_PATTERNS"],
177+
["make", "-C", port_dir, "-f", "Makefile", f"BOARD={board_name}", "print-CFLAGS", "print-CIRCUITPY_BUILD_EXTENSIONS", "print-FROZEN_MPY_DIRS", "print-SRC_PATTERNS", "print-SRC_SUPERVISOR"],
176178
encoding="utf-8",
177179
errors="replace",
178180
stdout=subprocess.PIPE,

0 commit comments

Comments
 (0)