Skip to content
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

Closed
maceip opened this issue Jul 1, 2021 · 12 comments
Closed

[enhancement] sdcard mount? #34

maceip opened this issue Jul 1, 2021 · 12 comments

Comments

@maceip
Copy link

maceip commented Jul 1, 2021

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...

@maceip maceip changed the title sdcard mount? [enhancement] sdcard mount? Jul 1, 2021
@Rajssss
Copy link

Rajssss commented Mar 2, 2022

@maceip any ups on this?

@muratdemirtas
Copy link

any news?

@BrianPugh
Copy link
Member

There's PR #25 that apparently supports SD cards, but I haven't had the time to review such an extensive PR.

@vbenso
Copy link

vbenso commented Mar 11, 2023

Hi @BrianPugh ,
Any news on this? Any luck with the mentioned PR?

@BrianPugh
Copy link
Member

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.

@redengin
Copy link

redengin commented Jul 23, 2023

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:
I'm no longer happy to refactor this as the implementation is full of unnecessary locking (and other naive mistakes), instead I'll just make an alternative.

@BrianPugh
Copy link
Member

@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)".

@redengin
Copy link

redengin commented Jul 25, 2023 via email

@redengin
Copy link

redengin commented Jul 26, 2023 via email

@BrianPugh
Copy link
Member

I'm confused about what you are talking about, are you talking about mklittlefs, the external project that this uses to create premade littlefs images to flash to device? This github issue topic is for SD card support.

@huming2207
Copy link
Collaborator

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.

@BrianPugh
Copy link
Member

@huming2207 has added SD card support with v1.13.0, so I'll close this issue for now. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants