From 58ebde46646dd49d22b2accfa9c7a78e15921e48 Mon Sep 17 00:00:00 2001 From: Damien George Date: Wed, 21 May 2014 20:32:59 +0100 Subject: 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. --- qemu-arm/mpconfigport.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'qemu-arm') diff --git a/qemu-arm/mpconfigport.h b/qemu-arm/mpconfigport.h index 76663ccab..f760a4763 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 }, -- cgit v1.2.3