Browse Source

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>
pull/7973/head
Damien George 3 years ago
parent
commit
fa873ce67c
  1. 8
      ports/minimal/mpconfigport.h

8
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

Loading…
Cancel
Save