stmhal: Enable REPL auto indent; document paste mode in help().

This commit is contained in:
Damien George 2015-10-11 23:33:46 +01:00
parent 46a1102852
commit 6206f431cf
2 changed files with 2 additions and 0 deletions

View File

@ -67,6 +67,7 @@ STATIC const char *help_text =
" CTRL-B -- on a blank line, enter normal REPL mode\n"
" CTRL-C -- interrupt a running program\n"
" CTRL-D -- on a blank line, do a soft reset of the board\n"
" CTRL-E -- on a blank line, enter paste mode\n"
"\n"
"For further help on a specific object, type help(obj)\n"
;

View File

@ -40,6 +40,7 @@
#define MICROPY_STACK_CHECK (1)
#define MICROPY_HELPER_REPL (1)
#define MICROPY_REPL_EMACS_KEYS (1)
#define MICROPY_REPL_AUTO_INDENT (1)
#define MICROPY_ENABLE_SOURCE_LINE (1)
#define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_MPZ)
#define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_FLOAT)