Skip to content

Commit

Permalink
Enable IO20 on ESP32
Browse files Browse the repository at this point in the history
Some newer ESP32 variants (like ESP32-PICO-V3 and ESP32-PICO-MINI-02)
do implement this pin and it can be used as a normal GPIO.

Fixes #6016
Fixes #6837

Closes #6918

(cherry picked from commit 6deaefd)
  • Loading branch information
alberto-frsky authored and songruo committed Aug 31, 2021
1 parent 1e309a3 commit f1a024e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/soc/esp32/gpio_periph.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f1a024e

Please sign in to comment.