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

f.setBufferSize(FS_BUFSIZE); for buffered file functions #218

Closed
wants to merge 5 commits into from

Conversation

troyhacks
Copy link
Collaborator

Fixes some buffered file operations which were throwing a non-fatal error like this:

heap_caps_malloc_default failed to allocate 1073421768 bytes with Default capabilities

Numbers differed, but some undefined value was being tried without f.setBufferSize(FS_BUFSIZE) being set.

@troyhacks
Copy link
Collaborator Author

Ok, f.setBufferSize() must have been added in IDF v4.

@troyhacks
Copy link
Collaborator Author

Too many fixes in one PR by mistake. Closing, will open different ones.

@troyhacks troyhacks closed this Jan 29, 2025
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.

1 participant