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

Signed-off-by: Damien George <damien@micropython.org>
pull/7959/head
Damien George 2021-11-01 14:23:06 +11:00
rodzic b4de39c43c
commit ad17d9f001
2 zmienionych plików z 1 dodań i 14 usunięć

Wyświetl plik

@ -18,4 +18,4 @@ compiled and executed when the firmware starts. They produce output on the
system's stdout.
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.

Wyświetl plik

@ -31,24 +31,11 @@
// Use the minimal starting configuration (disables all optional features).
#define MICROPY_CONFIG_ROM_LEVEL (MICROPY_CONFIG_ROM_LEVEL_MINIMUM)
// Memory allocation policy
#define MICROPY_GC_ALLOC_THRESHOLD (1)
// Compiler configuration
#define MICROPY_ENABLE_COMPILER (1)
#define MICROPY_COMP_CONST_FOLDING (1)
#define MICROPY_COMP_CONST_LITERAL (1)
// Python internal features
#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