We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cdcff79 + 95b5d7a commit 56071fdCopy full SHA for 56071fd
py/moderrno.c
@@ -35,6 +35,7 @@
35
// This list can be defined per port in mpconfigport.h to tailor it to a
36
// specific port's needs. If it's not defined then we provide a default.
37
#ifndef MICROPY_PY_ERRNO_LIST
38
+// CIRCUITPY-CHANGE: add ENOSPC and EROFS, because they are in mp_common_errno_to_str().
39
#define MICROPY_PY_ERRNO_LIST \
40
X(EPERM) \
41
X(ENOENT) \
@@ -47,6 +48,8 @@
47
48
X(ENODEV) \
49
X(EISDIR) \
50
X(EINVAL) \
51
+ X(ENOSPC) \
52
+ X(EROFS) \
53
X(EOPNOTSUPP) \
54
X(EADDRINUSE) \
55
X(ECONNABORTED) \
0 commit comments