-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
esp32-p4-function-ev-board/examples /lvgl_demo_v9 fails to build (AEGHB-757) #100
Comments
You can try upgrading the version of the package manager with the command 'pip install --upgrade idf-component-manager'. |
@Horion0415 it seems it is up to date
|
@Horion0415 I just tried on different machine with Windows 11 and I get exactly the same result. What do you recommend do make it work? |
It looks like the issue is with fetching the LVGL component. Have you made any modifications to this project? You can try cleaning the build directory and the dependencies.lock file and then rebuild the project. Alternatively, you can try manually fetching the corresponding version of LVGL to see if it builds correctly. |
Have encountered the same issue starting today. Problem persisted after full clean for me as well. My workaround is to replace items in idf_component.yaml to:
Edit: After doing this my build still crashed, but upon reverting the idf_component.yaml to what was originally in the repository it built properly again. Not sure exactly what the issue is. |
The currently released version uses a temporary BSP (the official BSP hadn’t been released at the time). The official BSP was just released in the past few days, so when you change it to espressif/esp32_p4_function_ev_board: "^3.0.0", you will be pulling the official BSP. However, the project doesn’t support it yet. We will update the project to support the official BSP next week. But I don’t think this should affect pulling the LVGL component. May I ask if you’re also using a Windows system? |
I believe the issue is likely caused by the package manager on the Windows system. I will investigate this problem and work on an update and fix next week. Additionally, I will adapt the project to the officially released BSP. |
I've encountered the error on 2 different systems, one running windows and the other running Ubuntu 22.04 inside WSL. Cloned a fresh copy of the repo for both systems to check whether the issue was on my end or not. Changing the BSP to the new one (encountering a crash because it isn't supported yet) and then back to the old version managed to fix the issue for me. |
I’m really sorry about this situation. I’m puzzled by the issue since I can successfully compile on both Mac and Linux systems. Could you please check the version of the package manager with ‘$ pip list | grep idf-component-manager’? You might want to try downgrading to version 1.5.3 and then try fetching again. However, I believe this issue will be resolved once I update the project with the new BSP next week. |
@Horion0415 I have an issue with P4 Function EV board where I can't run LVGLv9 demo. I got the LVGL v9 demo to compile on Ubuntu 22.04 using VScode IDE and ESP IDF extension. But LCD doesn't display anything. The factory example binary included in the examples seems to run fine. Is this something to do with BSP? |
Yes, this is related to the BSP. Since the example was released before the official BSP version, it uses a temporary version of the BSP. I will update to the new BSP this week. |
Hello, I have updated the BSP and released the relevant examples for esp-ui. You can try again to see if the issue is resolved. |
@Horion0415 esp_ui_demo, lvgl_demo_v8 and lvgl_demo_v9 build without any problems. I also flashed them on the devboard and they work well. |
I tried building after the updates and it works now! |
Great, I'm very glad that this issue can be resolved. |
Answers checklist.
IDF version.
v5.3 (fresh install by online installer)
Espressif SoC revision.
ESP32-P4 ECO1
Operating System used.
Windows
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
CMD
Development Kit.
ESP32-P4-Function-EV-Board
Steps to reproduce.
follow https://github.com/espressif/esp-dev-kits/blob/master/esp32-p4-function-ev-board/examples/lvgl_demo_v9/README.md
fails at idf.py menuconfig
Build Logs.
More Information.
No response
The text was updated successfully, but these errors were encountered: