esp8266 + SpiRAM

This commit is contained in:
Stephen Crane 2021-02-15 21:00:20 +00:00
parent d5945fa104
commit 68fb0f7d3f
1 changed files with 2 additions and 0 deletions

View File

@ -31,7 +31,9 @@ bool hardware_reset() {
#if defined(USE_SPIRAM)
extern SPIClass SPIRAM_DEV;
SPIRAM_DEV.begin();
#if defined(SPIRAM_SPI)
SPIRAM_DEV.setModule(SPIRAM_SPI);
#endif
SPIRAM_DEV.setClockDivider(1);
SPIRAM_DEV.setDataMode(SPI_MODE0);
#endif