Skip to content

Commit

Permalink
Test commit
Browse files Browse the repository at this point in the history
  • Loading branch information
fpistm committed Jul 1, 2020
1 parent d830f6a commit c82ae8d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CI/build/arduino-cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,9 @@ def find_board():
[arduino_cli, "board", "listall", "--format", "json"],
stderr=subprocess.DEVNULL,
).decode("utf-8")
print("######### board listall ###########")
print(output)
print("###################################")
boards_list = json.loads(output)
if boards_list is not None:
for board in boards_list["boards"]:
Expand All @@ -471,6 +474,9 @@ def find_board():
[arduino_cli, "board", "details", "--format", "json", fqbn],
stderr=subprocess.DEVNULL,
).decode("utf-8")
print("######### board details {} ###########".format(fqbn))
print(output)
print("######################################")
board_detail = json.loads(output)
if board_detail is not None:
if "config_options" not in board_detail:
Expand Down

0 comments on commit c82ae8d

Please sign in to comment.