From 6e01e30b6e7c4ef6c20f85a750bb9339e1a03195 Mon Sep 17 00:00:00 2001 From: p43lz3r <16374477+paelzer@users.noreply.github.com> Date: Fri, 2 Feb 2024 16:37:40 +0100 Subject: [PATCH] Updated esp322432s028r.h with SD card interface pin defines Added pin defines for the ESP32 2432S028R and ESP 2432S028_2USB boars. Tested successfully with both above mentioned boards. --- src/drivers/devices/esp322432s028r.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/drivers/devices/esp322432s028r.h b/src/drivers/devices/esp322432s028r.h index 73d6911..e87789b 100644 --- a/src/drivers/devices/esp322432s028r.h +++ b/src/drivers/devices/esp322432s028r.h @@ -7,4 +7,16 @@ #define LED_PIN 4 // Red pin #define LED_PIN_G 17 // Green pin +// Pin defines for the SD card interface +// This is working +// -------------------------------------- +// use SPI interface +// (default SPI unit provided by ) +// setup SPI pins. + +#define SDSPI_CS 5 +#define SDSPI_CLK 18 +#define SDSPI_MOSI 23 +#define SDSPI_MISO 19 + #endif