From 5f975a81680af215e8c3610f3b501fbc3a0e6a74 Mon Sep 17 00:00:00 2001 From: KonstantinKondrashov Date: Tue, 20 Oct 2020 21:28:37 +0800 Subject: [PATCH] bootloader: Change range of the factory reset pin in Kconfig Closes: https://github.com/espressif/esp-idf/issues/5489 --- components/bootloader/Kconfig.projbuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/bootloader/Kconfig.projbuild b/components/bootloader/Kconfig.projbuild index 5aa23a5151..a4a2849c3c 100644 --- a/components/bootloader/Kconfig.projbuild +++ b/components/bootloader/Kconfig.projbuild @@ -123,7 +123,8 @@ menu "Bootloader config" config BOOTLOADER_NUM_PIN_FACTORY_RESET int "Number of the GPIO input for factory reset" depends on BOOTLOADER_FACTORY_RESET - range 0 39 + range 0 39 if IDF_TARGET_ESP32 + range 0 44 if IDF_TARGET_ESP32S2 default 4 help The selected GPIO will be configured as an input with internal pull-up enabled.