summaryrefslogtreecommitdiffstatshomepage
path: root/minimal/mpconfigport.h
diff options
context:
space:
mode:
Diffstat (limited to 'minimal/mpconfigport.h')
-rw-r--r--minimal/mpconfigport.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/minimal/mpconfigport.h b/minimal/mpconfigport.h
index f24b514262..e055f3c801 100644
--- a/minimal/mpconfigport.h
+++ b/minimal/mpconfigport.h
@@ -83,6 +83,11 @@ extern const struct _mp_obj_fun_builtin_t mp_builtin_open_obj;
#define MICROPY_MIN_USE_STDOUT (1)
#endif
+#ifdef __thumb__
+#define MICROPY_MIN_USE_CORTEX_CPU (1)
+#define MICROPY_MIN_USE_STM32_MCU (1)
+#endif
+
#define MP_STATE_PORT MP_STATE_VM
#define MICROPY_PORT_ROOT_POINTERS \