diff options
author | danicampora <danicampora@gmail.com> | 2015-02-21 10:49:34 +0100 |
---|---|---|
committer | danicampora <danicampora@gmail.com> | 2015-02-21 14:19:32 +0100 |
commit | a6862fc812c86374ae817a919095f4d80214e932 (patch) | |
tree | 42cf09ab40f46e3301e801bdb7a93d9069d1ca45 | |
parent | 4e3906d6b5d40a1c36a5b12bc27da7db4202bf63 (diff) | |
download | micropython-a6862fc812c86374ae817a919095f4d80214e932.tar.gz micropython-a6862fc812c86374ae817a919095f4d80214e932.zip |
cc3200: Disable MICROPY_OPT_COMPUTED_GOTO.
Saves around 1.3K. At the same time re-enable MICROPY_PY_SYS_EXIT
since it doesn't take much space and might be useful for certain
scripts.
-rw-r--r-- | cc3200/mpconfigport.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cc3200/mpconfigport.h b/cc3200/mpconfigport.h index b965260779..c3418707cf 100644 --- a/cc3200/mpconfigport.h +++ b/cc3200/mpconfigport.h @@ -45,7 +45,7 @@ #define MICROPY_ERROR_REPORTING (MICROPY_ERROR_REPORTING_TERSE) #define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_MPZ) #define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_NONE) -#define MICROPY_OPT_COMPUTED_GOTO (1) +#define MICROPY_OPT_COMPUTED_GOTO (0) #define MICROPY_OPT_CACHE_MAP_LOOKUP_IN_BYTECODE (0) /* Enable FatFS LFNs @@ -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 (0) +#define MICROPY_PY_SYS_EXIT (1) #define MICROPY_PY_SYS_STDFILES (1) #define MICROPY_PY_CMATH (0) #define MICROPY_PY_IO (1) |