From bf8634d6b2246849032da28edb076bef5a6ae133 Mon Sep 17 00:00:00 2001 From: S5NC <145265251+S5NC@users.noreply.github.com> Date: Sun, 14 Apr 2024 13:19:09 +0100 Subject: [PATCH] Update variant.h --- variants/CDEBYTE_EoRa-S3/variant.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/variants/CDEBYTE_EoRa-S3/variant.h b/variants/CDEBYTE_EoRa-S3/variant.h index 9d6a7d00b9..5b6499d889 100644 --- a/variants/CDEBYTE_EoRa-S3/variant.h +++ b/variants/CDEBYTE_EoRa-S3/variant.h @@ -7,6 +7,14 @@ // SD card - TODO: test, currently untested, copied from T3S3 variant #define HAS_SDCARD #define SDCARD_USE_SPI1 +// TODO: rename this to make this SD-card specific +#define SPI_CS 13 +#define SPI_SCK 14 +#define SPI_MOSI 11 +#define SPI_MISO 2 +// FIXME: there are two other SPI pins that are not defined here +// Compatibility +#define SDCARD_CS SPI_CS // Battery voltage monitoring - TODO: test, currently untested, copied from T3S3 variant #define BATTERY_PIN 1 // A battery voltage measurement pin, voltage divider connected here to measure battery voltage