summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-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 7f4c378901..dfb6312a88 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 752df4f49b..7d0e3258eb 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);