diff --git a/ports/samd/mpconfigport.h b/ports/samd/mpconfigport.h index c983d7e6d669c..ef604f980654b 100644 --- a/ports/samd/mpconfigport.h +++ b/ports/samd/mpconfigport.h @@ -61,6 +61,7 @@ #define MICROPY_SCHEDULER_STATIC_NODES (1) #define MICROPY_HW_ENABLE_USBDEV (1) #define MICROPY_HW_USB_CDC_1200BPS_TOUCH (1) +#define MICROPY_USE_INTERNAL_ERRNO (1) // Control over Python builtins #define MICROPY_PY_BUILTINS_BYTES_HEX (1)