summaryrefslogtreecommitdiffstatshomepage
path: root/py/mpconfig.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-01-03 10:49:55 -0800
committerDamien George <damien.p.george@gmail.com>2014-01-03 10:49:55 -0800
commit91c8d8e71c7780eb17f5f73bdde89eece42e7e98 (patch)
tree4f814850702894ca8a54fa2e7a7c6027ee3302b4 /py/mpconfig.h
parent9b87b39ab47f381521377d3a9456a0a1651f4cae (diff)
parentb372bfca21ccab593359ef25a0a0c6bf697c8586 (diff)
downloadmicropython-91c8d8e71c7780eb17f5f73bdde89eece42e7e98.tar.gz
micropython-91c8d8e71c7780eb17f5f73bdde89eece42e7e98.zip
Merge pull request #41 from pfalcon/more-mem-stats
Collect more memory statistics
Diffstat (limited to 'py/mpconfig.h')
-rw-r--r--py/mpconfig.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h
new file mode 100644
index 0000000000..17c5a770c4
--- /dev/null
+++ b/py/mpconfig.h
@@ -0,0 +1,13 @@
+// This file contains default configuration settings for MicroPython.
+// You can override any of these options using mpconfigport.h file located
+// in a directory of your port.
+
+#include <mpconfigport.h>
+
+// Any options not explicitly set in mpconfigport.h will get default
+// values below.
+
+// Whether to collect memory allocation stats
+#ifndef MICROPY_MEM_STATS
+#define MICROPY_MEM_STATS (1)
+#endif