aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--stmhal/mpconfigport.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/stmhal/mpconfigport.h b/stmhal/mpconfigport.h
index 567e131d5..96a330d13 100644
--- a/stmhal/mpconfigport.h
+++ b/stmhal/mpconfigport.h
@@ -109,7 +109,9 @@
#define MICROPY_PY_SYS_PLATFORM "pyboard"
#endif
#define MICROPY_PY_UERRNO (1)
+#ifndef MICROPY_PY_THREAD
#define MICROPY_PY_THREAD (0)
+#endif
// extended modules
#define MICROPY_PY_UCTYPES (1)