The default firmware for the ESP32 is setup to use an FAT files system on the last 1 Mb of the flash memory. To use and SPI SD card, you would need to do a custom build of the firmware, and turn of the FlashFS option. You can use SPI for other devices with the stock firmware
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
The default firmware for the ESP32 is setup to use an FAT files system on the last 1 Mb of the flash memory. To use and SPI SD card, you would need to do a custom build of the firmware, and turn of the FlashFS option. You can use SPI for other devices with the stock firmware
https://github.com/espruino/Espruino/blob/master/boards/ESP32.py#L35
Would need to be changed to:
and the firmware rebuilt. Then an external SD card could be used.