diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-01-03 03:06:25 +0200 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-01-03 18:55:24 +0200 |
commit | ef18102b9ec9634653fd4a8286990e9e21ce2ae0 (patch) | |
tree | a007649e7168dc63700d7e5b58f12f289c7bc417 /py/defaultconfig.h | |
parent | 780f555b2e36b0d468209e0ad741e8261faf63e5 (diff) | |
download | micropython-ef18102b9ec9634653fd4a8286990e9e21ce2ae0.tar.gz micropython-ef18102b9ec9634653fd4a8286990e9e21ce2ae0.zip |
Make it possible to turn off collecting memory stats (MICROPY_MEM_STATS).
Diffstat (limited to 'py/defaultconfig.h')
-rw-r--r-- | py/defaultconfig.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/py/defaultconfig.h b/py/defaultconfig.h new file mode 100644 index 0000000000..9829bf707d --- /dev/null +++ b/py/defaultconfig.h @@ -0,0 +1,7 @@ +// This file contains default configuration settings for MicroPython. +// You can override any of these options in mpconfig.h for your port. + +// Whether to collect memory allocation stats +#ifndef MICROPY_MEM_STATS +#define MICROPY_MEM_STATS (1) +#endif |