From 8aa31318f477b2fa1b630a04b0f9ff30799965d7 Mon Sep 17 00:00:00 2001 From: hutchisr <42283663+hutchisr@users.noreply.github.com> Date: Wed, 6 Mar 2024 05:19:15 -0800 Subject: [PATCH] Add GPIO20 for esp32-pico-mini-02 (#370) --- src/gpio.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gpio.rs b/src/gpio.rs index bb8e923938d..ded722f92e0 100644 --- a/src/gpio.rs +++ b/src/gpio.rs @@ -1656,6 +1656,7 @@ mod chip { pin!(Gpio17:17, IO, NORTC:0, NOADC:0, NODAC:0, NOTOUCH:0); pin!(Gpio18:18, IO, NORTC:0, NOADC:0, NODAC:0, NOTOUCH:0); pin!(Gpio19:19, IO, NORTC:0, NOADC:0, NODAC:0, NOTOUCH:0); + pin!(Gpio20:20, IO, NORTC:0, NOADC:0, NODAC:0, NOTOUCH:0); pin!(Gpio21:21, IO, NORTC:0, NOADC:0, NODAC:0, NOTOUCH:0); pin!(Gpio22:22, IO, NORTC:0, NOADC:0, NODAC:0, NOTOUCH:0); pin!(Gpio23:23, IO, NORTC:0, NOADC:0, NODAC:0, NOTOUCH:0); @@ -1692,6 +1693,7 @@ mod chip { pub gpio17: Gpio17, pub gpio18: Gpio18, pub gpio19: Gpio19, + pub gpio20: Gpio20, pub gpio21: Gpio21, pub gpio22: Gpio22, pub gpio23: Gpio23, @@ -1735,6 +1737,7 @@ mod chip { gpio17: Gpio17::new(), gpio18: Gpio18::new(), gpio19: Gpio19::new(), + gpio20: Gpio20::new(), gpio21: Gpio21::new(), gpio22: Gpio22::new(), gpio23: Gpio23::new(),