summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrobert-hh <robert@hammelrath.com>2023-09-07 15:59:34 +0200
committerDamien George <damien@micropython.org>2023-11-06 11:09:16 +1100
commit2c1f23820572e36a1d12597dff3261242fd6573c (patch)
tree57aa73c13e9f88a19b42157be2eb04b83a3506a2
parent6866d17d8f414140fd79be526c46ef236a29be06 (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.h1
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)