issues
issues copied to clipboard
Multiple ways to build the same target were specified for: adc.o
The problem
Since few ESPHome versions (or espidf/platformio updates? I didn't change anything related to it) I cannot build my ESP32 firmwares anymore (ESP8266 works fine).
It fails with this message:
*** Multiple ways to build the same target were specified for: /tmp/esphome/.esphome/build/lampa-salon/.pioenvs/lampa-salon/adc.o (from ['/home/piotr/.platformio/packages/framework-espidf/components/driver/adc.c'] and from ['/home/piotr/.platformio/packages/framework-espidf/components/driver/esp32/adc.c'])
File "/home/piotr/.platformio/platforms/espressif32/builder/frameworks/espidf.py", line 684, in compile_source_files
Removing ~/.platformio and ./.esphome and regenerating all needed files doesn't help
Which version of ESPHome has the issue?
2024.6.3
What type of installation are you using?
pip
Which version of Home Assistant has the issue?
No response
What platform are you using?
ESP32-IDF
Board
esp32doit-devkit-v1
Component causing the issue
adc
Example YAML snippet
esphome:
name: some_name
esp32:
board: esp32doit-devkit-v1
framework:
type: esp-idf
Anything in the logs that might be useful for us?
No response
Additional information
No response