unix/variants: Enable remaining options on dev,coverage from ROM extra.
So that the default configuration for the dev and coverage variants includes all options set by MICROPY_CONFIG_ROM_LEVEL_EXTRA_FEATURES. Note that enabling MICROPY_PY_SYS_STDIO_BUFFER on unix doesn't do anything because unix doesn't use shared/runtime/sys_stdio_mphal.c. Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
parent
fe55d3e016
commit
fad978ae5f
|
@ -30,10 +30,6 @@
|
||||||
// Set base feature level.
|
// Set base feature level.
|
||||||
#define MICROPY_CONFIG_ROM_LEVEL (MICROPY_CONFIG_ROM_LEVEL_EXTRA_FEATURES)
|
#define MICROPY_CONFIG_ROM_LEVEL (MICROPY_CONFIG_ROM_LEVEL_EXTRA_FEATURES)
|
||||||
|
|
||||||
// Disable some features that come enabled by default with the feature level.
|
|
||||||
#define MICROPY_PY_BUILTINS_EXECFILE (0)
|
|
||||||
#define MICROPY_PY_SYS_STDIO_BUFFER (0)
|
|
||||||
|
|
||||||
// Enable additional features.
|
// Enable additional features.
|
||||||
#define MICROPY_DEBUG_PARSE_RULE_NAME (1)
|
#define MICROPY_DEBUG_PARSE_RULE_NAME (1)
|
||||||
#define MICROPY_TRACKED_ALLOC (1)
|
#define MICROPY_TRACKED_ALLOC (1)
|
||||||
|
|
|
@ -27,10 +27,6 @@
|
||||||
// Set base feature level.
|
// Set base feature level.
|
||||||
#define MICROPY_CONFIG_ROM_LEVEL (MICROPY_CONFIG_ROM_LEVEL_EXTRA_FEATURES)
|
#define MICROPY_CONFIG_ROM_LEVEL (MICROPY_CONFIG_ROM_LEVEL_EXTRA_FEATURES)
|
||||||
|
|
||||||
// Disable some features that come enabled by default with the feature level.
|
|
||||||
#define MICROPY_PY_BUILTINS_EXECFILE (0)
|
|
||||||
#define MICROPY_PY_SYS_STDIO_BUFFER (0)
|
|
||||||
|
|
||||||
// Enable some additional features.
|
// Enable some additional features.
|
||||||
#define MICROPY_REPL_EMACS_WORDS_MOVE (1)
|
#define MICROPY_REPL_EMACS_WORDS_MOVE (1)
|
||||||
#define MICROPY_REPL_EMACS_EXTRA_WORDS_MOVE (1)
|
#define MICROPY_REPL_EMACS_EXTRA_WORDS_MOVE (1)
|
||||||
|
|
Loading…
Reference in New Issue