From 62b5054dfabcf9e26bf8e65db351db896c552e75 Mon Sep 17 00:00:00 2001 From: barthess Date: Sat, 17 Sep 2011 21:06:25 +0000 Subject: Shell. Added possibility to create statically allocated shell thread. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3331 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/various/shell.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'os/various/shell.h') diff --git a/os/various/shell.h b/os/various/shell.h index 075d4e264..2946df947 100644 --- a/os/various/shell.h +++ b/os/various/shell.h @@ -80,6 +80,8 @@ extern "C" { #endif void shellInit(void); Thread *shellCreate(const ShellConfig *scp, size_t size, tprio_t prio); + Thread *shellCreateStatic(const ShellConfig *scp, void *wsp, + size_t size, tprio_t prio); bool_t shellGetLine(BaseChannel *chp, char *line, unsigned size); #ifdef __cplusplus } -- cgit v1.2.3