Page 1 of 1

ucryptolib on pBoard v1.1

Posted: Sat Oct 10, 2020 1:28 am
by scsibuzz
Hi all,

Thanks for your support.

I purchased a Pyboard from Sparkfun and am unable to import ucryptolib. According to the documentation and several forums posts, it seems it should be available.

Here's the result from help('modules'):

Code: Select all

>>> help('modules')
__main__          math              ucollections      urandom
_onewire          micropython       uctypes           ure
builtins          network           uerrno            uselect
cmath             onewire           uhashlib          usocket
dht               pyb               uheapq            ustruct
framebuf          stm               uio               utime
gc                sys               ujson             utimeq
lcd160cr          uarray            umachine          uzlib
lcd160cr_test     ubinascii         uos
Plus any modules on the filesystem
Any ideas on why it's not available on my board? Is it related to crypto export restrictions?

Re: ucryptolib on pBoard v1.1

Posted: Sat Oct 10, 2020 7:22 am
by Roberthh
ucyptolib is not included in every port. It is for instance included in the build for Pyboard D, but not for Pyboard V1.1, which seems to be the module you use.