diff options
Diffstat (limited to 'examples/embedding/mpconfigport.h')
| -rw-r--r-- | examples/embedding/mpconfigport.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/examples/embedding/mpconfigport.h b/examples/embedding/mpconfigport.h index 89c180b2a..ed34a5d76 100644 --- a/examples/embedding/mpconfigport.h +++ b/examples/embedding/mpconfigport.h @@ -1 +1,15 @@ -#include "mpconfigport_minimal.h" +/* This file is part of the MicroPython project, http://micropython.org/ + * The MIT License (MIT) + * Copyright (c) 2022-2023 Damien P. George + */ + +// Include common MicroPython embed configuration. +#include <port/mpconfigport_common.h> + +// Use the minimal starting configuration (disables all optional features). +#define MICROPY_CONFIG_ROM_LEVEL (MICROPY_CONFIG_ROM_LEVEL_MINIMUM) + +// MicroPython configuration. +#define MICROPY_ENABLE_COMPILER (1) +#define MICROPY_ENABLE_GC (1) +#define MICROPY_PY_GC (1) |
