File tree Expand file tree Collapse file tree 1 file changed +13
-12
lines changed Expand file tree Collapse file tree 1 file changed +13
-12
lines changed Original file line number Diff line number Diff line change @@ -163,6 +163,18 @@ typedef long mp_off_t;
163
163
#define MICROPY_PY_IO (0)
164
164
#define MICROPY_PY_REVERSE_SPECIAL_METHODS (0)
165
165
#define MICROPY_PY_SYS_EXC_INFO (0)
166
+ #define MICROPY_PY_UERRNO_LIST \
167
+ X(EPERM) \
168
+ X(ENOENT) \
169
+ X(EIO) \
170
+ X(EAGAIN) \
171
+ X(ENOMEM) \
172
+ X(EACCES) \
173
+ X(EEXIST) \
174
+ X(ENODEV) \
175
+ X(EISDIR) \
176
+ X(EINVAL) \
177
+
166
178
#endif
167
179
168
180
#ifdef SAMD51
@@ -179,6 +191,7 @@ typedef long mp_off_t;
179
191
#define MICROPY_PY_IO (1)
180
192
#define MICROPY_PY_REVERSE_SPECIAL_METHODS (1)
181
193
#define MICROPY_PY_SYS_EXC_INFO (1)
194
+ // MICROPY_PY_UERRNO_LIST - Use the default
182
195
#endif
183
196
184
197
#ifdef LONGINT_IMPL_NONE
@@ -396,18 +409,6 @@ extern const struct _mp_obj_module_t wiznet_module;
396
409
{ MP_OBJ_NEW_QSTR(MP_QSTR_uheap),(mp_obj_t)&uheap_module }, \
397
410
{ MP_OBJ_NEW_QSTR(MP_QSTR_ustack),(mp_obj_t)&ustack_module }
398
411
399
- #define MICROPY_PY_UERRNO_LIST \
400
- X(EPERM) \
401
- X(ENOENT) \
402
- X(EIO) \
403
- X(EAGAIN) \
404
- X(ENOMEM) \
405
- X(EACCES) \
406
- X(EEXIST) \
407
- X(ENODEV) \
408
- X(EISDIR) \
409
- X(EINVAL) \
410
-
411
412
// We need to provide a declaration/definition of alloca()
412
413
#include <alloca.h>
413
414
You can’t perform that action at this time.
0 commit comments