Skip to content

SD.open() new feature for creating all folders in path #5721

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

Merged
merged 3 commits into from
Oct 1, 2021
Merged

SD.open() new feature for creating all folders in path #5721

merged 3 commits into from
Oct 1, 2021

Conversation

P-R-O-C-H-Y
Copy link
Member

Summary

This PR adds to the SD.open() function option to create all folders to the file.

SD.open(const char* path, const char* mode, const bool create)

Default value of create is false.
When true folders are created.

From issue #5019

Impact

Should not have any impact.

This PR adds to the SD.open() function option to create all folders to the file.

SD.open(const char* path, const char* mode, const bool create)

Default value of create is false.
When true folders are created.

From issue #5019
@CLAassistant
Copy link

CLAassistant commented Sep 29, 2021

CLA assistant check
All committers have signed the CLA.

@VojtechBartoska VojtechBartoska linked an issue Sep 29, 2021 that may be closed by this pull request
memccpy -> memcpy
added false for create
@me-no-dev me-no-dev merged commit f2a20e8 into espressif:master Oct 1, 2021
@P-R-O-C-H-Y P-R-O-C-H-Y self-assigned this Oct 4, 2021
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

Successfully merging this pull request may close these issues.

SD open(): behavior on missing path on write
3 participants