Comments (1)
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 torepos\micropython\lib\arduino-lib\lib\cmwx1\cmwx1.py
from micropython-stubber.
Related Issues (20)
- MPFlash unnecessarily verbose error message HOT 2
- MPFlash list output doesn't fit a standard terminal HOT 4
- mpflash: rp2 download fails HOT 3
- Mpflash error flashing blank esp32
- Mpflash error flashing. UF2 on macos HOT 1
- MPflash: unable to flash rp2040 /.uf2 on macos HOT 13
- mpflash: does not identify 'ESP32 module with ESP32' v1.13 HOT 1
- mpflash: Failing flash without --serial HOT 4
- mpflash: Improve HTTP error handling HOT 3
- Mpflash - : use 1200 Bd to reset boards to bootloader HOT 2
- Add tls module HOT 1
- mpflash: unable to download PICO firmware due to changed BOARD_ID HOT 4
- mpflash: non-zero return code to indicate no device found HOT 7
- MPFlash: Failed flash in CI should return error HOT 1
- stubber createstubs aborts on error while stubbing one board
- MPFlash: ask_input tests fail in CI
- MPFlash: implement erase for RPI_PICO and other boards
- mpflash: Add merge option
- stubber: malformed usocket.pyi
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from micropython-stubber.