-
-
Notifications
You must be signed in to change notification settings - Fork 748
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add SDCard support for ESP32 #1780
Conversation
by removing FLASHFS
added pr #1779 |
FlashFS was there for a reason (to provide easy access to on-chip flash). I'm not sure it should just be removed? @wilberforce was the one that added it AFAIK. |
Just checked, ESP32 is the one and only that is using FlashFS.
Can you please lookup the download stat for ESP32. Personally I am a big fan of the Storage lib and try to avoid SDCards where ever it is possible. There are only very little section added as flash 8k and 64k Espruino/targets/esp32/jshardware.c Lines 733 to 742 in e568c6c
Ups 0x2B0000 has to be changed to 0x310000 |
just added #1781 |
I don't understand why removing this is an improvement to the ESP32 implementation. All chips have 4MB or more of memory, and 1Mb had been reserved at work as FlashFS. Why would you remove this to use an external SD card that only some of the boards have? Worst case - make it switchable to use either - I just don't see what the benefit is here? |
Thanks for your input. Will check if both can be used. |
Another option is now |
Using both at the same time cause a undefined reference to
|
Not sure how to continue. Fact : Adding FLASHFS has broken SDCard function. Suggestion: Remove FLASHFS for now and bring it back when someone has fixed the linker issue. OR: Close this and remove SDCard support form ESP32 docs. |
Any hints how to handle the conflict named above? |
I guess I feel a little like given how much flash there is available, having the filesystem built in is probably more useful than SD card support? I haven't seen too many ESPxx boards with SD cards on? Maybe just the ESP32CAM ones? I think probably just update the docs to say it's not supported? I don't think you can easily have them coexist since FlashFS uses a 4k block size but SD cards will only want 512 |
So let's close this. |
by removing FLASHFS