Add common/esp-shelly-c68f.yaml and common/esp32c6.yaml

This commit is contained in:
2026-01-26 02:01:01 -07:00
parent 2f420292cd
commit 69197dc0b3
2 changed files with 36 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
# Common options for the ESP-Shelly-C38F SoC
packages:
- !include esp32c6.yaml
esphome:
platformio_options:
board_build.flash_mode: dio
esp32:
variant: esp32c6
# cpu_frequency: 240MHz
flash_size: 8MB
framework:
type: esp-idf
sdkconfig_options:
CONFIG_MBEDTLS_SSL_PROTO_TLS1_3: "y" # TLS1.3 support still isn't enabled by default in IDF 5.5.2
# CONFIG_MBEDTLS_DEFAULT_CERTIFICATE_BUNDLE: CONFIG_MBEDTLS_CERTIFICATE_BUNDLE_DEFAULT_CMN
# CONFIG_LWIP_NETIF_LOOPBACK: "n" # Apparently there's a bug causing the ICMPv6 Router Solicitation to go out over the loopback interface rather than wifi

17
common/esp32c6.yaml Normal file
View File

@@ -0,0 +1,17 @@
esp32:
variant: esp32c6
framework:
type: esp-idf
sdkconfig_options:
CONFIG_MBEDTLS_SSL_PROTO_TLS1_3: "y" # TLS1.3 support still isn't enabled by default in IDF 5.5.2
# CONFIG_LWIP_NETIF_LOOPBACK: "n" # Apparently there's a bug causing the ICMPv6 Router Solicitation to go out over the loopback interface rather than wifi
# -- begin copied from https://github.com/athom-tech/esp32-configs --
# @grigi found in testing that these options resulted in better responsiveness.
# BLE 4.2 is supported by ALL ESP32 boards that have bluetooth, the original and derivatives.
# CONFIG_BT_BLE_42_FEATURES_SUPPORTED: y
# Also enable this on any derivative boards (S2, C3 etc) but not the original ESP32.
CONFIG_BT_BLE_50_FEATURES_SUPPORTED: y
# Extend the watchdog timeout, so the device reboots if the device appears locked up for over 10 seconds.
# CONFIG_ESP_TASK_WDT_TIMEOUT_S: "10"
# -- end copied from https://github.com/athom-tech/esp32-configs --