diff options
author | Damien George <damien.p.george@gmail.com> | 2014-04-26 10:31:15 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-04-26 10:31:15 +0100 |
commit | 107c9fb235150d4f18309fb3ca61411e045ae669 (patch) | |
tree | 413db9d2c8695d1ae768c9ce480713904955aef5 /py/mpconfig.h | |
parent | 1463c1fa82e930edfef9df9b70c6b8c12cdcb1c1 (diff) | |
download | micropython-107c9fb235150d4f18309fb3ca61411e045ae669.tar.gz micropython-107c9fb235150d4f18309fb3ca61411e045ae669.zip |
py: Make collections module configurable, enabled by default.
Diffstat (limited to 'py/mpconfig.h')
-rw-r--r-- | py/mpconfig.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h index b669128ea0..13918e8398 100644 --- a/py/mpconfig.h +++ b/py/mpconfig.h @@ -115,6 +115,11 @@ typedef double mp_float_t; #define MICROPY_ENABLE_FLOAT (0) #endif +// Whether to provide "collections" module +#ifndef MICROPY_ENABLE_MOD_COLLECTIONS +#define MICROPY_ENABLE_MOD_COLLECTIONS (1) +#endif + // Whether to provide "math" module #ifndef MICROPY_ENABLE_MOD_MATH #define MICROPY_ENABLE_MOD_MATH (1) |