Skip to content

Commit 44ed823

Browse files
committed
Fix Romi firmware upload
1 parent 41431b2 commit 44ed823

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

deps/tools/configServer/src/RomiStatus.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -199,10 +199,10 @@ void RomiStatus::FirmwareUpdate(std::function<void(std::string_view)> onFail) {
199199
// create pipe to capture stdout
200200
auto pipe = uv::Pipe::Create(m_loop);
201201
if (auto proc = uv::Process::Spawn(
202-
m_loop, "/usr/bin/python",
202+
m_loop, "/usr/bin/python3",
203203
pipe ? uv::Process::StdioCreatePipe(1, *pipe, UV_WRITABLE_PIPE)
204204
: uv::Process::Option(),
205-
"/usr/bin/python", "/usr/src/wpilib-ws-romi/scripts/uploadRomi.py")) {
205+
"/usr/bin/python3", "/usr/src/wpilib-ws-romi/scripts/uploadRomi.py")) {
206206
// send stdout output to firmware log
207207
if (pipe) {
208208
pipe->StartRead();

stage5/01-sys-tweaks/files/uploadRomi.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python3 -u
1+
#!/usr/bin/env python3
22

33
# This file uploads to the Romi using a USB cable
44

0 commit comments

Comments
 (0)