Explorar o código

Merge branch 'bugfix/enable_gpio_20_v3.3' into 'release/v3.3'

gpio: Enable IO20 on ESP32 (backport v3.3)

See merge request espressif/esp-idf!15029
Jiang Jiang Jian %!s(int64=4) %!d(string=hai) anos
pai
achega
46c4842c0e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      components/soc/esp32/gpio_periph.c

+ 1 - 1
components/soc/esp32/gpio_periph.c

@@ -35,7 +35,7 @@ const uint32_t GPIO_PIN_MUX_REG[GPIO_PIN_COUNT] = {
     IO_MUX_GPIO17_REG,
     IO_MUX_GPIO18_REG,
     IO_MUX_GPIO19_REG,
-    0,
+    IO_MUX_GPIO20_REG, // This corresponding pin is only available on ESP32-PICO-V3 chip package
     IO_MUX_GPIO21_REG,
     IO_MUX_GPIO22_REG,
     IO_MUX_GPIO23_REG,