Skip to content

make max_files in SD_MMC accessible by begin function #6911

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

Closed
1 task done
Jilbers opened this issue Jun 25, 2022 · 1 comment
Closed
1 task done

make max_files in SD_MMC accessible by begin function #6911

Jilbers opened this issue Jun 25, 2022 · 1 comment
Labels
Type: Feature request Feature request for Arduino ESP32

Comments

@Jilbers
Copy link

Jilbers commented Jun 25, 2022

Related area

SD_MMC

Hardware specification

ESP32

Is your feature request related to a problem?

I must have more than 5 files open at the same time but the SD_MMC library doesn't allow this.
Instead max_files is set with a magic number.
It took me some time to find it. I didn't find any documentation about this limitation.

Describe the solution you'd like

When using the begin function a parameter where max_files can be set would be nice.

Describe alternatives you've considered

At the moment I call
esp_vfs_fat_sdmmc_mount("/sdcard", &host, &slot_config, &mount_config, NULL);
before begin with the same parameters as in the begin function but with max_files set to a higher number.

Additional context

No response

I have checked existing list of Feature requests and the Contribution Guide

  • I confirm I have checked existing list of Feature requests and Contribution Guide.
@Jilbers Jilbers added the Type: Feature request Feature request for Arduino ESP32 label Jun 25, 2022
@me-no-dev
Copy link
Member

Fixed by @lbernstone in the PR above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature request Feature request for Arduino ESP32
Projects
None yet
Development

No branches or pull requests

2 participants