-
Notifications
You must be signed in to change notification settings - Fork 34
ERROR: no matching function for call to 'ledc_timer_config_t::ledc_timer_config_t(<brace-enclosed initializer list>)' #157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @SimoDolcio, I think your project has the following two issues:
|
hi @Lzw655 Configuring toolchain packages from a remote source... I also tried this solution |
Could you try to use the following platform configurations?
|
Hi, now the build is right, but the linker fail, with arduino IDE work correctly ERROR:
Compiling .pio\build\ESP-LCD\lib53f\lvgl\draw\stm32_dma2d\lv_gpu_stm32_dma2d.c.o In file included from .pio/libdeps/ESP-LCD/lvgl/src/extra/libs/bmp/../../../../src/misc/lv_log.h:16, In file included from .pio/libdeps/ESP-LCD/lvgl/src/extra/libs/sjpg/../../../../src/misc/lv_log.h:16, |
Hi, I'm very sorry, but I can't figure out this issue either. I recommend upgrading to a newer version. |
Thanks for your time and support regards |
You're welcome! |
hi,
1. development environment is as follows.
Verbose mode can be enabled via
-v, --verbose
optioninizio dello script
copia dei file di configurazione
copio il file lv_conf.h nella cartella delle librerie locale
srclvglconf: C:\Progetti\ESP32\IOTHome\configFile\lv_conf.h
destlvglconf: C:\Progetti\ESP32\IOTHome.pio\libdeps\esp32s3box\lv_conf.h
lv_conf.h non copiato, file già presente e non modificato
fine dello script
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32s3box.html
PLATFORM: Espressif 32 (6.9.0) > Espressif ESP32-S3-Box
HARDWARE: ESP32S3 240MHz, 320KB RAM, 8MB Flash
DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-builtin, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 46 compatible libraries
Scanning dependencies...
Dependency Graph
|-- Waveshare_ST7262_LVGL @ 0.1.0
|-- ESP32_Display_Panel @ 0.1.8+sha.3f6322b
|-- ESP32_IO_Expander @ 0.0.3+sha.e5378da
|-- lvgl @ 8.3.11
|-- ArduinoJson @ 7.3.0
|-- Adafruit_VL53L0X @ 1.2.4
|-- FS @ 2.0.0
|-- SD @ 2.0.0
|-- SPI @ 2.0.0
Building in release mode
2. Build Error
pio/libdeps/esp32s3box/ESP32_Display_Panel/src/backlight/ESP_PanelBacklight.cpp: In constructor 'ESP_PanelBacklight::ESP_PanelBacklight(int, bool, bool)':
.pio/libdeps/esp32s3box/ESP32_Display_Panel/src/backlight/ESP_PanelBacklight.cpp:18:92: error: no matching function for call to 'ledc_timer_config_t::ledc_timer_config_t()'
_channel_config(ESP_PANEL_BACKLIGHT_LEDC_CHANNEL_CONFIG_DEFAULT(io_num, light_up_level))
^
In file included from .pio/libdeps/esp32s3box/ESP32_Display_Panel/src/backlight/ESP_PanelBacklight.h:9,
from .pio/libdeps/esp32s3box/ESP32_Display_Panel/src/backlight/ESP_PanelBacklight.cpp:8:
C:/Users/simon/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32s3/include/driver/include/driver/ledc.h:56:3: note: candidate: 'ledc_timer_config_t::ledc_timer_config_t()'
} ledc_timer_config_t;
^~~~~~~~~~~~~~~~~~~
C:/Users/simon/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32s3/include/driver/include/driver/ledc.h:56:3: note: candidate expects 0 arguments, 1 provided
C:/Users/simon/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32s3/include/driver/include/driver/ledc.h:56:3: note: candidate: 'constexpr ledc_timer_config_t::ledc_timer_config_t(const ledc_timer_config_t&)'
C:/Users/simon/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32s3/include/driver/include/driver/ledc.h:56:3: note: no known conversion for argument 1 from '' to 'const ledc_timer_config_t&'
C:/Users/simon/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32s3/include/driver/include/driver/ledc.h:56:3: note: candidate: 'constexpr ledc_timer_config_t::ledc_timer_config_t(ledc_timer_config_t&&)'
C:/Users/simon/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32s3/include/driver/include/driver/ledc.h:56:3: note: no known conversion for argument 1 from '' to 'ledc_timer_config_t&&'
*** [.pio\build\esp32s3box\lib4c2\ESP32_Display_Panel\backlight\ESP_PanelBacklight.cpp.o] Error 1
==================================================================== [FAILED] Took 70.94 seconds ====================================================================
please gime me a help to resolve the problem
thanks
The text was updated successfully, but these errors were encountered: