Comments (9)
If you are on IDF 4.4.3
you can use this version (just before IDF 5.0 upgrade)
If you are planning to do this, copy sdkconfig.defaults.*
files from this branch which has the default values set.
Or, you can make changes to the settings using idf.py menuconfig
from esp32-tux.
@hayschan As mentioned in that issue workaround, for now the fix is to add the following just before
esp_lcd_new_i80_bus(&bus_config, &_i80_bus);
// add this line
bus_config.clk_src = LCD_CLK_SRC_DEFAULT;
File name for 16bit
LovyanGFX\src\lgfx\v1\platforms\esp32s3\Bus_Parallel16.cpp
File name for 8bit
LovyanGFX\src\lgfx\v1\platforms\esp32s3\Bus_Parallel8.cpp
from esp32-tux.
@hayschan I just upgraded the project to IDF 5.0 which also needs develop
branch of LovyanGFX.
LovyanGFX for Parallel TFT is broken for now and you can follow the issue here
SPI devices are working fine for now.
from esp32-tux.
Thanks for the help.
I tried to build again today. Before building, I make sure I download the latest code by:
- deleting the original directory
git clone --recursive https://github.com/sukesh-ak/ESP32-TUX.git
I also changed to use ESP-IDF v4.4.3
. But this time, the build fails. The error log is attached. It is problem related to esp_partition
.
Error log
Building in: /Users/hays/eclipse-workspace/ESP32-TUX/build
Configuring in: /Users/hays/eclipse-workspace/ESP32-TUX/build
cmake -G Ninja -DCMAKE_TOOLCHAIN_FILE=/Users/hays/esp/esp-idf/tools/cmake/toolchain-esp32s3.cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCCACHE_ENABLE=1 -DIDF_TARGET=esp32s3 /Users/hays/eclipse-workspace/ESP32-TUX
-- Found Git: /usr/bin/git (found version "2.32.1 (Apple Git-133)")
-- Component directory /Users/hays/eclipse-workspace/ESP32-TUX/components/ConfigBase does not contain a CMakeLists.txt file. No component will be added
CMake Warning at /Users/hays/esp/esp-idf/tools/cmake/project.cmake:291 (message):
enabled ccache in build but ccache program not found
Call Stack (most recent call first):
CMakeLists.txt:24 (project)
-- The C compiler identification is GNU 8.4.0
-- The CXX compiler identification is GNU 8.4.0
-- The ASM compiler identification is GNU
-- Found assembler: /Users/hays/.espressif/tools/xtensa-esp32s3-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Users/hays/.espressif/tools/xtensa-esp32s3-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Users/hays/.espressif/tools/xtensa-esp32s3-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32s3
-- Checking Python dependencies...
Python requirements from /Users/hays/esp/esp-idf/requirements.txt are satisfied.
Processing 2 dependencies:
[1/2] espressif/fmt (9.1.0)
[2/2] idf (4.4.3)
-- LovyanGFX use components = nvs_flash;efuse;esp_lcd
CMake Error at /Users/hays/esp/esp-idf/tools/cmake/build.cmake:201 (message):
Failed to resolve component 'esp_partition'.
Call Stack (most recent call first):
/Users/hays/esp/esp-idf/tools/cmake/build.cmake:227 (__build_resolve_and_add_req)
/Users/hays/esp/esp-idf/tools/cmake/build.cmake:507 (__build_expand_requirements)
/Users/hays/esp/esp-idf/tools/cmake/project.cmake:384 (idf_build_process)
CMakeLists.txt:24 (project)
-- Configuring incomplete, errors occurred!
See also "/Users/hays/eclipse-workspace/ESP32-TUX/build/CMakeFiles/CMakeOutput.log".
cmake --build . -- -v
ninja: error: loading 'build.ninja': No such file or directory
Build complete (0 errors, 0 warnings): /Users/hays/eclipse-workspace/ESP32-TUX/build
Total time taken to build the project: 6,545 ms
This is weird. As far as I know, the esp_partition
problem should only relate to projects that need migration to v5.0, as listed by Espressif in their document.
from esp32-tux.
If you are on
IDF 4.4.3
you can use this version (just before IDF 5.0 upgrade)If you are planning to do this, copy
sdkconfig.defaults.*
files from this branch which has the default values set. Or, you can make changes to the settings usingidf.py menuconfig
Sorry, I just found out this comment. I will try this method. Thx
from esp32-tux.
If you are on
IDF 4.4.3
you can use this version (just before IDF 5.0 upgrade)
If you are planning to do this, copysdkconfig.defaults.*
files from this branch which has the default values set. Or, you can make changes to the settings usingidf.py menuconfig
Sorry, I just found out this comment. I will try this method. Thx
Parallel related bug is fixed today by LovyanGFX. Will update the repo later today with the the fix.
from esp32-tux.
Is it this one ? lovyan03/LovyanGFX@e8baed4
from esp32-tux.
Is it this one ? lovyan03/LovyanGFX@e8baed4
Yes.
from esp32-tux.
@hayschan
Project is updated with LovyanGFX fix.
Also check the readme for updated instructions including the link for Wi-Fi provisioning app.
Closing this issue since the bug is fixed and readme is updated with required instructions.
from esp32-tux.
Related Issues (20)
- Include Path errors HOT 2
- MQTT implementation HOT 1
- Question again if a port for Arduino IDE would be possible/feasible and some hint would be also possible HOT 1
- Opportunities for shared modules/models HOT 3
- Build fails HOT 2
- touch not working IL9341 HOT 2
- xpt2046 why dont support ? HOT 1
- and compile issue HOT 1
- dtill issies - why is this so difficult HOT 1
- using the wrong file .......... picks up esp32 when esp32s3 is required HOT 2
- Please confirm the compile HOT 1
- Does not compile HOT 2
- Hardware display rotation HOT 6
- error: member 'lgfx::v1::pixelcopy_t::<anonymous>' is used uninitialized HOT 1
- add esp-idf-lib to the components list ?
- WaveShare ESP32-S3-LCD-4.3 HOT 10
- Compilation error : pixelcopy.cpp:39:25: error: member 'lgfx::v1::pixelcopy_t::' is used uninitialized [-Werror=uninitialized] HOT 1
- build errors - error: 'INTR_CPU_ID_AUTO' was not declared in this scope HOT 6
- Undefined reference to demo in app_main HOT 1
- Build error for SC-01 plus HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp32-tux.