From 82fabf4e527a68df3323653688541b7beda1af46 Mon Sep 17 00:00:00 2001 From: danicampora Date: Fri, 20 Feb 2015 17:12:39 +0100 Subject: [PATCH] cc3200: Disable MICROPY_PY_SYS_EXIT and MICROPY_EMIT_INLINE_THUMB. Disabling MICROPY_EMIT_INLINE_THUMB gives us back around 6K of precious RAM. --- cc3200/mpconfigport.h | 4 ++-- 1 file 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)