Skip to content

Commit

Permalink
Provide correct default BOOT pin config for ESP32-H2
Browse files Browse the repository at this point in the history
  • Loading branch information
vikramdattu committed Oct 17, 2024
1 parent f98cf1e commit 54554b6
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion examples/fan/main/Kconfig.projbuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/gpio/main/Kconfig.projbuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/homekit_switch/main/Kconfig.projbuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/led_light/main/Kconfig.projbuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/multi_device/main/Kconfig.projbuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/switch/main/Kconfig.projbuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/temperature_sensor/main/Kconfig.projbuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 54554b6

Please sign in to comment.