File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ set /p userInput=Do you want to flash the firmware right now? (y/N):
4242if /i " %userInput% " == " y" (
4343 python -m mpremote %port_string% run firmware_updater.py
4444) else (
45- echo Firmware was not flashed on the remote device.
45+ echo The firmware will not be written to the device.
4646)
4747
4848python -m mpremote %port_string% reset
@@ -53,4 +53,4 @@ echo Usage: %~nx0 [-p PORT] FILENAME
5353echo Options:
5454echo -p PORT Specify the device port
5555echo -h Display this help message
56- exit /b 0
56+ exit /b 0
Original file line number Diff line number Diff line change @@ -64,13 +64,13 @@ echo "Uploading $filename..."
6464$python_command -m mpremote $connect_string fs rm :firmware.bin
6565$python_command -m mpremote $connect_string fs cp $filename :firmware.bin
6666
67- echo " Do want to flash the firmware right now? (y/N)"
67+ echo " Do you want to flash the firmware right now? (y/N)"
6868read do_flash
6969
7070if [ " $do_flash " == " y" ] || [ " $do_flash " == " Y" ]; then
7171 $python_command -m mpremote $connect_string run firmware_updater.py
7272else
73- echo " Firmware was not flashed on the remote device."
73+ echo " The firmware will not be written to the device."
7474fi
7575
7676$python_command -m mpremote $connect_string reset
You can’t perform that action at this time.
0 commit comments