From 3251fad1832fcab5e00d3697624404567b6f24d1 Mon Sep 17 00:00:00 2001 From: Sean Murphy Date: Sun, 24 Nov 2024 21:25:46 -0400 Subject: [PATCH] uncommented spi definition --- .../boards/heltec_wireless_paper/mpconfigboard.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ports/espressif/boards/heltec_wireless_paper/mpconfigboard.h b/ports/espressif/boards/heltec_wireless_paper/mpconfigboard.h index a37b8234b033..9794e504ba19 100644 --- a/ports/espressif/boards/heltec_wireless_paper/mpconfigboard.h +++ b/ports/espressif/boards/heltec_wireless_paper/mpconfigboard.h @@ -13,11 +13,11 @@ #define CIRCUITPY_BOOT_BUTTON (&pin_GPIO0) -/*#define CIRCUITPY_BOARD_SPI (2) +#define CIRCUITPY_BOARD_SPI (2) #define CIRCUITPY_BOARD_SPI_PIN { \ - {.clock = &pin_GPIO3, .mosi = &pin_GPIO2, .miso = NULL}, \ - {.clock = &pin_GPIO9, .mosi = &pin_GPIO11, .miso = &pin_GPIO11}, \ -}*/ + {.clock = &pin_GPIO3, .mosi = &pin_GPIO2, .miso = NULL}, \ + {.clock = &pin_GPIO9, .mosi = &pin_GPIO11, .miso = &pin_GPIO11}, \ +} // UART definition for UART connected to the CP210x #define DEFAULT_UART_BUS_RX (&pin_GPIO44)