diff options
| author | Damien George <damien.p.george@gmail.com> | 2015-01-09 20:12:54 +0000 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2015-01-09 20:12:54 +0000 |
| commit | 89deec0bab0c6d960e75fcda1c9cc767b8a49661 (patch) | |
| tree | 9feabca102666f86b614d924eafe0bd272165efe /unix | |
| parent | 4a5895c4eba98f9c5e698d48f58cbf3682ed0db1 (diff) | |
py: Add MICROPY_PY_MICROPYTHON_MEM_INFO to enable mem-info funcs.
This allows to enable mem-info functions in micropython module, even if
MICROPY_MEM_STATS is not enabled. In this case, you get mem_info and
qstr_info but not mem_{total,current,peak}.
Diffstat (limited to 'unix')
| -rw-r--r-- | unix/mpconfigport.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/unix/mpconfigport.h b/unix/mpconfigport.h index 463907eb8..a874503a1 100644 --- a/unix/mpconfigport.h +++ b/unix/mpconfigport.h @@ -57,6 +57,7 @@ #define MICROPY_PY_BUILTINS_MEMORYVIEW (1) #define MICROPY_PY_BUILTINS_FROZENSET (1) #define MICROPY_PY_BUILTINS_COMPILE (1) +#define MICROPY_PY_MICROPYTHON_MEM_INFO (1) #define MICROPY_PY_SYS_EXIT (1) #define MICROPY_PY_SYS_PLATFORM "linux" #define MICROPY_PY_SYS_MAXSIZE (1) |
