File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -290,6 +290,30 @@ extern const struct _mp_obj_module_t usb_hid_module;
290
290
{ MP_OBJ_NEW_QSTR(MP_QSTR_uheap),(mp_obj_t)&uheap_module }, \
291
291
{ MP_OBJ_NEW_QSTR(MP_QSTR_ustack),(mp_obj_t)&ustack_module }
292
292
293
+ #define MICROPY_PY_UERRNO_LIST \
294
+ X(EPERM) \
295
+ X(ENOENT) \
296
+ X(EIO) \
297
+ X(EBADF) \
298
+ X(EAGAIN) \
299
+ X(ENOMEM) \
300
+ X(EACCES) \
301
+ X(EEXIST) \
302
+ X(ENODEV) \
303
+ X(EISDIR) \
304
+ X(EINVAL) \
305
+ X(EOPNOTSUPP) \
306
+ X(EADDRINUSE) \
307
+ X(ECONNABORTED) \
308
+ X(ECONNRESET) \
309
+ X(ENOBUFS) \
310
+ X(ENOTCONN) \
311
+ X(ETIMEDOUT) \
312
+ X(ECONNREFUSED) \
313
+ X(EHOSTUNREACH) \
314
+ X(EALREADY) \
315
+ X(EINPROGRESS) \
316
+
293
317
// We need to provide a declaration/definition of alloca()
294
318
#include <alloca.h>
295
319
You can’t perform that action at this time.
0 commit comments