From c5d8adacf77164434bb66d3339b18927d24dd734 Mon Sep 17 00:00:00 2001 From: brisk Date: Sun, 17 Nov 2024 21:10:00 +1030 Subject: [PATCH] pulse_counter_ulp: Enable ULP coprocessor on ESP32-S3 The S3 has separate sdkconfig configuration options for the ULP, which appear to operate in addition to the generic versions. --- esphome/components/pulse_counter_ulp/sensor.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/esphome/components/pulse_counter_ulp/sensor.py b/esphome/components/pulse_counter_ulp/sensor.py index d9d393cc64..9831172842 100644 --- a/esphome/components/pulse_counter_ulp/sensor.py +++ b/esphome/components/pulse_counter_ulp/sensor.py @@ -97,6 +97,8 @@ async def to_code(config): esp32.add_idf_sdkconfig_option("CONFIG_ULP_COPROC_ENABLED", True) esp32.add_idf_sdkconfig_option("CONFIG_ULP_COPROC_TYPE_FSM", True) esp32.add_idf_sdkconfig_option("CONFIG_ULP_COPROC_RESERVE_MEM", 1024) + esp32.add_idf_sdkconfig_option("CONFIG_ESP32S3_ULP_COPROC_ENABLED", True) + esp32.add_idf_sdkconfig_option("CONFIG_ESP32S3_ULP_COPROC_RESERVE_MEM", 1024) var = await sensor.new_sensor(config) await cg.register_component(var, config)