ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
INFO ESPHome 2024.6.6
INFO Reading configuration /config/esphome/touch2.yaml...
WARNING GPIO45 is a strapping PIN and should only be used for I/O with care.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins
INFO Generating C++ source...
INFO Compiling app...
Processing touch-panel (board: esp32-s3-devkitc-1; framework: espidf; platform: platformio/espressif32@5.4.0)
--------------------------------------------------------------------------------
HARDWARE: ESP32S3 240MHz, 320KB RAM, 8MB Flash
- framework-espidf @ 3.40407.240606 (4.4.7)
- tool-cmake @ 3.16.4
- tool-ninja @ 1.7.1
- toolchain-esp32ulp @ 2.35.0-20220830
- toolchain-riscv32-esp @ 8.4.0+2021r2-patch5
- toolchain-xtensa-esp32s3 @ 8.4.0+2021r2-patch5
Reading CMake configuration...
Dependency Graph
|-- noise-c @ 0.1.4
|-- ArduinoJson @ 6.18.5
|-- lvgl @ 8.3.11
Compiling .pioenvs/touch-panel/src/main.o
/config/esphome/touch2.yaml: In lambda function:
/config/esphome/touch2.yaml:1300:37: error: 'lv_img_from' was not declared in this scope
/config/esphome/touch2.yaml:1300:37: note: suggested alternative: 'lv_img_t'
In file included from src/esphome.h:60,
from src/main.cpp:3:
src/esphome/components/lvgl/lvgl_esphome.h: At global scope:
src/esphome/components/lvgl/lvgl_esphome.h:38:19: warning: 'lv_color_t esphome::lvgl::lv_color_from(esphome::Color)' defined but not used [-Wunused-function]
static lv_color_t lv_color_from(Color color) { return lv_color_make(color.red, color.green, color.blue); }
^~~~~~~~~~~~~
*** [.pioenvs/touch-panel/src/main.o] Error 1
========================== [FAILED] Took 7.78 seconds ==========================
Describe the bug This is the log
To Reproduce My code extract