summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-06-06 00:23:05 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-06-06 00:23:48 +0300
commit9db1c50f18c9fecbbd4288dd8f67634c3f628dc6 (patch)
treed5b7605729acaf5a29b960434ff3dd822f9d6fc6
parentcd64b3082e501f5a54cb15ab3087be91c8f90338 (diff)
downloadmicropython-9db1c50f18c9fecbbd4288dd8f67634c3f628dc6.tar.gz
micropython-9db1c50f18c9fecbbd4288dd8f67634c3f628dc6.zip
qemu-arm: Enable micropython.mem_*() functions to allow more tests.
-rw-r--r--qemu-arm/mpconfigport.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/qemu-arm/mpconfigport.h b/qemu-arm/mpconfigport.h
index 974d3520b3..ebec027e80 100644
--- a/qemu-arm/mpconfigport.h
+++ b/qemu-arm/mpconfigport.h
@@ -6,7 +6,8 @@
#define MICROPY_EMIT_X64 (0)
#define MICROPY_EMIT_THUMB (1)
#define MICROPY_EMIT_INLINE_THUMB (1)
-#define MICROPY_MEM_STATS (0)
+#define MICROPY_MALLOC_USES_ALLOCATED_SIZE (1)
+#define MICROPY_MEM_STATS (1)
#define MICROPY_DEBUG_PRINTERS (0)
#define MICROPY_ENABLE_GC (1)
#define MICROPY_STACK_CHECK (1)
@@ -34,6 +35,7 @@
#define MICROPY_PY_UHEAPQ (1)
#define MICROPY_PY_UHASHLIB (1)
#define MICROPY_PY_MACHINE (1)
+#define MICROPY_PY_MICROPYTHON_MEM_INFO (1)
#define MICROPY_USE_INTERNAL_PRINTF (0)
#define MICROPY_VFS (1)