diff options
author | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-09-17 21:06:25 +0000 |
---|---|---|
committer | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-09-17 21:06:25 +0000 |
commit | 62b5054dfabcf9e26bf8e65db351db896c552e75 (patch) | |
tree | d5d26798a855f930adb9cbb418520a3be72ad517 /os/various/shell.h | |
parent | 278fc39f993660a8d7ebf4df4a89f6beb10c7f7b (diff) | |
download | ChibiOS-62b5054dfabcf9e26bf8e65db351db896c552e75.tar.gz ChibiOS-62b5054dfabcf9e26bf8e65db351db896c552e75.tar.bz2 ChibiOS-62b5054dfabcf9e26bf8e65db351db896c552e75.zip |
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
Diffstat (limited to 'os/various/shell.h')
-rw-r--r-- | os/various/shell.h | 2 |
1 files changed, 2 insertions, 0 deletions
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
}
|