From d3ebe4829d920542e5af462e75179e4f0cadb946 Mon Sep 17 00:00:00 2001 From: Damien George Date: Tue, 7 Jan 2014 15:20:33 +0000 Subject: Factor and simplify Makefile's and mpconfig, part 2. --- py/mpconfig.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'py/mpconfig.h') diff --git a/py/mpconfig.h b/py/mpconfig.h index 8ce432a61..2017ba366 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) -- cgit v1.2.3