Search found 14 matches

by willie
Sun Oct 16, 2016 11:20 pm
Forum: MicroPython pyboard
Topic: Ideas for next evolution of pyboard
Replies: 75
Views: 38811

Re: Ideas for next evolution of pyboard

ESP32 makes ESP8266 look unattractive at this point. Whatever chip is used, there should be a BBU for the real time clock.
by willie
Wed Sep 14, 2016 8:09 am
Forum: General Discussion and Questions
Topic: Free RAM on MicroPython boards
Replies: 37
Views: 33525

Re: Free RAM on MicroPython boards

I'd be interested in seeing measurements for Espruino Pico (I like that form factor) if someone has one. The Teensy 3.2 is also of interest.
by willie
Tue Aug 16, 2016 6:21 pm
Forum: Development of MicroPython
Topic: problem with hashlib on ARM Linux
Replies: 5
Views: 2465

Re: problem with hashlib on ARM Linux

I ran "make test" with -fsanitize=undefined and got a bunch of error reports about invalid left shifts. Output is attached as "ubsan.gif". It's actually a text file but I had to use the .gif extension to get the forum software to accept the upload. Edit: attachment didn't work. Ok, pasting the outpu...
by willie
Tue Aug 16, 2016 4:52 pm
Forum: Development of MicroPython
Topic: problem with hashlib on ARM Linux
Replies: 5
Views: 2465

Re: problem with hashlib on ARM Linux

Deshipu kindly opened https://github.com/micropython/micropython/issues/2323 and Damien responded that this appeared to be the same issue as #2264, fixed at almost the same time. I pulled new master and the test passes now. Thanks!
by willie
Mon Aug 15, 2016 9:57 pm
Forum: Development of MicroPython
Topic: problem with hashlib on ARM Linux
Replies: 5
Views: 2465

Re: problem with hashlib on ARM Linux

Update: I installed Ubuntu Precise (12.04) on another Scaleway instance, and rebuilt micropython with gcc 4.6.3 from the Ubtuntu repo. The test runs ok on that system. So there is either a compiler bug or some kind of UB in micropython. Has micropython been tested with UB sanitizers? I also tried bu...
by willie
Sun Aug 14, 2016 9:30 pm
Forum: Development of MicroPython
Topic: Removing the compiler from micropython
Replies: 8
Views: 3774

Re: Removing the compiler from micropython

Hedgehog Lisp also works like that (compiler is on the PC side) if anyone cares. The target-side executable is just 20k or so including garbage collection, AVL trees as dictionaries, etc. Python is a more familiar language though.
by willie
Sun Aug 14, 2016 8:45 pm
Forum: Development of MicroPython
Topic: problem with hashlib on ARM Linux
Replies: 5
Views: 2465

problem with hashlib on ARM Linux

hashlib/test_hashlib.py fails on Scaleway C1 ARM Linux system (comparable to Raspberry Pi 2). Running Debian 8, gcc 4.9.2 Micropython built from current master, commit info: commit: 21967990519b3d0778770ddb0994216d012101c3 Author: Damien George <damien.p.george@gmail.com> Date: Sun Aug 14 16:51:54 2...
by willie
Thu Dec 31, 2015 5:21 am
Forum: WiPy and CC3200 boards
Topic: os.urandom... isn't very random?
Replies: 6
Views: 5463

Re: os.urandom... isn't very random?

It's really not ok for os.urandom to use an LSFR generator. It's supposed to be cryptographically secure. If there is a way to initialize it through user input timings or something, then running a cryptographic PRNG is hopefully ok. But it would be good if there was some NVRAM or something to mainta...
by willie
Sat Dec 19, 2015 3:46 am
Forum: Other Boards
Topic: Raspberry Pi Zero
Replies: 29
Views: 22748

Re: Raspberry Pi Zero

Have you tried the Linux realtime scheduler? It's not like a purely single tasking MCU but it gives the realtime process top priority and lets it hold the cpu. 1ms might be doable.
by willie
Mon Dec 14, 2015 1:31 am
Forum: WiPy and CC3200 boards
Topic: Next batch of WiPy's?
Replies: 4
Views: 2944

Re: Next batch of WiPy's?

I'd like this too. Adafruit and Sparkfun are the most familiar vendors of this type of thing in the US, so if you haven't contacted them already you might try that.