Skip to content

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

2 participants