The following modules from the MicroPython standard are not supported on TM NPU and cannot be used:
Name of module |
Classes and functions |
Notes |
|---|---|---|
usocket |
Entire module |
Provides access to the BSD socket interface. |
ussl |
Entire module |
Provides access to Transport Layer Security encryption and peer authentication facilities for network sockets, both client-side and server-side. |
utime |
utime.mktime() |
Inversed function of localtime. |
_thread |
Entire module |
Inverse function of localtime. |
btree |
Entire module |
Implements a simple keyvalue database using external storage (disk files, or in general cases, a random-access stream). Access to external storage not granted. |
framebuf |
Entire module |
Provides a general frame buffer which can be used to create bitmap images for sending to a display. |
machine |
Entire module |
Provides functions related to the hardware. Use TM NPU specific instead to interact with hardware. |
micropython |
micropython.kdb_intr(), micropython.schedule() |
Allows KeyboardInterrupt exceptions and schedule the ‘func’ function to be executed “very soon”. |
network |
Entire module |
This module provides network drivers and routing configuration. |
sys |
sys.settrace() |
Set the system's trace function, which allows you to implement a Python source code debugger in Python. |
ubluetooth |
Entire module |
Provides an interface to a Bluetooth controller on a board. |
ucryptolib |
Entire module |
Provides encryption/ decryption functionality. |
uctypes |
Entire module |
Allows access to binary data in a structured way. |
uhashlib |
Entire module |
This module implements binary data hashing algorithms. |
uio |
class uio.FileIO(), class uio.TextIOWrapper() |
This module is for file access. Use the dedicated TM NPU specific module "npufs" to access files from sdcard/ ftp. |
uos |
Entire module |
The uos module contains functions for filesystem access and mounting, terminal redirection and dplication, and the uname and urandom functions. Services for Port TM NPU are accessable via dedicated modules. |
uselect |
Entire module |
This module provides functions to efficiently wait for evvents on multiple streams (selet streams which are ready for operations). |