Open dmartauz opened 1 month ago
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
C:\Espressif\frameworks\esp-idf-v5.3\workspace\esp32-p4-function-ev-board\examples\lvgl_demo_v9>pip install --upgrade idf-component-manager
Looking in indexes: https://pypi.org/simple, https://dl.espressif.com/pypi
Requirement already satisfied: idf-component-manager in c:\espressif\python_env\idf5.3_py3.11_env\lib\site-packages (1.5.3)
Requirement already satisfied: packaging in c:\espressif\python_env\idf5.3_py3.11_env\lib\site-packages (from idf-component-manager) (24.1)
Requirement already satisfied: requests<3 in c:\espressif\python_env\idf5.3_py3.11_env\lib\site-packages (from idf-component-manager) (2.32.3)
Requirement already satisfied: urllib3<2 in c:\espressif\python_env\idf5.3_py3.11_env\lib\site-packages (from idf-component-manager) (1.26.19)
Requirement already satisfied: requests-file<2 in c:\espressif\python_env\idf5.3_py3.11_env\lib\site-packages (from idf-component-manager) (1.5.1)
Requirement already satisfied: requests-toolbelt in c:\espressif\python_env\idf5.3_py3.11_env\lib\site-packages (from idf-component-manager) (1.0.0)
Requirement already satisfied: schema<=0.7.5 in c:\espressif\python_env\idf5.3_py3.11_env\lib\site-packages (from idf-component-manager) (0.7.5)
Requirement already satisfied: six in c:\espressif\python_env\idf5.3_py3.11_env\lib\site-packages (from idf-component-manager) (1.16.0)
Requirement already satisfied: tqdm<5 in c:\espressif\python_env\idf5.3_py3.11_env\lib\site-packages (from idf-component-manager) (4.66.4)
Requirement already satisfied: pyparsing in c:\espressif\python_env\idf5.3_py3.11_env\lib\site-packages (from idf-component-manager) (3.1.2)
Requirement already satisfied: colorama in c:\espressif\python_env\idf5.3_py3.11_env\lib\site-packages (from idf-component-manager) (0.4.6)
Requirement already satisfied: pyyaml>5.2 in c:\espressif\python_env\idf5.3_py3.11_env\lib\site-packages (from idf-component-manager) (6.0.1)
Requirement already satisfied: cachecontrol>0.12.6 in c:\espressif\python_env\idf5.3_py3.11_env\lib\site-packages (from cachecontrol[filecache]>0.12.6; python_version >= "3.6"->idf-component-manager) (0.14.0)
Requirement already satisfied: contextlib2>0.6.0 in c:\espressif\python_env\idf5.3_py3.11_env\lib\site-packages (from idf-component-manager) (21.6.0)
Requirement already satisfied: click in c:\espressif\python_env\idf5.3_py3.11_env\lib\site-packages (from idf-component-manager) (8.1.7)
Requirement already satisfied: msgpack<2.0.0,>=0.5.2 in c:\espressif\python_env\idf5.3_py3.11_env\lib\site-packages (from cachecontrol>0.12.6->cachecontrol[filecache]>0.12.6; python_version >= "3.6"->idf-component-manager) (1.0.8)
Requirement already satisfied: filelock>=3.8.0 in c:\espressif\python_env\idf5.3_py3.11_env\lib\site-packages (from cachecontrol[filecache]>0.12.6; python_version >= "3.6"->idf-component-manager) (3.15.4)
Requirement already satisfied: charset-normalizer<4,>=2 in c:\espressif\python_env\idf5.3_py3.11_env\lib\site-packages (from requests<3->idf-component-manager) (3.3.2)
Requirement already satisfied: idna<4,>=2.5 in c:\espressif\python_env\idf5.3_py3.11_env\lib\site-packages (from requests<3->idf-component-manager) (3.7)
Requirement already satisfied: certifi>=2017.4.17 in c:\espressif\python_env\idf5.3_py3.11_env\lib\site-packages (from requests<3->idf-component-manager) (2024.7.4)
@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:
dependencies: espressif/esp32_p4_function_ev_board: "^3.0.0" lvgl/lvgl: version: "^9" public: true
Then delete all build directories, remember to re-set the target to esp32P4, and try building again.
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.
espressif/esp32_p4_function_ev_board: "^3.0.0"
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? I'm using espressif/esp32_p4_function_ev_board: "^3.0.1" and idf v 5.3.0
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.
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.
I tried building after the updates and it works now!
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.
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