diff options
| author | robert-hh <robert@hammelrath.com> | 2023-09-07 15:59:34 +0200 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2023-11-06 11:09:16 +1100 |
| commit | 2c1f23820572e36a1d12597dff3261242fd6573c (patch) | |
| tree | 57aa73c13e9f88a19b42157be2eb04b83a3506a2 | |
| parent | 6866d17d8f414140fd79be526c46ef236a29be06 (diff) | |
samd/mpconfigport: Set MICROPY_USE_INTERNAL_ERRNO to 1.
Without this, error codes can be misleading.
Signed-off-by: robert-hh <robert@hammelrath.com>
| -rw-r--r-- | ports/samd/mpconfigport.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/samd/mpconfigport.h b/ports/samd/mpconfigport.h index 801408ed4..91a7c1a10 100644 --- a/ports/samd/mpconfigport.h +++ b/ports/samd/mpconfigport.h @@ -56,6 +56,7 @@ #define MICROPY_PY_BUILTINS_HELP (1) #define MICROPY_PY_BUILTINS_HELP_TEXT samd_help_text #define MICROPY_PY_BUILTINS_HELP_MODULES (1) +#define MICROPY_USE_INTERNAL_ERRNO (1) #define MICROPY_ENABLE_SCHEDULER (1) #define MICROPY_SCHEDULER_STATIC_NODES (1) #define MICROPY_HW_ENABLE_USBDEV (1) |
