Skip to content

Commit ad17d9f

Browse files
committed
bare-arm/mpconfigport.h: Disable remaining optional features.
Signed-off-by: Damien George <[email protected]>
1 parent b4de39c commit ad17d9f

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

ports/bare-arm/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ compiled and executed when the firmware starts. They produce output on the
1818
system's stdout.
1919

2020
The size of the firmware (the machine code that is programmed to the
21-
microcontroller's flash/ROM) is currently around 57900 bytes.
21+
microcontroller's flash/ROM) is currently around 56500 bytes.

ports/bare-arm/mpconfigport.h

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -31,24 +31,11 @@
3131
// Use the minimal starting configuration (disables all optional features).
3232
#define MICROPY_CONFIG_ROM_LEVEL (MICROPY_CONFIG_ROM_LEVEL_MINIMUM)
3333

34-
// Memory allocation policy
35-
#define MICROPY_GC_ALLOC_THRESHOLD (1)
36-
3734
// Compiler configuration
3835
#define MICROPY_ENABLE_COMPILER (1)
39-
#define MICROPY_COMP_CONST_FOLDING (1)
40-
#define MICROPY_COMP_CONST_LITERAL (1)
4136

4237
// Python internal features
4338
#define MICROPY_ERROR_REPORTING (MICROPY_ERROR_REPORTING_NONE)
44-
#define MICROPY_FULL_CHECKS (1)
45-
46-
// Fine control over Python builtins, classes, modules, etc
47-
#define MICROPY_MULTIPLE_INHERITANCE (1)
48-
#define MICROPY_PY_GENERATOR_PEND_THROW (1)
49-
#define MICROPY_PY_BUILTINS_RANGE_ATTRS (1)
50-
#define MICROPY_PY_BUILTINS_FILTER (1)
51-
#define MICROPY_PY_BUILTINS_MIN_MAX (1)
5239

5340
// Type definitions for the specific machine
5441

0 commit comments

Comments
 (0)