-
-
Notifications
You must be signed in to change notification settings - Fork 99
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
[enhancement] sdcard mount? #34
Comments
@maceip any ups on this? |
any news? |
There's PR #25 that apparently supports SD cards, but I haven't had the time to review such an extensive PR. |
Hi @BrianPugh , |
I haven't really had any time to devote to adding new features to this project. I'm open to simple PRs, but I don't have resources to tackle something like SD card support. #25 may work for you, but I haven't personally played around with it. |
The current implementation is unnecessarily coupled to ESP32 flash where the ESP32 vfs provides full abstraction of the storage media. I'm happy to refactoring this code toward ESP32 a fully abstract usage of vfs. EDIT: |
@redengin can you please elaborate with examples? It's a bit hurtful, rude, and unhelpful to simply state "the implementation is full of unnecessary locking (and other naive mistakes)". |
I apologize for what I said. You've done a lot of valuable work.
I've now switched to FAT for my needs as they better support the user-usage.
If I have time, I'll fork and comment on some ways that the code-base can
be improved.
…On Sun, Jul 23, 2023 at 12:13 PM Brian Pugh ***@***.***> wrote:
@redengin <https://github.com/redengin> can you please elaborate with
examples? It's a bit hurtful, rude, and unhelpful to simply state "the
implementation is full of unnecessary locking (and other naive mistakes)".
—
Reply to this email directly, view it on GitHub
<#34 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA7QFBEGDZ3SJMUITOSIBC3XRVESFANCNFSM47TTARJQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I apologize for hurtful comments, they don't motivate progress - I'm
unnecessarily angry at the state of open source.
When I found your project I was looking for a littlefs implementation on
ESP-IDF.
I've done a lot of littelfs plumbing (gnu libc, newlib, musl). My two
cents, is that you should better understand the ESP vfs,
to plumb - rather than the specialization of spiff. The ESP-IDF
specializations for initializing spiff partitions (from a
local folder) are poorly designed and largely unnecessary (there are easier
ways to format and create a flash file).
…On Sun, Jul 23, 2023 at 12:13 PM Brian Pugh ***@***.***> wrote:
@redengin <https://github.com/redengin> can you please elaborate with
examples? It's a bit hurtful, rude, and unhelpful to simply state "the
implementation is full of unnecessary locking (and other naive mistakes)".
—
Reply to this email directly, view it on GitHub
<#34 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA7QFBEGDZ3SJMUITOSIBC3XRVESFANCNFSM47TTARJQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I'm confused about what you are talking about, are you talking about |
I will give it a try and add the support for SD card. I will see if I can draft a PR today or tomorrow. |
@huming2207 has added SD card support with v1.13.0, so I'll close this issue for now. Thank you! |
is it possible to mount an sdcard with something like esp_vfs_littlefs_sdmmc_mount()?
I attempted to hook this all up but from what I can tell esp_littlefs uses the partition table and I'm not sure how to get my sdcard to show up there...
The text was updated successfully, but these errors were encountered: