File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 49
49
fi
50
50
51
51
# Uncomment the following line on windows machines
52
- python_command=" python"
52
+ # python_command="python"
53
53
54
54
echo " Installing flash firmware utilities..."
55
55
56
56
$python_command -m mpremote $connect_string fs rm :firmware_updater.py
57
57
$python_command -m mpremote $connect_string fs rm :stm32_flash.py
58
58
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
61
61
62
62
echo " Uploading $filename ..."
63
63
64
64
$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
66
66
67
67
echo " Do want to flash the firmware right now? (y/N)"
68
68
read do_flash
You can’t perform that action at this time.
0 commit comments