Supported features¶
The PSoC6 port is currently configured to configuration level MICROPY_CONFIG_ROM_LEVEL_FULL_FEATURES with a few additional settings applied, thus enabling most standard modules as listed in the following.
Enabled modules¶
- Python standard modules and libraries
cmath
gc
math
uarray
uasyncio
ubinascii
ucollections
uerrno
uhashlib
uheapq
uio
ujson
uos
urandom
ure
uselect
ussl
ustruct
usys
utime
uzlib
- Micropython specific modules and libraries
framebuf
- machine
Pin
I2C
RTC
SoftI2C
micropython
ucryptolib
uctypes
network
- Port specific modules and micro-libraries
psoc6 (flash support)
Not yet enabled¶
- Python standard modules and libraries
usocket
_thread
- Micropython specific modules and libraries
btree
ubluetooth
Table configuration details below lists specific settings deviating from the configuration as per config level as well as functionality not yet implemented:
Module |
Details |
|---|---|
gc |
Option |
uhashlib |
Options |
uos |
Support for LFS2 and FAT, LFS2 enabled by default. FS mounted on external flash at “/flash”. Options Function urandom() not yet implemented. Requires implementing mp_uos_urandom() and setting option
|
urandom |
Function seed() not yet implemented. |
ure |
Options |
ussl |
Options |
usys |
Options |
utime |
Enabled through HAL functions based on machine.RTC module. Option |
ucryptolib |
Options |
machine |
Functions not yet implemented: lightsleep(), deepsleep(), wake_reason(), time_pulse_us(), rng(). Constants not yet implemented : WLAN_WAKE, PIN_WAKE, RTC_WAKE, IDLE, SLEEP, DEEPSLEEP. Submodules/classes not yet implemented: ADC, bitstream, mem, Signal, SD, SDCard, SoftSPI, SPI, Timer, UART, WDT. |
machine.Pin |
Functions not yet implemented: drive(), irq(), mode(), pull(). Constants not yet implemented: ALT, ALT_OPEN_DRAIN, PULL_UP, PULL_DOWN, PULL_HOLD, LOW_POWER, MED_POWER, HIGH_POWER, IRQ_FALLING, IRQ_RISING, IRQ_LOW_LEVEL, IRQ_HIGH_LEVEL. |
machine.I2C |
Option |
machine.RTC |
Functions not yet implemented: alarm(), alarm_left(), cancel(), irq(). Constants not yet implemented: ALARM0. |
machine.SoftI2C |
Option |
psoc6 |
Option to enable the external instead of the internal flash: Option to enable the port specific debug logger: |
network |
Option Functions not yet implemented: phy_mode(). Classes not yet implemented: LAN. |
network.WLAN |
Mode not yet implemented: STA_AP. Functions not yet implemented: config. |