From fa873ce67c52d04ad6ccea26c7c6366c97daa637 Mon Sep 17 00:00:00 2001 From: Damien George Date: Fri, 5 Nov 2021 13:12:18 +1100 Subject: [PATCH] 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 --- ports/minimal/mpconfigport.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/ports/minimal/mpconfigport.h b/ports/minimal/mpconfigport.h index b83e0c2704..c9f3998762 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