You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The root error is :
ValueError("Package 'cmwx1' not found in external library 'arduino-lib' (D:\mypython\micropython-stubber\repos\micropython\ports\renesas-ra\boards\ARDUINO_PORTENTA_C33\$(ARDUINO_LIB_DIR)).")
and that is caused by the arduino-lib submodule not being added/cloned to the micropython/lib/arduino-lib folder.
During build this is doen by the make submodules
a quick workaround it to
clone this manually:
...\repos\micropython> git submodule update --init lib/arduino-lib
Submodule 'lib/arduino-lib' (https://github.com/arduino/arduino-lib-mpy.git) registered for path 'lib/arduino-lib'
Cloning into 'D:/mypython/micropython-stubber/repos/micropython/lib/arduino-lib'...
Submodule path 'lib/arduino-lib': checked out '89424753e18ed58b7d8041085c9d2e1d162f09ca'
Adjust ARDUINO_LIB_DIR in the environment? allow to find the arduino-lib to repos\micropython\lib\arduino-lib\lib\cmwx1\cmwx1.py
Freeze error with ARDUINO boards.
Both for 1.23.0 & preview
08:15:20 | INFO | repos - repos/micropython v1.24.0-preview
08:15:20 | INFO | repos - repos/micropython-lib v1.23.0-10-g98f8a7e
https://github.com/Josverl/micropython-stubs/actions/runs/9658848304/job/26640919863
The text was updated successfully, but these errors were encountered: