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:
parent
27a738853e
commit
3b49ed46df
3 changed files with 14 additions and 2 deletions
|
@ -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) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue