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
To install the latest stubs: pip install micropython-<port>-stubs
where port is the port of the MicroPython firmware .
To install the stubs for an older version, such as MicroPython 1.17: pip install micropython-stm32-stubs==1.17.* which will install the last post release of the stubs for MicroPython 1.17.
What do you get
micropython-<port>[-<board>]-stubs
The stubs for a specific version port and board of the MicroPython firmware.
These are built by combining:
The 'Firmware stubs' generated on a generic board for the port
The 'Frozen stubs' from the Micropython repository for that specific version and that port & board combination
The 'Core Stubs' to provide a common interface for the Micropython firmware and the CPython core.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Simpler install
To install the latest stubs:
pip install micropython-<port>-stubs
where port is the port of the MicroPython firmware .
To install the stubs for an older version, such as MicroPython 1.17:
pip install micropython-stm32-stubs==1.17.*
which will install the last post release of the stubs for MicroPython 1.17.What do you get
micropython-<port>[-<board>]-stubs
The stubs for a specific version port and board of the MicroPython firmware.
These are built by combining:
Note: board is omitted if it is
GENERIC
Examples:
You can search for Micropython stub packages on PyPI
Upcoming / planned
Beta Was this translation helpful? Give feedback.
All reactions