Search found 153 matches

by v923z
Sun Jul 26, 2020 2:42 pm
Forum: ESP8266 boards
Topic: ulab for ESP8266
Replies: 19
Views: 919

Re: ulab for ESP8266

I see. Has the ESP8266 double or float implementation? No, MicroPython for ESP8266 is fixed with single precision for float point numbers (SP/FP32). This sort of makes sense now: for each FFT, there are four arrays: real and imaginary inputs, and real and imaginary outputs. So, with 2048 points, yo...
by v923z
Sat Jul 25, 2020 8:22 pm
Forum: ESP8266 boards
Topic: ulab for ESP8266
Replies: 19
Views: 919

Re: ulab for ESP8266

Maybe an option would be : - to implement all ulab functions with "ICACHE_FLASH_ATTR" decorator; - detect when not building for ESP8266, then "ICACHE_FLASH_ATTR" decorator could be set as empty. I am not sure it is an elegant solution. What happens, if some other platform requires other kind of dec...
by v923z
Sat Jul 25, 2020 2:30 pm
Forum: ESP8266 boards
Topic: ulab for ESP8266
Replies: 19
Views: 919

Re: ulab for ESP8266

I am not against posting the instructions on https://github.com/v923z/micropython-ulab/. Raise an issue, if you want to do that! If the PR#6284 is merged, then the instructions to compile MicroPython for ESP8266 + ulab will be very simple : use ulab >= 0.54.0 & MicroPython newer than 'some date'. T...
by v923z
Fri Jul 24, 2020 2:16 pm
Forum: ESP8266 boards
Topic: ulab for ESP8266
Replies: 19
Views: 919

Re: ulab for ESP8266

Solved the issue (3), succeeded building MicroPython firmware with ulab v0.54.0 for ESP8266 ! Yeah, the new version of ulab, release some hours ago . I'll later (time to sleep...) describe the needed changes in '...esp8266/Makefile' and '...esp8266/mpconfigport.h', make a "README.md" in the reposit...
by v923z
Thu Jul 16, 2020 6:00 pm
Forum: Development of MicroPython
Topic: ulab, or what you will - numpy on bare metal
Replies: 106
Views: 12895

Re: ulab, or what you will - numpy on bare metal

@rcolistete As a possible workaround, I could revive the 1D implementation of ulab. That significantly reduces code-size, since you never have to check, whether you have a matrix or a straight array, and you never have to implement nested loops. I floated this idea a couple of months ago, but there...
by v923z
Thu Jul 16, 2020 6:42 am
Forum: General Discussion and Questions
Topic: Season of Docs : MicroPython
Replies: 23
Views: 2050

Re: Season of Docs : MicroPython

@jnanjeky I think, some of what you want to write up is already in https://micropython-usermod.readthedocs.io/en/latest/.
by v923z
Thu Jul 16, 2020 6:37 am
Forum: Development of MicroPython
Topic: ulab, or what you will - numpy on bare metal
Replies: 106
Views: 12895

Re: ulab, or what you will - numpy on bare metal

The issue happens with Pyboard D SF2/SF3, with 512 kB internal flash memory, of which 480 kB as FLASH_APP, so only 41 kB is left with MicroPython v1.12, without 'ulab'. As Pyboard D SF2/SF3 has 2MB QSPI flash with 2048 kB as FLASH_EXT, with approx. 1.4 MB free, it is better to know how to move modu...
by v923z
Tue Jul 14, 2020 7:39 pm
Forum: Development of MicroPython
Topic: ulab, or what you will - numpy on bare metal
Replies: 106
Views: 12895

Re: ulab, or what you will - numpy on bare metal

Sorry, at cross purposes. I was referring to the issue with firmware size. There is evidently also something else (and above my pay grade) at play here. I can't really comment on the firmware size issue. I know that I can still compile for the pyboard, in fact, I still have something like a 100 kB ...
by v923z
Mon Jul 13, 2020 4:47 pm
Forum: Development of MicroPython
Topic: ulab, or what you will - numpy on bare metal
Replies: 106
Views: 12895

Re: ulab, or what you will - numpy on bare metal

@v923z This is a hardware issue with SF2W and SF3W Pyboard D. It doesn't affect the Unix build. I am not sure. According to the report on github, (https://github.com/v923z/micropython-ulab/issues/132), it is a glitch in the makefile. It seems to me that the makefiles don't contain the path of the r...
by v923z
Sun Jul 12, 2020 7:20 pm
Forum: Development of MicroPython
Topic: ulab, or what you will - numpy on bare metal
Replies: 106
Views: 12895

Re: ulab, or what you will - numpy on bare metal

@v923z, do you want that I post this as a GitHub issue ? I don't quite know. I mean, this seems to be a distribution-specific problem. On ubuntu, I haven't had this issue, and no-one has mentioned any difficulties. But I am not trying to imply that you shouldn't bring it up on github, if you think ...