diff options
author | Damien George <damien.p.george@gmail.com> | 2014-05-21 20:32:59 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-05-21 20:32:59 +0100 |
commit | 58ebde46646dd49d22b2accfa9c7a78e15921e48 (patch) | |
tree | bdb130a761309e138cd9d3ff60f4639c897a8808 /qemu-arm | |
parent | aa7cf6f72f4e8a553f892629bb3338ab8c982d57 (diff) | |
download | micropython-58ebde46646dd49d22b2accfa9c7a78e15921e48.tar.gz micropython-58ebde46646dd49d22b2accfa9c7a78e15921e48.zip |
Tidy up some configuration options.
MP_ALLOC_* -> MICROPY_ALLOC_*
MICROPY_PATH_MAX -> MICROPY_ALLOC_PATH_MAX
MICROPY_ENABLE_REPL_HELPERS -> MICROPY_HELPER_REPL
MICROPY_ENABLE_LEXER_UNIX -> MICROPY_HELPER_LEXER_UNIX
MICROPY_EXTRA_* -> MICROPY_PORT_*
See issue #35.
Diffstat (limited to 'qemu-arm')
-rw-r--r-- | qemu-arm/mpconfigport.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/qemu-arm/mpconfigport.h b/qemu-arm/mpconfigport.h index 76663ccabe..f760a47639 100644 --- a/qemu-arm/mpconfigport.h +++ b/qemu-arm/mpconfigport.h @@ -2,18 +2,18 @@ // options to control how Micro Python is built +#define MICROPY_ALLOC_PATH_MAX (512) #define MICROPY_EMIT_X64 (0) #define MICROPY_EMIT_THUMB (0) #define MICROPY_EMIT_INLINE_THUMB (0) #define MICROPY_MEM_STATS (0) #define MICROPY_DEBUG_PRINTERS (0) #define MICROPY_ENABLE_GC (0) -#define MICROPY_ENABLE_REPL_HELPERS (0) -#define MICROPY_ENABLE_LEXER_UNIX (0) +#define MICROPY_HELPER_REPL (0) +#define MICROPY_HELPER_LEXER_UNIX (0) #define MICROPY_ENABLE_SOURCE_LINE (0) #define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_NONE) #define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_NONE) -#define MICROPY_PATH_MAX (512) #define MICROPY_ENABLE_MOD_IO (0) // type definitions for the specific machine @@ -30,6 +30,6 @@ typedef const void *machine_const_ptr_t; // must be of pointer size // extra built in names to add to the global namespace extern const struct _mp_obj_fun_native_t mp_builtin_open_obj; -#define MICROPY_EXTRA_BUILTINS \ +#define MICROPY_PORT_BUILTINS \ { MP_OBJ_NEW_QSTR(MP_QSTR_open), (mp_obj_t)&mp_builtin_open_obj }, |