Skip to content

Commit

Permalink
CI testing
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Nov 26, 2022
1 parent bd422d3 commit 306d4cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions buildroot/share/PlatformIO/scripts/preflight-checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:") ]) )
Expand Down

0 comments on commit 306d4cc

Please sign in to comment.