ESP32 firmwares with single/double precision and ulab module

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
User avatar
rcolistete
Posts: 352
Joined: Thu Dec 31, 2015 3:12 pm
Location: Brazil
Contact:

ESP32 firmwares with single/double precision and ulab module

Post by rcolistete » Mon Aug 03, 2020 6:34 am

I've compiled ESP32 firmwares with many combinations of single/double precision (float point numbers), ESP-IDF v3.3/4.0 and ulab module, look at :
Firmwares for MicroPython on ESP32.

- MicroPython v1.12 firmwares without ulab :
* 16 firmwares with combinations of sp, dp, ESP-IDF v3.3, ESP-IDF v4.0 for 4 types of ESP32 boards;

- MicroPython v1.12 firmwares with ulab :
* 16 firmwares with ulab v0.54.0 and combinations of sp, dp, ESP-IDF v3.3, ESP-IDF v4.0 for 4 types of ESP32 boards.

Changed in 2020-08-07 : pointing to https://gitlab.com/rcolistete/micropython-firmwares
Last edited by rcolistete on Fri Aug 07, 2020 9:42 am, edited 2 times in total.
My "MicroPython Samples". My "MicroPython Firmwares" with many options (double precision, ulab, etc).

v923z
Posts: 168
Joined: Mon Dec 28, 2015 6:19 pm

Re: ESP32 firmwares with single/double precision and ulab module

Post by v923z » Mon Aug 03, 2020 5:48 pm

rcolistete wrote:
Mon Aug 03, 2020 6:34 am
I've compiled ESP32 firmwares with many combinations of single/double precision (float point numbers), ESP-IDF v3.3/4.0 and ulab module, look at :
Firmwares for MicroPython on ESP32.

- MicroPython v1.12 firmwares without ulab :
* 16 firmwares with combinations of sp, dp, ESP-IDF v3.3, ESP-IDF v4.0 for 4 types of ESP32 boards;

- MicroPython v1.12 firmwares with ulab :
* 16 firmwares with ulab and combinations of sp, dp, ESP-IDF v3.3, ESP-IDF v4.0 for 4 types of ESP32 boards.
I think this is really useful, but I would like to suggest a change to the structure of your repository: would it be possible to put all firmware files in the same main directory, so that I could simply link to it in https://github.com/v923z/micropython-ul ... d#firmware, without having to spell out for which boards you have compiled the code.

As it is now, I can't just say, "go to https://gitlab.com/rcolistete/micropyth ... ee/master/", because that contains a lot of other files, but they are not consistent: the M5stack has no firmware files, while the https://gitlab.com/rcolistete/micropyth ... ster/Pycom has scripts etc.

I think, it would be significantly better, if you had a separate repository for firmware, and in that you could have folders for the various boards, and within those for various versions etc. But at the moment, there is really not too much separation between firmware, scripts, and perhaps other things.

User avatar
rcolistete
Posts: 352
Joined: Thu Dec 31, 2015 3:12 pm
Location: Brazil
Contact:

Re: ESP32 firmwares with single/double precision and ulab module

Post by rcolistete » Mon Aug 03, 2020 5:53 pm

I was also thinking to separate into more repositories...

Different repository only for MicroPyton firmwares with ulab ? Or the repository can have non-ulad and ulab firmwares ?
My "MicroPython Samples". My "MicroPython Firmwares" with many options (double precision, ulab, etc).

v923z
Posts: 168
Joined: Mon Dec 28, 2015 6:19 pm

Re: ESP32 firmwares with single/double precision and ulab module

Post by v923z » Mon Aug 03, 2020 6:01 pm

rcolistete wrote:
Mon Aug 03, 2020 5:53 pm
I was also thinking to separate into more repositories...

Different repository only for MicroPyton firmwares with ulab ? Or the repository can have non-ulad and ulab firmwares ?
I just meant that the firmware files should have a distinct repository. I don't care, if you mix different types of firmware there.

User avatar
rcolistete
Posts: 352
Joined: Thu Dec 31, 2015 3:12 pm
Location: Brazil
Contact:

Re: ESP32 firmwares with single/double precision and ulab module

Post by rcolistete » Fri Aug 07, 2020 9:37 am

