diff options
Diffstat (limited to 'include/config.h')
-rw-r--r-- | include/config.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h index afe8eab5d0..c396517a4a 100644 --- a/include/config.h +++ b/include/config.h @@ -602,6 +602,15 @@ */ #undef CONFIG_CONSOLE_RESTRICTED_INPUT +/* + * Enable the experimental console. + * + * NOTE: If you enable this experimental console, you will need to run the + * EC-3PO interactive console in the util directory! Otherwise, you won't be + * able to enter any commands. + */ +#undef CONFIG_EXPERIMENTAL_CONSOLE + /* Include CRC-8 utility function */ #undef CONFIG_CRC8 @@ -2008,6 +2017,18 @@ #include "config_chip.h" #include "board.h" +/******************************************************************************/ +/* + * Disable the built-in console history if using the experimental console. + * + * The experimental console keeps its own session-persistent history which + * survives EC reboot. It also requires CRC8 for command integrity. + */ +#ifdef CONFIG_EXPERIMENTAL_CONSOLE +#undef CONFIG_CONSOLE_HISTORY +#define CONFIG_CRC8 +#endif /* defined(CONFIG_EXPERIMENTAL_CONSOLE) */ + /*****************************************************************************/ /* * Handle task-dependent configs. |