From 9db1c50f18c9fecbbd4288dd8f67634c3f628dc6 Mon Sep 17 00:00:00 2001
From: Paul Sokolovsky <pfalcon@users.sourceforge.net>
Date: Tue, 6 Jun 2017 00:23:05 +0300
Subject: [PATCH] qemu-arm: Enable micropython.mem_*() functions to allow more
 tests.

---
 qemu-arm/mpconfigport.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/qemu-arm/mpconfigport.h b/qemu-arm/mpconfigport.h
index 974d3520b..ebec027e8 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)
 
-- 
GitLab