Skip to content

Commit c62351f

Browse files
committed
py/mpconfig.h: Revert MICROPY_REPL_INFO to disabled at all levels.
This is an stm32-specific feature that's accessed via the pyb module, so not something that will be widely enabled. Signed-off-by: Damien George <[email protected]>
1 parent b1a0ce4 commit c62351f

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

ports/rp2/mpconfigport.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@
6868
#define MICROPY_PY_BUILTINS_EXECFILE (0)
6969
#define MICROPY_PY_BUILTINS_NOTIMPLEMENTED (0)
7070
#define MICROPY_REPL_EMACS_KEYS (0)
71-
#define MICROPY_REPL_INFO (0)
7271

7372
// Python internal features
7473
#define MICROPY_READER_VFS (1)

ports/stm32/mpconfigport.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
#define MICROPY_ENABLE_GC (1)
7070
#define MICROPY_ENABLE_EMERGENCY_EXCEPTION_BUF (1)
7171
#define MICROPY_EMERGENCY_EXCEPTION_BUF_SIZE (0)
72+
#define MICROPY_REPL_INFO (1)
7273
#define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_MPZ)
7374
#ifndef MICROPY_FLOAT_IMPL // can be configured by each board via mpconfigboard.mk
7475
#define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_FLOAT)

py/mpconfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@
652652

653653
// Allow enabling debug prints after each REPL line
654654
#ifndef MICROPY_REPL_INFO
655-
#define MICROPY_REPL_INFO (MICROPY_CONFIG_ROM_LEVEL_AT_LEAST_EXTRA_FEATURES)
655+
#define MICROPY_REPL_INFO (0)
656656
#endif
657657

658658
// Whether to include emacs-style readline behavior in REPL

0 commit comments

Comments
 (0)