13#ifndef ZEPHYR_INCLUDE_SHELL_SHELL_REMOTE_CLI_H_
14#define ZEPHYR_INCLUDE_SHELL_SHELL_REMOTE_CLI_H_
40#define SHELL_REMOTE_CLI_ALIGN sizeof(long long)
51#define SHELL_REMOTE_CLI_FPRINTF(_sh, _color, ...) \
56 CBPRINTF_PACKAGE_ADD_RO_STR_POS | CBPRINTF_PACKAGE_ADD_RW_STR_POS; \
57 CBPRINTF_STATIC_PACKAGE(NULL, 0, _plen, SHELL_REMOTE_CLI_ALIGN, _options, \
59 _pkg = __builtin_alloca_with_align(_plen, 8); \
60 CBPRINTF_STATIC_PACKAGE(_pkg, _plen, _plen, SHELL_REMOTE_CLI_ALIGN, _options, \
62 shell_remote_cli_cbpprintf(_sh, _color, _pkg, _plen); \
void shell_remote_cli_cbpprintf(const struct shell *sh, enum shell_vt100_color color, void *package, size_t len)
Print a formatted string to the remote shell.
void shell_remote_cmd_process(void)
Process the remote message in the main context when CONFIG_MULTITHREADING is disabled.
shell_vt100_color
Definition shell_types.h:14
Shell instance internals.
Definition shell.h:1076