shell: SHELL_DEFINE() create kernel stacks
These shell threads run in supervisor mode. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
99c211dbc6
commit
5a137998bf
1 changed files with 1 additions and 1 deletions
|
@ -671,7 +671,7 @@ extern void shell_print_stream(const void *user_ctx, const char *data,
|
|||
true, shell_print_stream); \
|
||||
LOG_INSTANCE_REGISTER(shell, _name, CONFIG_SHELL_LOG_LEVEL); \
|
||||
SHELL_STATS_DEFINE(_name); \
|
||||
static K_THREAD_STACK_DEFINE(_name##_stack, CONFIG_SHELL_STACK_SIZE); \
|
||||
static K_KERNEL_STACK_DEFINE(_name##_stack, CONFIG_SHELL_STACK_SIZE); \
|
||||
static struct k_thread _name##_thread; \
|
||||
static const Z_STRUCT_SECTION_ITERABLE(shell, _name) = { \
|
||||
.default_prompt = _prompt, \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue