-
Hello,
some time ago, I worked on bringing Espruino to ESP-IDF 4.x and 5.x.
Adapting the hardware code is not very difficult for me. But integrating it into the current BUILD system became impossible due to my limited knowledge in this area.Following this thread, and the interest in the C3, I wanted to give it a try. With ESP-IDF 4.4.7 and minimal Espruino (removing extra modules and disabling incompatible or pending hardware configuration), I successfully built it.
I don't have any ESP32-C3 board available, so I can't test it. I'm going to order one from China to see if it really boots.
We can work collectively to add those chips into the current Espruino. My current interest lies in ESP32-C5 and ESP32-P4, but to support these new chips, ESP-IDF 5.x is required, which is a bigger challenge that I haven't yet overcome.
-
Hello, these days i'm setting up a Github repository with the complete ESP32-S3 system.
If you can wait a few days for me to have it ready. Hopefully, by this weekend I can have it ready and published.
The Make file and the sdkconfig are the first two significant changes compared to the current build system of Espruino.
Here are for you to see how different they are.
-
-
Hello again. One more issue. The ESP32 S2 and S3 boards don't have a UART USB port. Instead, they use USB CDC, which means that the serial device is virtual. Therefore, the Espruino console doesn't work over the UART channel unless we connect cables and a USB-serial TTL converter.
I have seen that Espruino already includes USB in the console, so I need to investigate how to use it.
Let's continue...
-
-
Hello, it's great. But for now, I'm working locally with a virtual machine.
I tried to follow the current Espruino organization and build system, but I couldn't do it. I have created a new folder structure and build system that fits with ESP-IDF 4.x.
So we can follow different paths:
- Share the code I have as it is, and each one sets up their own system.
- Create a repository, upload everything, and start working independently of Espruino at the begining..
- Try to unify with the current Espruino repository, but I don't have the knowledge and time for it.
Or any other option that is preferred, I can adapt.
- Share the code I have as it is, and each one sets up their own system.
-
Hi, this weekend I'been working on three updates. I've upgraded the BUILD system to ESP-IDF 4.4.4 and it seems to be working fine on ESP32 and ESP32S3.
I've also added all the WIFI code and it's working on ESP32S3. I'm now able to access it via Telnet with EspruinoWeb IDE.
Finally, I've ordered an ESP32 S2 to be able to do some testing and add it to the build system. I've been doing some research and it's a candidate to replace the ESP8266, so it's good to have all three systems well done.
-
Thanks for the link, I'll read.
The truth is that I work with ESP32 (WIFI) and Espruino (Javascript) , and I'm very happy.
The reasons to start migrating are:
- new chinese gadgets come with ESP32-S3
- Two cores is very important for WIFI management without disturbing Espruino Input/Ouputs timings.
- ESP-IDF is on version 5.x. Me at the moment in 4.4
I think it's time to start migrating before the current ESP32 system becomes obsolete.
- new chinese gadgets come with ESP32-S3
-
I recently received the ESP32-S3 board.
I have done quick tests with the ESP32 IDF 4.4 toolchain. I've removed a lot of code that doesn't work with ESP32-S3 hardware.
Finally I was able to start Espruino prompt.
Now there is a lot of work left to review the hardware differences and create a dual version for ESP32 and ESP32-S3.
-
-
Hello, very interesting to keep updated the version to ESP32. And it would be great to migrate to ESP-IDF 4 to take advantage of its advances.
I am personally working with the ESP32 version and Espruino v2.0.130 for a year, for educational purposes.
Basically I try to use and test all the functions of Espruino focused on ESP32 hardware. I consider ESP32 + Espruino a more advanced platform than Arduino UNO. And with a more user-friendly adaptation it has a great future.
Everything that I can help and try you can count on me.
The rest of the information I share on the Github.
Richard Gomez
Hello,
I'm the same person as the one from rgomezwap's GitHub. I signed up on the forum using my GitHub login, but it seems to have assigned me a random username.
I've updated the GitHub version to ESP-IDF 4.4.7, and everything is still working fine. Then, I installed the build system for ESP32-C3. When I tried to build, I encountered a bunch of errors which I've been fixing: either by commenting out the problematic parts to fix them later, or by making changes based on the suggestions provided by the compiler. As for the Espruino core source files, it compiles without any issues or fixes.
I've tagged these changes (all related to hardware) so that I can revisit them later and analyze each one to ensure ESP-C3 compatibility.