Skip to content

Comments

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

Closed
troyhacks wants to merge 5 commits intoMoonModules:mdevfrom
troyhacks:mdev
Closed

f.setBufferSize(FS_BUFSIZE); for buffered file functions#218
troyhacks wants to merge 5 commits intoMoonModules:mdevfrom
troyhacks:mdev

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.

2 participants