From 54554b6c8a8fbdf75de4ab0531c212438e7dea8f Mon Sep 17 00:00:00 2001 From: Vikram Dattu Date: Fri, 20 Sep 2024 18:23:33 +0530 Subject: [PATCH] Provide correct default BOOT pin config for ESP32-H2 --- examples/fan/main/Kconfig.projbuild | 2 +- examples/gpio/main/Kconfig.projbuild | 2 +- examples/homekit_switch/main/Kconfig.projbuild | 2 +- examples/led_light/main/Kconfig.projbuild | 2 +- examples/multi_device/main/Kconfig.projbuild | 2 +- examples/switch/main/Kconfig.projbuild | 2 +- examples/temperature_sensor/main/Kconfig.projbuild | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/examples/fan/main/Kconfig.projbuild b/examples/fan/main/Kconfig.projbuild index ee08109f..7666c4f8 100644 --- a/examples/fan/main/Kconfig.projbuild +++ b/examples/fan/main/Kconfig.projbuild @@ -2,7 +2,7 @@ menu "Example Configuration" config EXAMPLE_BOARD_BUTTON_GPIO int "Boot Button GPIO" - default 9 if IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32C6 || IDF_TARGET_ESP32C2 + default 9 if IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32C6 || IDF_TARGET_ESP32C2 || IDF_TARGET_ESP32H2 default 0 help GPIO number on which the "Boot" button is connected. This is generally used diff --git a/examples/gpio/main/Kconfig.projbuild b/examples/gpio/main/Kconfig.projbuild index 3273660a..4f4aed1f 100644 --- a/examples/gpio/main/Kconfig.projbuild +++ b/examples/gpio/main/Kconfig.projbuild @@ -2,7 +2,7 @@ menu "Example Configuration" config EXAMPLE_BOARD_BUTTON_GPIO int "Boot Button GPIO" - default 9 if IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32C6 || IDF_TARGET_ESP32C2 + default 9 if IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32C6 || IDF_TARGET_ESP32C2 || IDF_TARGET_ESP32H2 default 0 help GPIO number on which the "Boot" button is connected. This is generally used diff --git a/examples/homekit_switch/main/Kconfig.projbuild b/examples/homekit_switch/main/Kconfig.projbuild index 9196581b..b8daedde 100644 --- a/examples/homekit_switch/main/Kconfig.projbuild +++ b/examples/homekit_switch/main/Kconfig.projbuild @@ -26,7 +26,7 @@ menu "Example Configuration" config EXAMPLE_BOARD_BUTTON_GPIO int "Boot Button GPIO" - default 9 if IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32C6 || IDF_TARGET_ESP32C2 + default 9 if IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32C6 || IDF_TARGET_ESP32C2 || IDF_TARGET_ESP32H2 default 0 help GPIO number on which the "Boot" button is connected. This is generally used diff --git a/examples/led_light/main/Kconfig.projbuild b/examples/led_light/main/Kconfig.projbuild index ee08109f..7666c4f8 100644 --- a/examples/led_light/main/Kconfig.projbuild +++ b/examples/led_light/main/Kconfig.projbuild @@ -2,7 +2,7 @@ menu "Example Configuration" config EXAMPLE_BOARD_BUTTON_GPIO int "Boot Button GPIO" - default 9 if IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32C6 || IDF_TARGET_ESP32C2 + default 9 if IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32C6 || IDF_TARGET_ESP32C2 || IDF_TARGET_ESP32H2 default 0 help GPIO number on which the "Boot" button is connected. This is generally used diff --git a/examples/multi_device/main/Kconfig.projbuild b/examples/multi_device/main/Kconfig.projbuild index df95de01..536fd25e 100644 --- a/examples/multi_device/main/Kconfig.projbuild +++ b/examples/multi_device/main/Kconfig.projbuild @@ -2,7 +2,7 @@ menu "Example Configuration" config EXAMPLE_BOARD_BUTTON_GPIO int "Boot Button GPIO" - default 9 if IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32C6 || IDF_TARGET_ESP32C2 + default 9 if IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32C6 || IDF_TARGET_ESP32C2 || IDF_TARGET_ESP32H2 default 0 help GPIO number on which the "Boot" button is connected. This is generally used diff --git a/examples/switch/main/Kconfig.projbuild b/examples/switch/main/Kconfig.projbuild index 2d093938..4a8e9e5b 100644 --- a/examples/switch/main/Kconfig.projbuild +++ b/examples/switch/main/Kconfig.projbuild @@ -2,7 +2,7 @@ menu "Example Configuration" config EXAMPLE_BOARD_BUTTON_GPIO int "Boot Button GPIO" - default 9 if IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32C6 || IDF_TARGET_ESP32C2 + default 9 if IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32C6 || IDF_TARGET_ESP32C2 || IDF_TARGET_ESP32H2 default 0 help GPIO number on which the "Boot" button is connected. This is generally used diff --git a/examples/temperature_sensor/main/Kconfig.projbuild b/examples/temperature_sensor/main/Kconfig.projbuild index ee08109f..7666c4f8 100644 --- a/examples/temperature_sensor/main/Kconfig.projbuild +++ b/examples/temperature_sensor/main/Kconfig.projbuild @@ -2,7 +2,7 @@ menu "Example Configuration" config EXAMPLE_BOARD_BUTTON_GPIO int "Boot Button GPIO" - default 9 if IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32C6 || IDF_TARGET_ESP32C2 + default 9 if IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32C6 || IDF_TARGET_ESP32C2 || IDF_TARGET_ESP32H2 default 0 help GPIO number on which the "Boot" button is connected. This is generally used