diff options
| author | Damien George <damien.p.george@gmail.com> | 2018-02-20 18:30:22 +1100 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2018-02-20 18:30:22 +1100 |
| commit | 7e2a48858cec549879ae87384398008d82887766 (patch) | |
| tree | 6187635131a529565a1f731867b70dbe664eb241 /tests/micropython/heapalloc_bytesio.py.exp | |
| parent | 209936880df4d63730ea77cf4b6f84e5f2f56d7c (diff) | |
py/modmicropython: Allow to have stack_use() func without mem_info().
The micropython.stack_use() function is useful to query the current C stack
usage, and it's inclusion in the micropython module doesn't need to be tied
to the inclusion of mem_info()/qstr_info() because it doesn't rely on any
of the code from these functions. So this patch introduces the config
option MICROPY_PY_MICROPYTHON_STACK_USE which can be used to independently
control the inclusion of stack_use(). By default it is enabled if
MICROPY_PY_MICROPYTHON_MEM_INFO is enabled (thus not changing any of the
existing ports).
Diffstat (limited to 'tests/micropython/heapalloc_bytesio.py.exp')
0 files changed, 0 insertions, 0 deletions
