Skip to content

Conversation

@dhalbert
Copy link
Collaborator

@dhalbert dhalbert commented Oct 18, 2024

Motivated by https://forums.adafruit.com/viewtopic.php?t=214213. Fixes #9733

errno.EROFS and errno.NOSPC didn't exist, but they get nicer error messages already in mp_common_errno_to_str(). Add them. A user wanted to check for errno.EROFS and was surprised it was not available. errno.EROFS is common, given that CIRCUITPY is read-only when connected to USB.

These have not been added to the smallest builds, for space reasons.

Copy link

@jepler jepler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, makes sense.

@jepler jepler merged commit 56071fd into adafruit:main Oct 21, 2024
562 checks passed
@jepler jepler deleted the errno-additions branch October 21, 2024 16:31
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.

errno.EROFS isn't available but its error string is

2 participants