blob: be5f3c6b1ec8b79059a765be602c6f86840dfc25 [file] [log] [blame]
/*
* Copyright (c) 2016 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
* @brief Shell framework services
*
* This module initiates shell.
* Includes also adding basic framework commands to shell commands.
*/
#include <misc/printk.h>
#include <shell/shell.h>
#include <init.h>
#define SHELL_PROMPT "shell> "
int shell_run(struct device *dev)
{
ARG_UNUSED(dev);
shell_init(SHELL_PROMPT);
return 0;
}
SYS_INIT(shell_run, APPLICATION, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT);