8000 Fix file creation on SD and SDFS by earlephilhower · Pull Request #216 · earlephilhower/arduino-pico · GitHub
[go: up one dir, main page]

Skip to content

Fix file creation on SD and SDFS #216

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 1 commit into from
Jun 19, 2021
Merged

Fix file creation on SD and SDFS #216

merged 1 commit into from
Jun 19, 2021

Conversation

earlephilhower
Copy link
Owner

The O_CREAT/etc. flags on the Pico are a full 32-bits in size, but the
core was generating a flag for SdFat using an 8-bit type, so all the
O_CREAT, O_TRUNC, O_APPEND, etc. flags got cut off.

Fix the flag size.

Fixes #214

The O_CREAT/etc. flags on the Pico are a full 32-bits in size, but the
core was generating a flag for SdFat using an 8-bit type, so all the
O_CREAT, O_TRUNC, O_APPEND, etc. flags got cut off.

Fix the flag size.

Fixes #214
@earlephilhower earlephilhower merged commit 35c974d into master Jun 19, 2021
@earlephilhower earlephilhower deleted the sdfsfix branch June 19, 2021 19:15
schkovich pushed a commit to schkovich/arduino-pico that referenced this pull request May 24, 2025
schkovich pushed a commit to schkovich/arduino-pico that referenced this pull request May 24, 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.

SD card FILE_WRITE issue
1 participant
0