summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanicampora <danicampora@gmail.com>2015-02-20 17:12:39 +0100
committerdanicampora <danicampora@gmail.com>2015-02-20 17:12:39 +0100
commit82fabf4e527a68df3323653688541b7beda1af46 (patch)
tree4621693f40fb8e4252e9b6b9021f132ffc3503c9
parent6b21c3fdd6aaee3266b1ac69017e6c1ffaa2c99b (diff)
cc3200: Disable MICROPY_PY_SYS_EXIT and MICROPY_EMIT_INLINE_THUMB.
Disabling MICROPY_EMIT_INLINE_THUMB gives us back around 6K of precious RAM.
-rw-r--r--cc3200/mpconfigport.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cc3200/mpconfigport.h b/cc3200/mpconfigport.h
index b3309d10d..b96526077 100644
--- a/cc3200/mpconfigport.h
+++ b/cc3200/mpconfigport.h
@@ -34,7 +34,7 @@
#define MICROPY_ALLOC_PATH_MAX (128)
#define MICROPY_EMIT_THUMB (0)
-#define MICROPY_EMIT_INLINE_THUMB (1)
+#define MICROPY_EMIT_INLINE_THUMB (0)
#define MICROPY_COMP_MODULE_CONST (1)
#define MICROPY_ENABLE_GC (1)
#define MICROPY_ENABLE_FINALISER (1)
@@ -64,7 +64,7 @@
#define MICROPY_PY_BUILTINS_FROZENSET (1)
#define MICROPY_PY_BUILTINS_EXECFILE (1)
#define MICROPY_PY_MICROPYTHON_MEM_INFO (0)
-#define MICROPY_PY_SYS_EXIT (1)
+#define MICROPY_PY_SYS_EXIT (0)
#define MICROPY_PY_SYS_STDFILES (1)
#define MICROPY_PY_CMATH (0)
#define MICROPY_PY_IO (1)