feat : add support to esp32 s3 geek using sdcard fixes #405
This commit is contained in:
parent
ee4324fa01
commit
4331e0ab8a
@ -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
|
||||||
|
@ -30,7 +30,11 @@
|
|||||||
|
|
||||||
extern monitor_data mMonitor;
|
extern monitor_data mMonitor;
|
||||||
|
|
||||||
SDCard SDCrd = SDCard();
|
#ifdef SD_ID
|
||||||
|
SDCard SDCrd = SDCard(SD_ID);
|
||||||
|
#else
|
||||||
|
SDCard SDCrd = SDCard();
|
||||||
|
#endif
|
||||||
|
|
||||||
/**********************⚡ GLOBAL Vars *******************************/
|
/**********************⚡ GLOBAL Vars *******************************/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user