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 1/2] 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 From f1f05af49f36b49de9b37fe25a6dda1df76d2e51 Mon Sep 17 00:00:00 2001 From: p43lz3r <16374477+paelzer@users.noreply.github.com> Date: Sat, 3 Feb 2024 09:07:46 +0100 Subject: [PATCH 2/2] Aktualisieren von esp322432s028r.h --- src/drivers/devices/esp322432s028r.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/devices/esp322432s028r.h b/src/drivers/devices/esp322432s028r.h index e87789b..aa6d1a0 100644 --- a/src/drivers/devices/esp322432s028r.h +++ b/src/drivers/devices/esp322432s028r.h @@ -8,7 +8,7 @@ #define LED_PIN_G 17 // Green pin // Pin defines for the SD card interface -// This is working +// This is working for both, ESP32 2432S028R and ESP 2432S028_2USB boards // -------------------------------------- // use SPI interface // (default SPI unit provided by )