aboutsummaryrefslogtreecommitdiff
path: root/bare-arm
diff options
context:
space:
mode:
authorDamien George2014-05-21 20:32:59 +0100
committerDamien George2014-05-21 20:32:59 +0100
commit58ebde46646dd49d22b2accfa9c7a78e15921e48 (patch)
treebdb130a761309e138cd9d3ff60f4639c897a8808 /bare-arm
parentaa7cf6f72f4e8a553f892629bb3338ab8c982d57 (diff)
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 'bare-arm')
-rw-r--r--bare-arm/mpconfigport.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/bare-arm/mpconfigport.h b/bare-arm/mpconfigport.h
index 4b54fa411..54e1171fd 100644
--- a/bare-arm/mpconfigport.h
+++ b/bare-arm/mpconfigport.h
@@ -2,14 +2,15 @@
// 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_ENABLE_MOD_COLLECTIONS (0)
#define MICROPY_ENABLE_MOD_MATH (0)
@@ -21,7 +22,6 @@
#define MICROPY_CPYTHON_COMPAT (0)
#define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_NONE)
#define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_NONE)
-#define MICROPY_PATH_MAX (512)
// type definitions for the specific machine
@@ -37,6 +37,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 },