Merge branch 'feature/enable_gpio19_esp32c3_v4.3' into 'release/v4.3'

gpio: enable GPIO19 on ESP32C3 boards (backport v4.3)

See merge request espressif/esp-idf!12542
This commit is contained in:
Michael (XIAO Xufeng)
2021-02-27 05:25:42 +00:00
3 changed files with 4 additions and 3 deletions

View File

@@ -117,7 +117,7 @@
#define IO_MUX_GPIO20_REG PERIPHS_IO_MUX_U0RXD_U
#define IO_MUX_GPIO21_REG PERIPHS_IO_MUX_U0TXD_U
#define FUNC_GPIO_GPIO 1
/* Value to set in IO Mux to use a pin as GPIO. */
#define PIN_FUNC_GPIO 1
#define GPIO_PAD_PULLUP(num) do{PIN_PULLDWN_DIS(IOMUX_REG_GPIO##num);PIN_PULLUP_EN(IOMUX_REG_GPIO##num);}while(0)