From 2c6c665309d0da6b033d609d13558c1fa6372c77 Mon Sep 17 00:00:00 2001 From: adamdunkels Date: Mon, 11 May 2009 17:11:56 +0000 Subject: [PATCH] New Twitter tweet commands added --- apps/shell/Makefile.shell | 9 ++++++--- apps/shell/shell.h | 5 +++-- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/apps/shell/Makefile.shell b/apps/shell/Makefile.shell index e8ea1c7fb..1cce52578 100644 --- a/apps/shell/Makefile.shell +++ b/apps/shell/Makefile.shell @@ -8,8 +8,8 @@ shell_src = shell.c shell-reboot.c \ shell-checkpoint.c shell-power.c \ shell-tcpsend.c shell-udpsend.c shell-ping.c shell-netstat.c \ shell-rime-sendcmd.c shell-download.c shell-rime-neighbors.c \ - shell-rime-unicast.c - #shell-rsh.c + shell-rime-unicast.c \ + shell-tweet.c shell_dsc = shell-dsc.c APPS += webbrowser @@ -36,6 +36,9 @@ ifndef PLATFORM_BUILD override telnet_src = telnet.c endif +APPS += twitter +include $(CONTIKI)/apps/twitter/Makefile.twitter + ifeq ($(TARGET),sky) - shell_src += shell-sky.c shell-exec.c + shell_src += shell-sky.c shell-exec.c shell-sensortweet.c endif diff --git a/apps/shell/shell.h b/apps/shell/shell.h index df3f59be5..228dcda48 100644 --- a/apps/shell/shell.h +++ b/apps/shell/shell.h @@ -48,7 +48,7 @@ * * This file is part of the Contiki operating system. * - * $Id: shell.h,v 1.17 2009/05/10 21:05:06 adamdunkels Exp $ + * $Id: shell.h,v 1.18 2009/05/11 17:11:56 adamdunkels Exp $ */ /** @@ -353,7 +353,6 @@ struct shell_input { * @} */ - #include "shell-blink.h" #include "shell-checkpoint.h" #include "shell-coffee.h" @@ -379,10 +378,12 @@ struct shell_input { #include "shell-rsh.h" #include "shell-run.h" #include "shell-sendtest.h" +#include "shell-sensortweet.h" #include "shell-sky.h" #include "shell-tcpsend.h" #include "shell-text.h" #include "shell-time.h" +#include "shell-tweet.h" #include "shell-udpsend.h" #include "shell-vars.h" #include "shell-wget.h"