Explorar o código

bootloader: Change range of the factory reset pin in Kconfig

Closes: https://github.com/espressif/esp-idf/issues/5489
KonstantinKondrashov %!s(int64=5) %!d(string=hai) anos
pai
achega
f5897efa4f
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      components/bootloader/Kconfig.projbuild

+ 2 - 1
components/bootloader/Kconfig.projbuild

@@ -114,7 +114,8 @@ menu "Bootloader config"
     config BOOTLOADER_NUM_PIN_FACTORY_RESET
     config BOOTLOADER_NUM_PIN_FACTORY_RESET
         int "Number of the GPIO input for factory reset"
         int "Number of the GPIO input for factory reset"
         depends on BOOTLOADER_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
         default 4
         help
         help
             The selected GPIO will be configured as an input with internal pull-up enabled.
             The selected GPIO will be configured as an input with internal pull-up enabled.