aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George2014-04-13 13:19:28 +0100
committerDamien George2014-04-13 13:19:28 +0100
commit674f9887ce54b0627758f2a84c52e8aab0d7f2db (patch)
tree462434ac09f9129b92576dbd2950388c8c0ab171
parentcb861a5c6a9fcf240955e6fe4f5d2b658c7bc8ef (diff)
bare-arm/unix-cpy: Minor changes.
-rw-r--r--bare-arm/mpconfigport.h4
-rw-r--r--unix-cpy/mpconfigport.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/bare-arm/mpconfigport.h b/bare-arm/mpconfigport.h
index 7f4c37890..dfb6312a8 100644
--- a/bare-arm/mpconfigport.h
+++ b/bare-arm/mpconfigport.h
@@ -11,6 +11,10 @@
#define MICROPY_ENABLE_REPL_HELPERS (0)
#define MICROPY_ENABLE_LEXER_UNIX (0)
#define MICROPY_ENABLE_SOURCE_LINE (0)
+#define MICROPY_ENABLE_MOD_IO (0)
+#define MICROPY_ENABLE_MOD_STRUCT (0)
+#define MICROPY_ENABLE_MOD_SYS (0)
+#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)
diff --git a/unix-cpy/mpconfigport.h b/unix-cpy/mpconfigport.h
index 752df4f49..7d0e3258e 100644
--- a/unix-cpy/mpconfigport.h
+++ b/unix-cpy/mpconfigport.h
@@ -22,5 +22,3 @@ typedef unsigned int machine_uint_t; // must be pointer size
typedef void *machine_ptr_t; // must be of pointer size
typedef const void *machine_const_ptr_t; // must be of pointer size
typedef double machine_float_t;
-
-machine_float_t machine_sqrt(machine_float_t x);