Browse Source

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>
pull/8834/head
Damien George 2 years ago
parent
commit
fad978ae5f
  1. 4
      ports/unix/variants/coverage/mpconfigvariant.h
  2. 4
      ports/unix/variants/dev/mpconfigvariant.h

4
ports/unix/variants/coverage/mpconfigvariant.h

@ -30,10 +30,6 @@
// Set base feature level.
#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.
#define MICROPY_DEBUG_PARSE_RULE_NAME (1)
#define MICROPY_TRACKED_ALLOC (1)

4
ports/unix/variants/dev/mpconfigvariant.h

@ -27,10 +27,6 @@
// Set base feature level.
#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.
#define MICROPY_REPL_EMACS_WORDS_MOVE (1)
#define MICROPY_REPL_EMACS_EXTRA_WORDS_MOVE (1)

Loading…
Cancel
Save