[riot-notifications] [projects] Updated test shell project (#21)

Oleg Hahm notifications at github.com
Wed Aug 14 13:29:36 CEST 2013


> @@ -0,0 +1,7 @@
> +This project shows how to use own or the system shell commands. In order to use the system shell commands:
> +1. Additionally to the module: shell, shell_commands, uart0 and posix, the module for the corresponding system command is to include, e.g. module ps 
> +for the ps command (cf. the Makefile in the project root directory). 
> +2. the shell must be initialized as follows:
> +	2.1 shell_t sys_shell;
> +	2.2 shell_init(&sys_shell, NULL, shell_readc, shell_putchar);

I would suggest:
```
2.2 shell_init(&shell, shell_commands, shell_readc, shell_putchar); 
      or
      shell_init(&sys_shell, NULL, shell_readc, shell_putchar); /* to initialize without the built-in shell commands */
```

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/projects/pull/21/files#r5760843
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20130814/14254fe5/attachment.html>


More information about the notifications mailing list