diff --git a/utilities/flash_firmware.bat b/utilities/flash_firmware.bat index ee8b7b7..c496dc0 100644 --- a/utilities/flash_firmware.bat +++ b/utilities/flash_firmware.bat @@ -42,7 +42,7 @@ set /p userInput=Do you want to flash the firmware right now? (y/N): if /i "%userInput%"=="y" ( python -m mpremote %port_string% run firmware_updater.py ) else ( - echo Firmware was not flashed on the remote device. + echo The firmware will not be written to the device. ) python -m mpremote %port_string% reset @@ -53,4 +53,4 @@ echo Usage: %~nx0 [-p PORT] FILENAME echo Options: echo -p PORT Specify the device port echo -h Display this help message -exit /b 0 \ No newline at end of file +exit /b 0 diff --git a/utilities/flash_firmware.sh b/utilities/flash_firmware.sh index b9bfd1c..f4f1b49 100644 --- a/utilities/flash_firmware.sh +++ b/utilities/flash_firmware.sh @@ -64,13 +64,13 @@ echo "Uploading $filename..." $python_command -m mpremote $connect_string fs rm :firmware.bin $python_command -m mpremote $connect_string fs cp $filename :firmware.bin -echo "Do want to flash the firmware right now? (y/N)" +echo "Do you want to flash the firmware right now? (y/N)" read do_flash if [ "$do_flash" == "y" ] || [ "$do_flash" == "Y" ]; then $python_command -m mpremote $connect_string run firmware_updater.py else - echo "Firmware was not flashed on the remote device." + echo "The firmware will not be written to the device." fi $python_command -m mpremote $connect_string reset