From 844c20106bee7639f5fa83535806932bae354a71 Mon Sep 17 00:00:00 2001 From: Scott Shawcroft Date: Mon, 4 Feb 2019 18:00:18 -0800 Subject: [PATCH] Turn off `micropython.mem_info` on SAMD to get ~1k back --- ports/atmel-samd/mpconfigport.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ports/atmel-samd/mpconfigport.h b/ports/atmel-samd/mpconfigport.h index 137091b6de..080b7ff69f 100644 --- a/ports/atmel-samd/mpconfigport.h +++ b/ports/atmel-samd/mpconfigport.h @@ -54,6 +54,7 @@ #define MICROPY_PY_DESCRIPTORS (1) #define MICROPY_PY_MATH (0) #define MICROPY_PY_CMATH (0) +#define MICROPY_PY_MICROPYTHON_MEM_INFO (0) #define MICROPY_PY_URANDOM (0) #define MICROPY_PY_URANDOM_EXTRA_FUNCS (0) #define MICROPY_PY_STRUCT (0) @@ -256,7 +257,6 @@ extern const struct _mp_obj_module_t pixelbuf_module; #define MICROPY_PY_UERRNO (1) #define MICROPY_PY_UERRNO_ERRORCODE (0) #define MICROPY_PY_URE (1) - #define MICROPY_PY_MICROPYTHON_MEM_INFO (1) #ifndef MICROPY_PY_FRAMEBUF #define MICROPY_PY_FRAMEBUF (0) #endif @@ -342,7 +342,6 @@ extern const struct _mp_obj_module_t pixelbuf_module; #else #define MICROPY_PY_BUILTINS_REVERSED (0) - #define MICROPY_PY_MICROPYTHON_MEM_INFO (0) #define MICROPY_PY_FRAMEBUF (0) #ifndef EXTRA_BUILTIN_MODULES #define EXTRA_BUILTIN_MODULES