shell: Parametrize dummy shell buffer size

The commit adds Kconfig option to configure dummy shell buffer size.
Size of this buffer determines how mutch of command output will be
stored in buffer.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
This commit is contained in:
Dominik Ermel 2021-05-18 14:40:15 +00:00 committed by Anas Nashif
commit 3b49ed46df
3 changed files with 14 additions and 2 deletions

View file

@ -24,7 +24,7 @@ struct shell_dummy {
size_t len;
/** output buffer to collect shell output */
char buf[300];
char buf[CONFIG_SHELL_BACKEND_DUMMY_BUF_SIZE];
};
#define SHELL_DUMMY_DEFINE(_name) \