diff options
| author | Damien George | 2017-06-28 15:45:04 +1000 |
|---|---|---|
| committer | Damien George | 2017-06-28 15:45:04 +1000 |
| commit | 346f5d4cce8c536a881646be0ba55fe853ecb259 (patch) | |
| tree | 0a376f5b4314ea1b96171c8a7929f5d75bf0c04a | |
| parent | 05a08506ae38453af7f41752b1f7e245a7badacb (diff) | |
stmhal/mpconfigport.h: Allow MICROPY_PY_THREAD to be overridden.
| -rw-r--r-- | stmhal/mpconfigport.h | 2 |
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) |
