projects
/
mesa.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ci: Don't build an arm_test container now that the last user is gone.
[mesa.git]
/
.gitlab-ci
/
bare-metal
/
write-serial.py
1
#!/usr/bin/python3
2
3
import
sys
4
import
serial
5
6
dev
=
sys
.
argv
[
1
]
7
command
=
sys
.
argv
[
2
] +
'
\n
'
8
9
ser
=
serial
.
Serial
(
dev
,
115200
,
timeout
=
5
)
10
ser
.
write
(
command
.
encode
())
11
ser
.
close
()