Open rvalitov opened 1 month ago
I'm using ESP32-C6 with latest ESP-IDF. It shows the warning during compilation:
i2c: This driver is an old driver, please migrate your application code to adapt driver/i2c_master.h
2024.10.1
Home Assistant Add-on
No response
ESP32-IDF
esp32-c6-devkitc-1
i2c
esphome: name: garage_sensors friendly_name: Garage Sensors platformio_options: board_build.flash_mode: dio esp32: board: esp32-c6-devkitc-1 variant: ESP32C6 flash_size: 8MB framework: type: esp-idf version: 5.3.1 platform_version: 6.9.0 sdkconfig_options: CONFIG_ESPTOOLPY_FLASHSIZE_8MB: y CONFIG_BT_BLE_50_FEATURES_SUPPORTED: y CONFIG_BT_BLE_42_FEATURES_SUPPORTED: y CONFIG_ESP_TASK_WDT: y CONFIG_ESP_TASK_WDT_TIMEOUT_S: "10" CONFIG_OPENTHREAD_ENABLED: n CONFIG_ENABLE_WIFI_STATION: y CONFIG_USE_MINIMAL_MDNS: y # Enable logging logger: level: VERBOSE # Enable Home Assistant API api: encryption: key: "" wifi: ssid: "" password: "" i2c: sda: 6 scl: 7 scan: true sensor: - platform: bh1750 name: "Illuminance" address: 0x23 update_interval: 30s
Example of rewriting is https://github.com/K0I05/esp32-s3/commit/90e08dbd37ab7a9087826b54e8aba6d7b1cc0d1b
The problem
I'm using ESP32-C6 with latest ESP-IDF. It shows the warning during compilation:
Which version of ESPHome has the issue?
2024.10.1
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
No response
What platform are you using?
ESP32-IDF
Board
esp32-c6-devkitc-1
Component causing the issue
i2c
Example YAML snippet
Anything in the logs that might be useful for us?
No response
Additional information
No response