smp: shell: Add support for SMP in new shell.
Added smp support for new shell. Signed-off-by: Mieszko Mierunski <mieszko.mierunski@nordicsemi.no>
This commit is contained in:
parent
1d033a9a26
commit
8587bb19a7
7 changed files with 218 additions and 19 deletions
|
@ -330,6 +330,15 @@ struct shell_transport_api {
|
|||
int (*read)(const struct shell_transport *transport,
|
||||
void *data, size_t length, size_t *cnt);
|
||||
|
||||
/**
|
||||
* @brief Function called in shell thread loop.
|
||||
*
|
||||
* Can be used for backend operations that require longer execution time
|
||||
*
|
||||
* @param[in] transport Pointer to the transfer instance.
|
||||
*/
|
||||
void (*update)(const struct shell_transport *transport);
|
||||
|
||||
};
|
||||
|
||||
struct shell_transport {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue