flash script: add sample script for lfashing over serial/USB serial

This commit is contained in:
Andrey Gusakov 2024-03-24 19:24:31 +03:00 committed by rusefillc
parent 6614372f14
commit f072a735d5
1 changed files with 13 additions and 0 deletions

13
firmware/flash_uart.sh Normal file
View File

@ -0,0 +1,13 @@
#!/bin/bash
# This script will try to flash/update RusEFI part of firmware over serial/USB serial interface.
BootCommander -t=xcp_rs232 -d=/dev/ttyACM0 build/rusefi.srec
# OR
# You can build it from sources with:
# (cd ext/openblt/Host/Source/LibOpenBLT/ ; mkdir build ; cd build ; cmake .. ; make -j )
# and
# (cd ext/openblt/Host/Source/BootCommander/ ; mkdir build ; cd build ; cmake .. ; make -j )
# And run:
# ext/openblt/Host/BootCommander -t=xcp_rs232 -d=/dev/ttyACM0 build/rusefi.srec