ESP-IDF installation:
I have tried:
Download IDF installation from https://dl.espressif.com/dl/esp-idf/ and install it. Problem: fails to add paths when it runs powershell and cmd at the end of installation. I add them manually. Next problem is that it can't find any compilers. I go to idf git repo and run install.bat and export.bat. I successfully create a project using idf command line. When I try to build I get configuration success and build success. Then I run command to flash (from cmd) and get and error that the recognized chip is ESP32C3 not ESP32. When I try to change the target configuration using idf.py menuconfig, I get an error "Access violation" for some file in CMakeFiles.
Checktout git repo, run install.bat and export.bat manually, create project, build and when I flash I get the same error. Still not possible to run menuconfig.
Install vscode extension and let it download and install idf by itself. Same issue.
PlatformIO - this was the only successful option to flash. However, I add lvgl through libraries menu but and it compiles with some tweaks but it gives a lot of warnings saying that lv_conf has not been found.
I checked out this example https://github.com/lvgl/lv_platformio. Problem with this one is that it doesn't see SDL driver. I installed MSYS and added bin to path but it still gives the same error on compilation: fatal error: SDL2/SDL.h: No such file or directory.
I managed to set up espressif idf and ide sometime last year and I remember that it was painful then also. Why is this so hard? Can someone make a tutorial with these errors covered so that we don't have to go through the same frustration every time?
How to install IDF and include LVGL?
-
- Posts: 1
- Joined: Thu Dec 21, 2023 1:50 pm
Jump to
- English Forum
- Explore
- News
- General Discussion
- FAQ
- Documentation
- Documentation
- Sample Code
- Discussion Forum
- Hardware
- ESP-IDF
- ESP-BOX
- ESP-ADF
- ESP-MDF
- ESP-WHO
- ESP-SkaiNet
- ESP32 Arduino
- IDEs for ESP-IDF
- ESP-AT
- ESP IoT Solution
- ESP RainMaker
- Rust
- ESP8266
- Report Bugs
- Showcase
- Chinese Forum 中文社区
- 活动区
- 乐鑫活动专区
- 讨论区
- 全国大学生物联网设计竞赛乐鑫答疑专区
- ESP-IDF 中文讨论版
- 《ESP32-C3 物联网工程开发实战》书籍讨论版
- 中文文档讨论版
- ESP-AT 中文讨论版
- ESP-BOX 中文讨论版
- ESP IoT Solution 中文讨论版
- ESP-ADF 中文讨论版
- ESP Mesh 中文讨论版
- ESP Cloud 中文讨论版
- ESP-WHO 中文讨论版
- ESP-SkaiNet 中文讨论版
- ESP 生产支持讨论版
- 硬件问题讨论
- 项目展示
Who is online
Users browsing this forum: Bing [Bot] and 77 guests
- All times are UTC
- Top
- Delete cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. ESP8266EX and ESP32 are some of our products.