Is it possible to create stubs from libraries "built in" to a custom micropython? #402
-
Pimoroni provide a custom micropython build that includes a number of additional libraries for their Raspberry Pi Pico add-ons and RP2040-based boards. I've successfully generated stubs from a Pico board with this version of micropython installed, however it only seems to have the standard libraries (e.g. Should the stubs for these libraries already be generated, or is there something I can do to generate them? If there's something Pimoroni could do to provide for stub generation I could raise this in their forum, at the moment I don't know enough about the structure of micropython to guess what might be needed! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@trepidacious See: I intend to integrate this feature into micropy-cli in #394 (or possibly right after). |
Beta Was this translation helpful? Give feedback.
@trepidacious
I have been working alongside @Josverl to bring this exact functionality to light 😄
See:
Josverl/micropython-stubber#298
Josverl/micropython-stubber#319
I intend to integrate this feature into micropy-cli in #394 (or possibly right after).