Search found 71 matches

by pagano.paganino
Tue Mar 05, 2019 12:11 pm
Forum: General Discussion and Questions
Topic: Melbourne MicroPython Meetup material
Replies: 5
Views: 385

Re: Melbourne MicroPython Meetup material

Thank you for naming my library ucryptoauthlib
by pagano.paganino
Tue Feb 26, 2019 9:44 pm
Forum: Development of MicroPython
Topic: Build Issue
Replies: 9
Views: 426

Re: Build Issue

to reproduce: copy the test.py file to the 'modules' subfolder, uncomment any of these tests and try to compile. # # FAIL # _B = ('NULL',) # # FAIL #_B1 = ['NULL'] # # FAIL # _B2 = {'NULL':None} # # FAIL # _B3 = dict(NULL=None) # # FAIL # def NULL(): # pass # # FAIL # class NULL(object): # pass # # ...
by pagano.paganino
Tue Feb 26, 2019 8:20 am
Forum: Development of MicroPython
Topic: Build Issue
Replies: 9
Views: 426

Re: Build Issue

Have you declared a string containing 'NULL'?

Try remove it and rebuild.
by pagano.paganino
Wed Jan 23, 2019 10:02 am
Forum: Drivers for External Components
Topic: ATECC508A and ATECC608A cryptoauthlib
Replies: 0
Views: 196

ATECC508A and ATECC608A cryptoauthlib

Hi folks, at this link https://github.com/dmazzella/ucryptoauthlib I have created a driver in pure-python for interact with the Microchip's secure element ATECC508A and ATECC608A from a PyBoard. The API are the same of the C library/driver from Microchip https://github.com/MicrochipTech/cryptoauthli...
by pagano.paganino
Sat Dec 22, 2018 10:21 pm
Forum: MicroPython pyboard
Topic: Support for hardware crypto?
Replies: 7
Views: 1535

Re: Support for hardware crypto?

I am also looking into seeing if I can find somebody to help with evaluating porting the STM32crypto library to Micropython. I just do not have the time or knowledge to do this efficiently. what features do you need to port the STM32crypto library to micropython? RSA? certificates? csr? ECC? AES? 3...
by pagano.paganino
Fri Dec 21, 2018 10:50 pm
Forum: General Discussion and Questions
Topic: Memmory Allocation Error although plenty of RAM left...
Replies: 21
Views: 1101

Re: Memmory Allocation Error although plenty of RAM left...

try with gc.threshold

Code: Select all

import gc
gc.threshold((gc.mem_alloc() + gc.mem_free()) // 10)
try to calibrate the right size for you instead of

Code: Select all

(gc.mem_alloc() + gc.mem_free()) // 10)
I suggest you try with a very low value (4096) and increase it.
by pagano.paganino
Mon Sep 24, 2018 10:14 pm
Forum: MicroPython pyboard
Topic: Support for hardware crypto?
Replies: 7
Views: 1535

Re: Support for hardware crypto?

Hi, yesterday I created a github repository and started a first version of the driver for atecc508a. The long-term goal is to support all devices in the family of the secure elements of Microchip ateccX08a. Now I'm working on the ATECC508A device and at the moment the INFO and SHA commands are suppo...
by pagano.paganino
Sat Sep 15, 2018 10:08 pm
Forum: Development of MicroPython
Topic: MicroPython on STM32F7
Replies: 10
Views: 1082

Re: MicroPython on STM32F7

The problem is that the content of the file "modules/dht.py" is not python code but the text "../../../drivers/dht/dht.py" which represents a symbolic link on unix systems. You are compiling with mingw (but the same problem is with msys2) which does not understand that "modules/dht.py" file is not a...
by pagano.paganino
Sat Sep 15, 2018 9:42 pm
Forum: General Discussion and Questions
Topic: wiimote address to PIN
Replies: 5
Views: 532

Re: wiimote address to PIN

try this:

Code: Select all

a = bytearray(b'\x6D\x7E\x3B\x35\x1E\x00')
":".join("%02x" % b for b in reversed(a))
by pagano.paganino
Thu Sep 13, 2018 3:12 pm
Forum: Development of MicroPython
Topic: MicroPython on STM32F7
Replies: 10
Views: 1082

Re: MicroPython on STM32F7

The problem is simbolic link under mingw e msys2.
Replace linked files with originals if you need it, else remove unused.

Regards,
D.