Procházet zdrojové kódy

Merge branch 'feature/change_factory_reset_pin_range' into 'master'

bootloader: Change range of the factory reset pin in Kconfig for ESP32-S2

Closes IDFGH-3537

See merge request espressif/esp-idf!10920
Angus Gratton před 5 roky
rodič
revize
75cb8eecf6
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      components/bootloader/Kconfig.projbuild

+ 2 - 1
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.