File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 4949fi
5050
5151# Uncomment the following line on windows machines
52- python_command=" python"
52+ # python_command="python"
5353
5454echo " Installing flash firmware utilities..."
5555
5656$python_command -m mpremote $connect_string fs rm :firmware_updater.py
5757$python_command -m mpremote $connect_string fs rm :stm32_flash.py
5858
59- $python_command -m mpremote $connect_string fs cp ./ firmware_updater.py :firmware_updater.py
60- $python_command -m mpremote $connect_string fs cp ./ stm32_flash.py :stm32_flash.py
59+ $python_command -m mpremote $connect_string fs cp firmware_updater.py :firmware_updater.py
60+ $python_command -m mpremote $connect_string fs cp stm32_flash.py :stm32_flash.py
6161
6262echo " Uploading $filename ..."
6363
6464$python_command -m mpremote $connect_string fs rm :firmware.bin
65- $python_command -m mpremote $connect_string fs cp ./ $filename :firmware.bin
65+ $python_command -m mpremote $connect_string fs cp $filename :firmware.bin
6666
6767echo " Do want to flash the firmware right now? (y/N)"
6868read do_flash
You can’t perform that action at this time.
0 commit comments