summaryrefslogtreecommitdiffstatshomepage
path: root/py/mpconfig.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-01-07 15:20:33 +0000
committerDamien George <damien.p.george@gmail.com>2014-01-07 15:20:33 +0000
commitd3ebe4829d920542e5af462e75179e4f0cadb946 (patch)
tree98b13b97030af834ef0a18114007edc43d442acf /py/mpconfig.h
parent136f67523b10d24dd65cb25e49e07a7e4e5341a1 (diff)
downloadmicropython-d3ebe4829d920542e5af462e75179e4f0cadb946.tar.gz
micropython-d3ebe4829d920542e5af462e75179e4f0cadb946.zip
Factor and simplify Makefile's and mpconfig, part 2.
Diffstat (limited to 'py/mpconfig.h')
-rw-r--r--py/mpconfig.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h
index 8ce432a61e..2017ba366a 100644
--- a/py/mpconfig.h
+++ b/py/mpconfig.h
@@ -39,14 +39,29 @@
#define MICROPY_MEM_STATS (0)
#endif
+// Whether to build code to show byte code
+#ifndef MICROPY_SHOW_BC
+#define MICROPY_SHOW_BC (0)
+#endif
+
/*****************************************************************************/
/* Fine control over Python features */
+// Whether to include the garbage collector
+#ifndef MICROPY_ENABLE_GC
+#define MICROPY_ENABLE_GC (0)
+#endif
+
// Whether to include REPL helper function
#ifndef MICROPY_ENABLE_REPL_HELPERS
#define MICROPY_ENABLE_REPL_HELPERS (0)
#endif
+// Whether to include lexer helper function for unix
+#ifndef MICROPY_ENABLE_LEXER_UNIX
+#define MICROPY_ENABLE_LEXER_UNIX (0)
+#endif
+
// Whether to support float and complex types
#ifndef MICROPY_ENABLE_FLOAT
#define MICROPY_ENABLE_FLOAT (0)