mirror of
https://github.com/jscrane/r65emu.git
synced 2025-03-13 10:38:39 +00:00
allow use of SD card
This commit is contained in:
parent
4fa4faa278
commit
0a89a982c0
20
hw/esp8bit.h
20
hw/esp8bit.h
@ -31,13 +31,27 @@
|
||||
#define SPIRAM_SIZE 0x8000u
|
||||
#endif
|
||||
|
||||
// flash storage
|
||||
#if !defined(NO_STORAGE)
|
||||
// flash storage (default is LittleFS)
|
||||
#if defined(USE_SD)
|
||||
#define SD_CS D0
|
||||
#undef USE_SPIFFS
|
||||
#undef USE_LITTLEFS
|
||||
|
||||
#elif defined(USE_SPIFFS)
|
||||
#undef USE_SD
|
||||
#undef USE_LITTLEFS
|
||||
|
||||
#elif defined(USE_LITTLEFS)
|
||||
#undef USE_SD
|
||||
#undef USE_SPIFFS
|
||||
|
||||
#elif !defined(NO_STORAGE)
|
||||
#undef USE_SD
|
||||
//#define SD_CS D0
|
||||
#undef USE_SPIFFS
|
||||
#define USE_LITTLEFS
|
||||
#endif
|
||||
|
||||
// sound
|
||||
#if !defined(NO_SOUND)
|
||||
#define PWM_SOUND D2
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user