summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2021-11-05 13:12:18 +1100
committerDamien George <damien@micropython.org>2021-11-05 13:12:18 +1100
commitfa873ce67c52d04ad6ccea26c7c6366c97daa637 (patch)
tree908fc7191d77499e631cc5099d5df7efe2dd4812
parentc9c55032dc29ba8dc75a211cdbb930e7eaf31844 (diff)
minimal/mpconfigport.h: Disable features that are not needed.
Now that there are feature levels, and that this port uses MICROPY_CONFIG_ROM_LEVEL_MINIMUM, it's easy to see what optional features can be disabled. And this commit disables them. Signed-off-by: Damien George <damien@micropython.org>
-rw-r--r--ports/minimal/mpconfigport.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/ports/minimal/mpconfigport.h b/ports/minimal/mpconfigport.h
index b83e0c270..c9f399876 100644
--- a/ports/minimal/mpconfigport.h
+++ b/ports/minimal/mpconfigport.h
@@ -15,18 +15,10 @@
#define MICROPY_HELPER_REPL (1)
#define MICROPY_MODULE_FROZEN_MPY (1)
#define MICROPY_ENABLE_EXTERNAL_IMPORT (1)
-#define MICROPY_PY_MATH (1)
#define MICROPY_ALLOC_PATH_MAX (256)
#define MICROPY_ALLOC_PARSE_CHUNK_INIT (16)
-#define MICROPY_COMP_CONST_FOLDING (1)
-#define MICROPY_COMP_CONST_LITERAL (1)
-#define MICROPY_FULL_CHECKS (1)
-#define MICROPY_MULTIPLE_INHERITANCE (1)
-#define MICROPY_PY_GENERATOR_PEND_THROW (1)
-#define MICROPY_PY_BUILTINS_RANGE_ATTRS (1)
-
// type definitions for the specific machine
typedef intptr_t mp_int_t; // must be pointer size