From 674f9887ce54b0627758f2a84c52e8aab0d7f2db Mon Sep 17 00:00:00 2001 From: Damien George Date: Sun, 13 Apr 2014 13:19:28 +0100 Subject: [PATCH] bare-arm/unix-cpy: Minor changes. --- bare-arm/mpconfigport.h | 4 ++++ unix-cpy/mpconfigport.h | 2 -- 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);