From 69197dc0b3d2f0fc484ad823cd2d0e3c3bd04133 Mon Sep 17 00:00:00 2001 From: Darsey Litzenberger Date: Mon, 26 Jan 2026 02:01:01 -0700 Subject: [PATCH] Add common/esp-shelly-c68f.yaml and common/esp32c6.yaml --- common/esp-shelly-c68f.yaml | 19 +++++++++++++++++++ common/esp32c6.yaml | 17 +++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 common/esp-shelly-c68f.yaml create mode 100644 common/esp32c6.yaml diff --git a/common/esp-shelly-c68f.yaml b/common/esp-shelly-c68f.yaml new file mode 100644 index 0000000..d55d79e --- /dev/null +++ b/common/esp-shelly-c68f.yaml @@ -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 diff --git a/common/esp32c6.yaml b/common/esp32c6.yaml new file mode 100644 index 0000000..a47e6b7 --- /dev/null +++ b/common/esp32c6.yaml @@ -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 --