mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-27 11:58:55 +00:00
gpio: enable GPIO19 on ESP32C3 boards
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user