feat : add support to esp32 s3 geek using sdcard fixes #405

This commit is contained in:
Julio MATARRANZ 2024-05-20 19:17:13 +02:00 committed by Julio MATARRANZ
parent ee4324fa01
commit 4331e0ab8a
2 changed files with 10 additions and 1 deletions

View File

@ -562,6 +562,11 @@ build_flags =
-DBOARD_HAS_PSRAM -DBOARD_HAS_PSRAM
-DARDUINO_USB_CDC_ON_BOOT -DARDUINO_USB_CDC_ON_BOOT
-DTFT_BACKLIGHT_ON=HIGH -DTFT_BACKLIGHT_ON=HIGH
-DSDSPI_CLK=36
-DSDSPI_MOSI=35
-DSDSPI_MISO=37
-DSDSPI_CS=34
-DSD_ID=HSPI
lib_deps = lib_deps =
https://github.com/takkaO/OpenFontRender https://github.com/takkaO/OpenFontRender
bblanchon/ArduinoJson@^6.21.2 bblanchon/ArduinoJson@^6.21.2

View File

@ -30,7 +30,11 @@
extern monitor_data mMonitor; extern monitor_data mMonitor;
#ifdef SD_ID
SDCard SDCrd = SDCard(SD_ID);
#else
SDCard SDCrd = SDCard(); SDCard SDCrd = SDCard();
#endif
/**********************⚡ GLOBAL Vars *******************************/ /**********************⚡ GLOBAL Vars *******************************/