tobozo / ESP32-PsRamFS

🐏 💾 RamDisk for ESP32-Arduino using PsRam and fs::FS
MIT License
48 stars 10 forks source link

use without PSRAM? #18

Open eadmaster opened 2 weeks ago

eadmaster commented 2 weeks ago

despite what the readme claims, by checking the code here it seems this could also works with boards without psram: https://github.com/tobozo/ESP32-PsRamFS/blob/main/src/pfs.c#L102

I've just tested the lastest rel on a M5Stack stampS3 and indeed it seems to work correctly.

tobozo commented 2 weeks ago

hi,

thanks for testing this :+1:

M5Stamp S3 has 8MB of psram, unless psram is explicitey disabled in the board options before compiling, psram will be used.

But yes, ESP32-PsRamFS can work without psram (actually the readme claims that psram is optional).

eadmaster commented 2 weeks ago

this is the line that confused me:

It provides a fs::FS style filesystem using the psram of an ESP32-Wrover or any ESP32 equipped with PSRam.