Browse Source

samd/mpconfigport: Set MICROPY_USE_INTERNAL_ERRNO to 1.

Without this, error codes can be misleading.

Signed-off-by: robert-hh <robert@hammelrath.com>
pull/12886/head
robert-hh 1 year ago
committed by Damien George
parent
commit
2c1f238205
  1. 1
      ports/samd/mpconfigport.h

1
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)

Loading…
Cancel
Save