bare-arm/mpconfigport.h: Disable remaining optional features.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George
2021-11-01 14:23:06 +11:00
parent b4de39c43c
commit ad17d9f001
2 changed files with 1 additions and 14 deletions

View File

@@ -18,4 +18,4 @@ compiled and executed when the firmware starts. They produce output on the
system's stdout. system's stdout.
The size of the firmware (the machine code that is programmed to the The size of the firmware (the machine code that is programmed to the
microcontroller's flash/ROM) is currently around 57900 bytes. microcontroller's flash/ROM) is currently around 56500 bytes.

View File

@@ -31,24 +31,11 @@
// Use the minimal starting configuration (disables all optional features). // Use the minimal starting configuration (disables all optional features).
#define MICROPY_CONFIG_ROM_LEVEL (MICROPY_CONFIG_ROM_LEVEL_MINIMUM) #define MICROPY_CONFIG_ROM_LEVEL (MICROPY_CONFIG_ROM_LEVEL_MINIMUM)
// Memory allocation policy
#define MICROPY_GC_ALLOC_THRESHOLD (1)
// Compiler configuration // Compiler configuration
#define MICROPY_ENABLE_COMPILER (1) #define MICROPY_ENABLE_COMPILER (1)
#define MICROPY_COMP_CONST_FOLDING (1)
#define MICROPY_COMP_CONST_LITERAL (1)
// Python internal features // Python internal features
#define MICROPY_ERROR_REPORTING (MICROPY_ERROR_REPORTING_NONE) #define MICROPY_ERROR_REPORTING (MICROPY_ERROR_REPORTING_NONE)
#define MICROPY_FULL_CHECKS (1)
// Fine control over Python builtins, classes, modules, etc
#define MICROPY_MULTIPLE_INHERITANCE (1)
#define MICROPY_PY_GENERATOR_PEND_THROW (1)
#define MICROPY_PY_BUILTINS_RANGE_ATTRS (1)
#define MICROPY_PY_BUILTINS_FILTER (1)
#define MICROPY_PY_BUILTINS_MIN_MAX (1)
// Type definitions for the specific machine // Type definitions for the specific machine