From 7ccb8f29b2f864c0de1e9fc4ce8ea08a2b747081 Mon Sep 17 00:00:00 2001 From: Giovanni Bruno Date: Mon, 28 Oct 2024 09:17:48 +0100 Subject: [PATCH 1/4] added arduino runtime dependencies --- arduino_alvik/__init__.py | 2 +- install.bat | 1 + install.sh | 1 + package.json | 5 +++-- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/arduino_alvik/__init__.py b/arduino_alvik/__init__.py index 50fb7db..a5353de 100644 --- a/arduino_alvik/__init__.py +++ b/arduino_alvik/__init__.py @@ -4,7 +4,7 @@ __author__ = "Lucio Rossi , Giovanni Bruno " __license__ = "MPL 2.0" -__version__ = "1.1.0" +__version__ = "1.1.1" __maintainer__ = "Lucio Rossi , Giovanni Bruno " __required_firmware_version__ = "1.1.0" diff --git a/install.bat b/install.bat index efbd576..f8a4830 100644 --- a/install.bat +++ b/install.bat @@ -30,6 +30,7 @@ python -m mpremote %port_string% fs cp arduino_alvik/uart.py :lib/arduino_alvik/ echo Installing dependencies python -m mpremote %port_string% mip install github:arduino/ucPack-mpy +python -m mpremote %port_string% mip install github:arduino/arduino-runtime-mpy python -m mpremote %port_string% reset exit /b 0 diff --git a/install.sh b/install.sh index e606f57..837f7fd 100644 --- a/install.sh +++ b/install.sh @@ -55,5 +55,6 @@ $python_command -m mpremote $connect_string fs cp arduino_alvik/uart.py :lib/ard echo "Installing dependencies" $python_command -m mpremote $connect_string mip install github:arduino/ucPack-mpy +$python_command -m mpremote $connect_string mip install github:arduino/arduino-runtime-mpy $python_command -m mpremote $connect_string reset diff --git a/package.json b/package.json index 8c829cb..52e2987 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,8 @@ ["arduino_alvik/stm32_flash.py", "github:arduino/arduino-alvik-mpy/arduino_alvik/stm32_flash.py"] ], "deps": [ - ["github:arduino/ucPack-mpy", "0.1.6"] + ["github:arduino/ucPack-mpy", "0.1.6"], + ["github:arduino/arduino-runtime-mpy"] ], - "version": "1.1.0" + "version": "1.1.1" } From 6204060daf2c59b8b46e523c5e174f01f7ec1efb Mon Sep 17 00:00:00 2001 From: Giovanni Bruno Date: Mon, 28 Oct 2024 09:53:22 +0100 Subject: [PATCH 2/4] fix package --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 52e2987..e9d4dfd 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ ], "deps": [ ["github:arduino/ucPack-mpy", "0.1.6"], - ["github:arduino/arduino-runtime-mpy"] + ["github:arduino/arduino-runtime-mpy", "latest"] ], "version": "1.1.1" } From a9b0d0a74163c615f9081e78da15f5156375e032 Mon Sep 17 00:00:00 2001 From: Giovanni Bruno Date: Mon, 28 Oct 2024 11:57:48 +0100 Subject: [PATCH 3/4] removed "latest", it cause issues --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e9d4dfd..52e2987 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ ], "deps": [ ["github:arduino/ucPack-mpy", "0.1.6"], - ["github:arduino/arduino-runtime-mpy", "latest"] + ["github:arduino/arduino-runtime-mpy"] ], "version": "1.1.1" } From 9c76e83ab3e04c75fb327642471af761598ff0eb Mon Sep 17 00:00:00 2001 From: Giovanni Bruno Date: Mon, 28 Oct 2024 12:10:32 +0100 Subject: [PATCH 4/4] tag 0.4.0 on runtime --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 52e2987..2bc1cd9 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ ], "deps": [ ["github:arduino/ucPack-mpy", "0.1.6"], - ["github:arduino/arduino-runtime-mpy"] + ["github:arduino/arduino-runtime-mpy", "0.4.0"] ], "version": "1.1.1" }