From 3acb0d48bcaf624328d64dcdc85b23c3ac313d44 Mon Sep 17 00:00:00 2001 From: Neradoc Date: Fri, 18 Feb 2022 00:56:19 +0100 Subject: [PATCH] free RX and TX on QTPY-ESP32S2 in non debug builds --- ports/espressif/boards/adafruit_qtpy_esp32s2/mpconfigboard.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ports/espressif/boards/adafruit_qtpy_esp32s2/mpconfigboard.h b/ports/espressif/boards/adafruit_qtpy_esp32s2/mpconfigboard.h index 7ae713c4bb..4afce4c042 100644 --- a/ports/espressif/boards/adafruit_qtpy_esp32s2/mpconfigboard.h +++ b/ports/espressif/boards/adafruit_qtpy_esp32s2/mpconfigboard.h @@ -50,5 +50,7 @@ #define DOUBLE_TAP_PIN (&pin_GPIO10) +#ifdef DEBUG #define DEBUG_UART_RX (&pin_GPIO16) #define DEBUG_UART_TX (&pin_GPIO5) +#endif