v923z wrote:
Mon Aug 03, 2020 6:01 pm
I just meant that the firmware files should have a distinct repository. I don't care, if you mix different types of firmware there.
Done, all of my MicroPython built firmwares in one dedicated repository :
https://gitlab.com/rcolistete/micropython-firmwares/
My "MicroPython Samples". My "MicroPython Firmwares" with many options (double precision, ulab, etc).

v923z
Posts: 168
Joined: Mon Dec 28, 2015 6:19 pm

Re: ESP32 firmwares with single/double precision and ulab module

Post by v923z » Fri Aug 07, 2020 2:36 pm

rcolistete wrote:
Fri Aug 07, 2020 9:37 am
v923z wrote:
Mon Aug 03, 2020 6:01 pm
I just meant that the firmware files should have a distinct repository. I don't care, if you mix different types of firmware there.
Done, all of my MicroPython built firmwares in one dedicated repository :
https://gitlab.com/rcolistete/micropython-firmwares/
OK, thanks! I will update the link on my side.

Husyn
Posts: 7
Joined: Sun Jan 23, 2022 8:27 am

Re: ESP32 firmwares with single/double precision and ulab module

Post by Husyn » Sun Jan 23, 2022 9:15 am

Hi
I urgently need a help please.

I have ESP32 WROOM 32. Installed micropython-1.18.zip (113MiB). Installed Thonny , UPyCraft,
But When try to install ulab in Thonny, it doesn't find. Yesterday I saw this topic and tried to install firmware with ulab. https://gitlab.com/rcolistete/micropyth ... _flash-4MB.

But didn't work. The compiler said stop the program.

Please help. What should I do to install ulab.
Thank you very much for your answers

v923z
Posts: 168
Joined: Mon Dec 28, 2015 6:19 pm

Re: ESP32 firmwares with single/double precision and ulab module

Post by v923z » Sun Jan 23, 2022 6:37 pm

Husyn wrote:
Sun Jan 23, 2022 9:15 am
I have ESP32 WROOM 32. Installed micropython-1.18.zip (113MiB). Installed Thonny , UPyCraft,
But When try to install ulab in Thonny, it doesn't find. Yesterday I saw this topic and tried to install firmware with ulab. https://gitlab.com/rcolistete/micropyth ... _flash-4MB.
This is a very old piece of firmware, I really wouldn't use it, if I were you.
Husyn wrote:
Sun Jan 23, 2022 9:15 am
But didn't work. The compiler said stop the program.

Please help. What should I do to install ulab.
I don't quite understand, how you want to install ulab. ulab is an inseparable part of the micropython firmware, a C module, which has to be compiled. The firmware you linked to has ulab + micropython v.1.12. You cannot add a newer version of ulab to it.

What you can do is get the code and compile it as described here https://github.com/v923z/micropython-ul ... sed-boards, and then upload the resulting firmware.

On a related note, some people, myself included, have been thinking about setting up a website that would have the infrastructure to nightly compile the latest code from micropython, and ulab, so that people could simply download the firmware without any hassle. Could anyone comment on what it would involve, e.g., how many boards are supported at the moment, do we have to think about customisation options etc. Any insight would be appreciated.

Husyn
Posts: 7
Joined: Sun Jan 23, 2022 8:27 am

Re: ESP32 firmwares with single/double precision and ulab module

Post by Husyn » Mon Jan 24, 2022 1:00 pm

Thank you for answers

Unfortunately.

Cant install.

And cant see that anyone install it for esp32. No videos no document.
I m depressed

v923z
Posts: 168
Joined: Mon Dec 28, 2015 6:19 pm

Re: ESP32 firmwares with single/double precision and ulab module

Post by v923z » Mon Jan 24, 2022 1:47 pm

Husyn wrote:
Mon Jan 24, 2022 1:00 pm
Unfortunately.

Cant install.
The documentation that I linked to is quite detailed. When you say you can't install it, what do you refer to? The toolchain, or the firmware, or something else? It is a bit hard to help, if the circumstances are not known...
Husyn wrote:
Mon Jan 24, 2022 1:00 pm
And cant see that anyone install it for esp32. No videos no document.
Many people use micropython (and ulab) with the ESP32. However, if you don't insist on using micropython, you can download circuitpython's nightly build. Here is a list of their supported boards: https://circuitpython.org/downloads. Find yours, and download the firmware.

Post Reply