Have you declared a string containing 'NULL'?
Try remove it and rebuild.
Search found 89 matches
- Tue Feb 26, 2019 8:20 am
- Forum: Development of MicroPython
- Topic: Build Issue
- Replies: 9
- Views: 5842
- Wed Jan 23, 2019 10:02 am
- Forum: Drivers for External Components
- Topic: ATECC508A and ATECC608A cryptoauthlib
- Replies: 3
- Views: 23656
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...
- Sat Dec 22, 2018 10:21 pm
- Forum: MicroPython pyboard
- Topic: Support for hardware crypto?
- Replies: 7
- Views: 7386
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...
- Fri Dec 21, 2018 10:50 pm
- Forum: General Discussion and Questions
- Topic: Memmory Allocation Error although plenty of RAM left...
- Replies: 21
- Views: 11461
Re: Memmory Allocation Error although plenty of RAM left...
try with gc.threshold
try to calibrate the right size for you instead of
I suggest you try with a very low value (4096) and increase it.
Code: Select all
import gc
gc.threshold((gc.mem_alloc() + gc.mem_free()) // 10)
Code: Select all
(gc.mem_alloc() + gc.mem_free()) // 10)
- Mon Sep 24, 2018 10:14 pm
- Forum: MicroPython pyboard
- Topic: Support for hardware crypto?
- Replies: 7
- Views: 7386
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...
- Sat Sep 15, 2018 10:08 pm
- Forum: Development of MicroPython
- Topic: MicroPython on STM32F7
- Replies: 10
- Views: 7084
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...
- Sat Sep 15, 2018 9:42 pm
- Forum: General Discussion and Questions
- Topic: wiimote address to PIN
- Replies: 5
- Views: 4871
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))
- Thu Sep 13, 2018 3:12 pm
- Forum: Development of MicroPython
- Topic: MicroPython on STM32F7
- Replies: 10
- Views: 7084
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.
Replace linked files with originals if you need it, else remove unused.
Regards,
D.
- Tue Aug 28, 2018 9:47 pm
- Forum: MicroPython pyboard
- Topic: Support for hardware crypto?
- Replies: 7
- Views: 7386
Re: Support for hardware crypto?
Hi Roland,
have you got the chance and time to try the secure element ATECC508A?
Best Regards,
D.
have you got the chance and time to try the secure element ATECC508A?
Best Regards,
D.
- Fri May 04, 2018 4:49 pm
- Forum: General Discussion and Questions
- Topic: return printable chars from byte array
- Replies: 8
- Views: 8641
Re: return printable chars from byte array
Hi, this is a patch for a modification to the modure.c file that implements sub and other convenient features (I hope). diff --git "a/C:\\Users\\Damiano\\AppData\\Local\\Temp\\TortoiseGit\\modure-74ab341.000.c" "b/C:\\msys64_micropython\\home\\dma\\projects\\micropython\\extmod\\modure.c" index 31c2...