aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George2017-06-28 15:45:04 +1000
committerDamien George2017-06-28 15:45:04 +1000
commit346f5d4cce8c536a881646be0ba55fe853ecb259 (patch)
tree0a376f5b4314ea1b96171c8a7929f5d75bf0c04a
parent05a08506ae38453af7f41752b1f7e245a7badacb (diff)
stmhal/mpconfigport.h: Allow MICROPY_PY_THREAD to be overridden.
-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)