Skip to content

Commit d3733be

Browse files
committed
mod: install scripts with mip install dependencies
1 parent 534becd commit d3733be

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

install.bat

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ python -m mpremote %port_string% fs cp constants.py :constants.py
2626
python -m mpremote %port_string% fs cp pinout_definitions.py :pinout_definitions.py
2727
python -m mpremote %port_string% fs cp uart.py :uart.py
2828

29+
echo Installing dependencies
30+
python -m mpremote %port_string% mip install github:arduino/ucPack-mpy
31+
2932
python -m mpremote %port_string% reset
3033
exit /b 0
3134

install.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,7 @@ $python_command -m mpremote $connect_string fs cp constants.py :constants.py
5252
$python_command -m mpremote $connect_string fs cp pinout_definitions.py :pinout_definitions.py
5353
$python_command -m mpremote $connect_string fs cp uart.py :uart.py
5454

55+
echo "Installing dependencies"
56+
$python_command -m mpremote $connect_string mip install github:arduino/ucPack-mpy
57+
5558
$python_command -m mpremote $connect_string reset

0 commit comments

Comments
 (0)