Closed gargamelonly closed 3 weeks ago
compile error with ESP32-S3 using ESP-IDF with platform: esp32_rmt_led_strip configuration and log below.
2024.4.1
Docker
No response
ESP32-IDF
ESP32-S3 dev
esp32_rmt_led_strip
esphome: name: voyager friendly_name: voyager platformio_options: board_build.flash_mode: dio # board_build.arduino.memory_type: qio_opi # board_upload.maximum_ram_size: 524288 esp32: board: esp32-s3-devkitc-1 variant: esp32s3 flash_size: 16MB framework: # type: arduino type: esp-idf version: recommended sdkconfig_options: CONFIG_ESP32_S3_BOX_BOARD: "y" psram: mode: octal speed: 80MHz # Enable logging logger: level: DEBUG light: - platform: esp32_rmt_led_strip name: LED_RGB id: led rgb_order: RGB pin: GPIO48 num_leds: 1 rmt_channel: 0 chipset: WS2812
INFO ESPHome 2024.4.1 INFO Reading configuration /config/voyager.yaml... INFO Generating C++ source... INFO Compiling app... Processing voyager (board: esp32-s3-devkitc-1; framework: espidf; platform: platformio/espressif32@5.4.0) -------------------------------------------------------------------------------- HARDWARE: ESP32S3 240MHz, 320KB RAM, 8MB Flash - framework-espidf @ 3.40406.240122 (4.4.6) - tool-cmake @ 3.16.9 - tool-ninja @ 1.10.2 - 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 Linking .pioenvs/voyager/firmware.elf /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/esphome/components/api/api_connection.o:(.literal._ZN7esphome3api13APIConnection13light_commandERKNS0_19LightCommandRequestE+0x8): undefined reference to `esphome::light::LightState::make_call()' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/esphome/components/api/api_connection.o:(.literal._ZN7esphome3api13APIConnection13light_commandERKNS0_19LightCommandRequestE+0xc): undefined reference to `esphome::light::LightCall::set_state(bool)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/esphome/components/api/api_connection.o:(.literal._ZN7esphome3api13APIConnection13light_commandERKNS0_19LightCommandRequestE+0x10): undefined reference to `esphome::light::LightCall::set_brightness(float)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/esphome/components/api/api_connection.o:(.literal._ZN7esphome3api13APIConnection13light_commandERKNS0_19LightCommandRequestE+0x14): undefined reference to `esphome::light::LightCall::set_color_mode(esphome::light::ColorMode)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/esphome/components/api/api_connection.o:(.literal._ZN7esphome3api13APIConnection13light_commandERKNS0_19LightCommandRequestE+0x18): undefined reference to `esphome::light::LightCall::set_color_brightness(float)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/esphome/components/api/api_connection.o:(.literal._ZN7esphome3api13APIConnection13light_commandERKNS0_19LightCommandRequestE+0x1c): undefined reference to `esphome::light::LightCall::set_red(float)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/esphome/components/api/api_connection.o:(.literal._ZN7esphome3api13APIConnection13light_commandERKNS0_19LightCommandRequestE+0x20): undefined reference to `esphome::light::LightCall::set_green(float)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/esphome/components/api/api_connection.o:(.literal._ZN7esphome3api13APIConnection13light_commandERKNS0_19LightCommandRequestE+0x24): undefined reference to `esphome::light::LightCall::set_blue(float)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/esphome/components/api/api_connection.o:(.literal._ZN7esphome3api13APIConnection13light_commandERKNS0_19LightCommandRequestE+0x28): undefined reference to `esphome::light::LightCall::set_white(float)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/esphome/components/api/api_connection.o:(.literal._ZN7esphome3api13APIConnection13light_commandERKNS0_19LightCommandRequestE+0x2c): undefined reference to `esphome::light::LightCall::set_color_temperature(float)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/esphome/components/api/api_connection.o:(.literal._ZN7esphome3api13APIConnection13light_commandERKNS0_19LightCommandRequestE+0x30): undefined reference to `esphome::light::LightCall::set_cold_white(float)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/esphome/components/api/api_connection.o:(.literal._ZN7esphome3api13APIConnection13light_commandERKNS0_19LightCommandRequestE+0x34): undefined reference to `esphome::light::LightCall::set_warm_white(float)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/esphome/components/api/api_connection.o:(.literal._ZN7esphome3api13APIConnection13light_commandERKNS0_19LightCommandRequestE+0x38): undefined reference to `esphome::light::LightCall::set_transition_length(unsigned int)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/esphome/components/api/api_connection.o:(.literal._ZN7esphome3api13APIConnection13light_commandERKNS0_19LightCommandRequestE+0x3c): undefined reference to `esphome::light::LightCall::set_flash_length(unsigned int)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/esphome/components/api/api_connection.o:(.literal._ZN7esphome3api13APIConnection13light_commandERKNS0_19LightCommandRequestE+0x40): undefined reference to `esphome::light::LightCall::set_effect(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/esphome/components/api/api_connection.o:(.literal._ZN7esphome3api13APIConnection13light_commandERKNS0_19LightCommandRequestE+0x44): undefined reference to `esphome::light::LightCall::perform()' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/esphome/components/api/api_connection.o:(.literal._ZN7esphome3api13APIConnection16send_light_stateEPNS_5light10LightStateE+0x8): undefined reference to `esphome::light::LightState::get_traits()' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/esphome/components/api/api_connection.o:(.literal._ZN7esphome3api13APIConnection16send_light_stateEPNS_5light10LightStateE+0x10): undefined reference to `esphome::light::LightState::supports_effects()' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/esphome/components/api/api_connection.o:(.literal._ZN7esphome3api13APIConnection16send_light_stateEPNS_5light10LightStateE+0x14): undefined reference to `esphome::light::LightState::get_effect_name[abi:cxx11]()' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/esphome/components/api/api_connection.o:(.literal._ZN7esphome3api13APIConnection15send_light_infoEPNS_5light10LightStateE+0x14): undefined reference to `esphome::light::LightState::get_effects() const' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/esphome/components/api/api_connection.o: in function `esphome::api::APIConnection::light_command(esphome::api::LightCommandRequest const&)': /config/.esphome/build/voyager/src/esphome/components/api/api_connection.cpp:423: undefined reference to `esphome::light::LightState::make_call()' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: /config/.esphome/build/voyager/src/esphome/components/api/api_connection.cpp:425: undefined reference to `esphome::light::LightCall::set_state(bool)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: /config/.esphome/build/voyager/src/esphome/components/api/api_connection.cpp:427: undefined reference to `esphome::light::LightCall::set_brightness(float)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: /config/.esphome/build/voyager/src/esphome/components/api/api_connection.cpp:429: undefined reference to `esphome::light::LightCall::set_color_mode(esphome::light::ColorMode)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: /config/.esphome/build/voyager/src/esphome/components/api/api_connection.cpp:431: undefined reference to `esphome::light::LightCall::set_color_brightness(float)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: /config/.esphome/build/voyager/src/esphome/components/api/api_connection.cpp:433: undefined reference to `esphome::light::LightCall::set_red(float)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: /config/.esphome/build/voyager/src/esphome/components/api/api_connection.cpp:434: undefined reference to `esphome::light::LightCall::set_green(float)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: /config/.esphome/build/voyager/src/esphome/components/api/api_connection.cpp:435: undefined reference to `esphome::light::LightCall::set_blue(float)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: /config/.esphome/build/voyager/src/esphome/components/api/api_connection.cpp:438: undefined reference to `esphome::light::LightCall::set_white(float)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: /config/.esphome/build/voyager/src/esphome/components/api/api_connection.cpp:440: undefined reference to `esphome::light::LightCall::set_color_temperature(float)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: /config/.esphome/build/voyager/src/esphome/components/api/api_connection.cpp:442: undefined reference to `esphome::light::LightCall::set_cold_white(float)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: /config/.esphome/build/voyager/src/esphome/components/api/api_connection.cpp:444: undefined reference to `esphome::light::LightCall::set_warm_white(float)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: /config/.esphome/build/voyager/src/esphome/components/api/api_connection.cpp:446: undefined reference to `esphome::light::LightCall::set_transition_length(unsigned int)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: /config/.esphome/build/voyager/src/esphome/components/api/api_connection.cpp:448: undefined reference to `esphome::light::LightCall::set_flash_length(unsigned int)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: /config/.esphome/build/voyager/src/esphome/components/api/api_connection.cpp:450: undefined reference to `esphome::light::LightCall::set_effect(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: /config/.esphome/build/voyager/src/esphome/components/api/api_connection.cpp:451: undefined reference to `esphome::light::LightCall::perform()' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/esphome/components/api/api_connection.o: in function `esphome::api::APIConnection::send_light_state(esphome::light::LightState*)': /config/.esphome/build/voyager/src/esphome/components/api/api_connection.cpp:362: undefined reference to `esphome::light::LightState::get_traits()' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: /config/.esphome/build/voyager/src/esphome/components/api/api_connection.cpp:376: undefined reference to `esphome::light::LightState::supports_effects()' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: /config/.esphome/build/voyager/src/esphome/components/api/api_connection.cpp:379: undefined reference to `esphome::light::LightState::get_effect_name[abi:cxx11]()' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/esphome/components/api/api_connection.o: in function `esphome::api::APIConnection::send_light_info(esphome::light::LightState*)': /config/.esphome/build/voyager/src/esphome/components/api/api_connection.cpp:384: undefined reference to `esphome::light::LightState::get_traits()' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: /config/.esphome/build/voyager/src/esphome/components/api/api_connection.cpp:404: undefined reference to `esphome::light::LightState::supports_effects()' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: /config/.esphome/build/voyager/src/esphome/components/api/api_connection.cpp:411: undefined reference to `esphome::light::LightState::get_effects() const' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/esphome/components/mqtt/mqtt_light.o:(.literal._ZNSt17_Function_handlerIFvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN18ArduinoJson6185_719ObjectRefEEZN7esphome4mqtt22MQTTJSONLightComponent5setupEvEUlS7_S9_E_E9_M_invokeERKSt9_Any_dataS7_OS9_+0x0): undefined reference to `esphome::light::LightJSONSchema::parse_json(esphome::light::LightState&, esphome::light::LightCall&, ArduinoJson6185_71::ObjectRef)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/esphome/components/mqtt/mqtt_light.o:(.literal._ZNSt17_Function_handlerIFvN18ArduinoJson6185_719ObjectRefEEZN7esphome4mqtt22MQTTJSONLightComponent14publish_state_EvEUlS1_E_E9_M_invokeERKSt9_Any_dataOS1_+0x0): undefined reference to `esphome::light::LightJSONSchema::dump_json(esphome::light::LightState&, ArduinoJson6185_71::ObjectRef)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/esphome/components/mqtt/mqtt_light.o:(.literal._ZN7esphome4mqtt22MQTTJSONLightComponent5setupEv+0x14): undefined reference to `esphome::light::LightState::add_new_remote_values_callback(std::function<void ()>&&)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/esphome/components/mqtt/mqtt_light.o: in function `std::_Function_handler<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, ArduinoJson6185_71::ObjectRef), esphome::mqtt::MQTTJSONLightComponent::setup()::{lambda(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, ArduinoJson6185_71::ObjectRef)#1}>::_M_invoke(std::_Any_data const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, ArduinoJson6185_71::ObjectRef&&)': /config/.esphome/build/voyager/src/esphome/components/mqtt/mqtt_light.cpp:23: undefined reference to `esphome::light::LightState::make_call()' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/esphome/components/mqtt/mqtt_light.o: in function `operator()': /config/.esphome/build/voyager/src/esphome/components/mqtt/mqtt_light.cpp:24: undefined reference to `esphome::light::LightJSONSchema::parse_json(esphome::light::LightState&, esphome::light::LightCall&, ArduinoJson6185_71::ObjectRef)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: /config/.esphome/build/voyager/src/esphome/components/mqtt/mqtt_light.cpp:25: undefined reference to `esphome::light::LightCall::perform()' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/esphome/components/mqtt/mqtt_light.o: in function `std::_Function_handler<void (ArduinoJson6185_71::ObjectRef), esphome::mqtt::MQTTJSONLightComponent::publish_state_()::{lambda(ArduinoJson6185_71::ObjectRef)#1}>::_M_invoke(std::_Any_data const&, ArduinoJson6185_71::ObjectRef&&)': /config/.esphome/build/voyager/src/esphome/components/mqtt/mqtt_light.cpp:36: undefined reference to `esphome::light::LightJSONSchema::dump_json(esphome::light::LightState&, ArduinoJson6185_71::ObjectRef)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/esphome/components/mqtt/mqtt_light.o: in function `esphome::mqtt::MQTTJSONLightComponent::setup()': /config/.esphome/build/voyager/src/esphome/components/mqtt/mqtt_light.cpp:29: undefined reference to `esphome::light::LightState::add_new_remote_values_callback(std::function<void ()>&&)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/esphome/components/mqtt/mqtt_light.o: in function `bool ArduinoJson6185_71::VariantRef::set<char const>(char const*) const': /config/.esphome/build/voyager/.piolibdeps/voyager/ArduinoJson/src/ArduinoJson/Variant/VariantRef.hpp:98: undefined reference to `esphome::light::LightState::get_traits()' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/esphome/components/mqtt/mqtt_light.o: in function `bool ArduinoJson6185_71::ArrayShortcuts<ArduinoJson6185_71::ArrayRef>::add<char const>(char const*) const': /config/.esphome/build/voyager/.piolibdeps/voyager/ArduinoJson/src/ArduinoJson/Array/ArrayShortcuts.hpp:41: undefined reference to `esphome::light::LightState::supports_effects()' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/esphome/components/mqtt/mqtt_light.o: in function `ArduinoJson6185_71::Converter<bool, void>::toJson(bool, ArduinoJson6185_71::VariantRef)': /config/.esphome/build/voyager/.piolibdeps/voyager/ArduinoJson/src/ArduinoJson/Variant/ConverterImpl.hpp:81: undefined reference to `esphome::light::LightState::get_effects() const' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/esphome/core/controller.o: in function `esphome::Controller::setup_controller(bool)': /config/.esphome/build/voyager/src/esphome/core/controller.cpp:23: undefined reference to `esphome::light::LightState::add_new_remote_values_callback(std::function<void ()>&&)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/main.o:(.literal._Z5setupv+0xac): undefined reference to `vtable for esphome::esp32_rmt_led_strip::ESP32RMTLEDStripLightOutput' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/main.o:(.literal._Z5setupv+0xb0): undefined reference to `vtable for esphome::esp32_rmt_led_strip::ESP32RMTLEDStripLightOutput' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/main.o:(.literal._Z5setupv+0x104): undefined reference to `esphome::light::LightState::LightState(esphome::light::LightOutput*)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/main.o:(.literal._Z5setupv+0x10c): undefined reference to `esphome::light::LightState::set_restore_mode(esphome::light::LightRestoreMode)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/main.o:(.literal._Z5setupv+0x110): undefined reference to `esphome::light::LightState::set_default_transition_length(unsigned int)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/main.o:(.literal._Z5setupv+0x114): undefined reference to `esphome::light::LightState::set_flash_transition_length(unsigned int)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/main.o:(.literal._Z5setupv+0x118): undefined reference to `esphome::light::LightState::set_gamma_correct(float)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/main.o:(.literal._Z5setupv+0x11c): undefined reference to `esphome::light::LightState::add_effects(std::vector<esphome::light::LightEffect*, std::allocator<esphome::light::LightEffect*> > const&)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/main.o:(.literal._Z5setupv+0x120): undefined reference to `esphome::esp32_rmt_led_strip::ESP32RMTLEDStripLightOutput::set_led_params(unsigned int, unsigned int, unsigned int, unsigned int)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/main.o: in function `setup()': /config/.esphome/build/voyager/src/main.cpp:196: undefined reference to `esphome::light::LightState::LightState(esphome::light::LightOutput*)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: /config/.esphome/build/voyager/src/main.cpp:225: undefined reference to `esphome::light::LightState::set_restore_mode(esphome::light::LightRestoreMode)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: /config/.esphome/build/voyager/src/main.cpp:225: undefined reference to `esphome::light::LightState::set_default_transition_length(unsigned int)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/main.o: in function `esphome::Component::Component()': /config/.esphome/build/voyager/src/esphome/core/component.h:68: undefined reference to `esphome::light::LightState::set_flash_transition_length(unsigned int)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/main.o: in function `esphome::psram::PsramComponent* esphome::Application::register_component<esphome::psram::PsramComponent>(esphome::psram::PsramComponent*)': /config/.esphome/build/voyager/src/esphome/core/application.h:163: undefined reference to `esphome::light::LightState::set_gamma_correct(float)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/main.o: in function `esphome::Color::Color(unsigned char, unsigned char, unsigned char, unsigned char)': /config/.esphome/build/voyager/src/esphome/core/color.h:40: undefined reference to `esphome::light::LightState::add_effects(std::vector<esphome::light::LightEffect*, std::allocator<esphome::light::LightEffect*> > const&)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/main.o: in function `setup()': /config/.esphome/build/voyager/src/main.cpp:247: undefined reference to `esphome::esp32_rmt_led_strip::ESP32RMTLEDStripLightOutput::set_led_params(unsigned int, unsigned int, unsigned int, unsigned int)' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/main.o:(.rodata._ZTVN7esphome5light21AddressableLightStateE[vtable for esphome::light::AddressableLightState]+0xc): undefined reference to `esphome::light::LightState::setup()' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/main.o:(.rodata._ZTVN7esphome5light21AddressableLightStateE[vtable for esphome::light::AddressableLightState]+0x10): undefined reference to `esphome::light::LightState::dump_config()' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/main.o:(.rodata._ZTVN7esphome5light21AddressableLightStateE[vtable for esphome::light::AddressableLightState]+0x14): undefined reference to `esphome::light::LightState::loop()' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/main.o:(.rodata._ZTVN7esphome5light21AddressableLightStateE[vtable for esphome::light::AddressableLightState]+0x18): undefined reference to `esphome::light::LightState::get_setup_priority() const' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/main.o:(.rodata._ZTVN7esphome5light21AddressableLightStateE[vtable for esphome::light::AddressableLightState]+0x24): undefined reference to `non-virtual thunk to esphome::light::LightState::setup()' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/main.o:(.rodata._ZTVN7esphome5light21AddressableLightStateE[vtable for esphome::light::AddressableLightState]+0x28): undefined reference to `non-virtual thunk to esphome::light::LightState::loop()' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/main.o:(.rodata._ZTVN7esphome5light21AddressableLightStateE[vtable for esphome::light::AddressableLightState]+0x2c): undefined reference to `non-virtual thunk to esphome::light::LightState::dump_config()' /config/.esphome/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/voyager/src/main.o:(.rodata._ZTVN7esphome5light21AddressableLightStateE[vtable for esphome::light::AddressableLightState]+0x30): undefined reference to `non-virtual thunk to esphome::light::LightState::get_setup_priority() const' collect2: error: ld returned 1 exit status *** [.pioenvs/voyager/firmware.elf] Error 1
Doing a clean build solved it.
The problem
compile error with ESP32-S3 using ESP-IDF with platform: esp32_rmt_led_strip configuration and log below.
Which version of ESPHome has the issue?
2024.4.1
What type of installation are you using?
Docker
Which version of Home Assistant has the issue?
No response
What platform are you using?
ESP32-IDF
Board
ESP32-S3 dev
Component causing the issue
esp32_rmt_led_strip
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response