Git Product home page Git Product logo

Comments (9)

sukesh-ak avatar sukesh-ak commented on May 29, 2024 1

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.

sukesh-ak avatar sukesh-ak commented on May 29, 2024 1

@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.

sukesh-ak avatar sukesh-ak commented on May 29, 2024

@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.

hayschan avatar hayschan commented on May 29, 2024

Thanks for the help.

I tried to build again today. Before building, I make sure I download the latest code by:

  1. deleting the original directory
  2. 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.

hayschan avatar hayschan commented on May 29, 2024

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

Sorry, I just found out this comment. I will try this method. Thx

from esp32-tux.

sukesh-ak avatar sukesh-ak commented on May 29, 2024

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

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.

hayschan avatar hayschan commented on May 29, 2024

Is it this one ? lovyan03/LovyanGFX@e8baed4

from esp32-tux.

sukesh-ak avatar sukesh-ak commented on May 29, 2024

Is it this one ? lovyan03/LovyanGFX@e8baed4

Yes.

from esp32-tux.

sukesh-ak avatar sukesh-ak commented on May 29, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.