From 7032c060660e62f0e9506c870a7328fe246cca68 Mon Sep 17 00:00:00 2001 From: rusefi Date: Fri, 12 Nov 2021 12:45:41 -0500 Subject: [PATCH] maybe lua freezes proteus h7 after 7 seconds of run #3539 --- firmware/flash_erase_dfu.bat | 2 ++ firmware/send_command.bat | 8 ++++++++ 2 files changed, 10 insertions(+) create mode 100644 firmware/flash_erase_dfu.bat create mode 100644 firmware/send_command.bat diff --git a/firmware/flash_erase_dfu.bat b/firmware/flash_erase_dfu.bat new file mode 100644 index 0000000000..a940e75f99 --- /dev/null +++ b/firmware/flash_erase_dfu.bat @@ -0,0 +1,2 @@ + +STM32_Programmer_CLI.exe -c port=usb1 -e all \ No newline at end of file diff --git a/firmware/send_command.bat b/firmware/send_command.bat new file mode 100644 index 0000000000..f907658849 --- /dev/null +++ b/firmware/send_command.bat @@ -0,0 +1,8 @@ +rem +rem auto-detects connected running rusEfi serial port and send text 'reboot' command +rem + +set command=%1 +echo "Command: [%command%]" + +java -jar ../java_console_binary/rusefi_console.jar %command%