From 306d4cc89dcd5368d5e819f42d7fcdd2490fc5ba Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Mon, 21 Nov 2022 17:17:50 -0600 Subject: [PATCH] CI testing --- buildroot/share/PlatformIO/scripts/preflight-checks.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/buildroot/share/PlatformIO/scripts/preflight-checks.py b/buildroot/share/PlatformIO/scripts/preflight-checks.py index d810120ec0f19..4ad305e7f050b 100644 --- a/buildroot/share/PlatformIO/scripts/preflight-checks.py +++ b/buildroot/share/PlatformIO/scripts/preflight-checks.py @@ -71,6 +71,8 @@ def sanity_check_target(): config = env.GetProjectConfig() result = check_envs("env:"+build_env, board_envs, config) + print("!!! MOTHERBOARD is %s. Build environment is '%s'" % (motherboard, build_env)) + if not result: err = "Error: Build environment '%s' is incompatible with %s. Use one of these: %s" % \ ( build_env, motherboard, ", ".join([ e[4:] for e in board_envs if e.startswith("env:") ]) )