How do I include the uctypes library module in a build?
Posted: Thu Oct 11, 2018 5:52 pm
Even though it's an official micropython library, uctypes doesn't seem to be a part of the default build:
How do I add the uctypes module in so that I can import and use it?
Code: Select all
>>> help ('modules')
__main__ gc os ucollections
array machine random uos
board math sys ustruct
builtins micropython time utime
Plus any modules on the filesystem
>>> import uctypes
Traceback (most recent call last):
File "<stdin>", in <module>
ImportError: no module named 'uctypes'
>>>