OHHH YEAH!!!! #368
Replies: 10 comments 27 replies
-
I can't wait to try it ;-) |
Beta Was this translation helpful? Give feedback.
-
Take your Time, as you know i’ll need one hour to compile it |
Beta Was this translation helpful? Give feedback.
-
uhhh thanks !! |
Beta Was this translation helpful? Give feedback.
-
This is nice ! |
Beta Was this translation helpful? Give feedback.
-
This is really good news. |
Beta Was this translation helpful? Give feedback.
-
I am going to wait a while before updating to the newest version of LVGL. Only because they have added a bunch of new things and when that gets done bugs get introduced. so I am expecting a patch version within a month or so to be released. when that happens I will update to the patch version. |
Beta Was this translation helpful? Give feedback.
-
How can I compile the firmware for the ESP32-P4? I have an official ESP32-P4 development board from Espressif, called the ESP32-P4-Function-EV-Board. This board is equipped with an ESP32-C6-MINI-1 module for Wi-Fi and Bluetooth communication, a 7-inch capacitive touchscreen with a resolution of 1024 x 600, a 2-megapixel MIPI CSI camera, 16 MB of onboard flash, 32 MB of PSRAM integrated within the ESP32-P4 chip, and 4 MB of flash built into the ESP32-C6-MINI-1. What commands should I use to compile it? |
Beta Was this translation helpful? Give feedback.
-
Hello Kevin, After I updated the repository using the command When I run the previous example, the development board restarts and displays the following error:
Could you please help me figure out what the issue might be? Thank you. |
Beta Was this translation helpful? Give feedback.
-
A clean compile on OSX!!
At runtime there looks to be a missing parameter in the data_bus.init().
Which can be fixed (I think) with:
This allows the "import test" to run, but with no display occurring that's likely work in progress still. |
Beta Was this translation helpful? Give feedback.
-
Thank you for all your time and hard work. I got little experience in compiling projects and I was never able to compile lvgl + mpy before. With your binding it finally worked. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
So I have spent some time working on getting things ironed out with the new update to ESP-IDF 5.4 and MicroPython 1.25. One of the things I have been working on is completing the LED bus driver. It compiles now but I have to test it. I also added in support for the ESP32-P4. I want to thank @favnec5 for his work with getting things started with the P4. I did manage to get the PWM sorted out and also the ADC. There are only a few things that don't work yet like the touch sensor which honestly is not really al that important when there is a touch screen display attached. I already have a DSI bus driver written and it compiles. I do not have a DSI display that I am able to test with, I do have a P4 which is a start.
I have completely reworked all of the bus drivers. They all now run on the second core of an ESP32 if there is another core available. I am basically pushing all of the IO over to that second core to lighten the load on the first core so there is better performance for the GUI rendering. By doing this it also allowed be to provide software rotation to all but one bus driver. The LED bus has a fixed rotation of 0. I also added dithering for RGB565 and RGB888 as well. the RGB565 byte swap, dithering and rotation are handled in a single iteration over the buffer data.All or Any combination of them is handled that way... Dithering is able to be turned on and off while the UI is running.This is useful if you know you will be rendering a gradient or displaying an rgb565 image. When those kinds of things are being displayed you can turn it on and when they are no longer being displayed you can turn it off.
Because DSI display function much like an RGB display does in terms of frame buffer handling there is going to be a 4 buffer setup just like what is seen with the RGB bus. 2 full frame buffers behind the scenes and 2 partial buffers the user creates and passes off to LVGL.
I have done some work to tighten up the code to reduce both flash and ram consumption.. I have not looked to see what the results of that are...
I will be pushing the new code to a branch for testing and bug fixing. once it checks out I will merge it with the master branch. I have done pretty much everything I know how to do to squeeze every drop of performance out of the ESP32's when running MicroPython without writing all of the display drivers in C code. Doing that would make it a compile time choice for the display and not a runtime one. I like the current design of being able to change out displays simply by plugging in a new display and uploading a new python script and it's off a running, no compiling the firmware is needed.
I am super happy about adding support for the P4. This is going to be a game changing MCU for running displays. 400mhz dual core with a 2 lane DSI running at 1.5 gHz per lane. There is also a 2 lane CSI (Camera Serial Interface) and I believe there is a way to leverage that to get a 4 lane DSI. I was only able to get my hands on a preliminary release of the data sheet for the P4 so things may have changed.
Beta Was this translation helpful? Give feedback.
All reactions