Skip to content

Commit e4760ab

Browse files
committed
print installed core version
1 parent 5bd604c commit e4760ab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: build_platform.py

+2
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,8 @@ def install_platform(platform):
168168
ColorPrint.print_fail("FAILED to install "+platform)
169169
exit(-1)
170170
ColorPrint.print_pass(CHECK)
171+
# print installed core version
172+
print(os.popen('arduino-cli core list | grep {}'.format(platform)).read(), end='')
171173

172174
def run_or_die(cmd, error):
173175
print(cmd)

0 commit comments

Comments
 (0)