diff options
author | Christian Pointner <equinox@spreadspace.org> | 2013-06-24 15:30:40 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2013-06-24 15:30:40 +0200 |
commit | 5f1c3c1c0c27275386a6a9695b437aa95828e9ba (patch) | |
tree | 5b1abd90412a6dca748eeab95dbff8685204ac58 | |
parent | some cleanup (diff) |
added inital dustmap-node sourcecode
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | contrib/contiki-2.6.zip | bin | 0 -> 25006940 bytes | |||
-rw-r--r-- | software/dustmap-node/Makefile | 9 | ||||
-rw-r--r-- | software/dustmap-node/Makefile.target | 1 | ||||
-rw-r--r-- | software/dustmap-node/dustmap-node.c | 47 |
5 files changed, 58 insertions, 0 deletions
@@ -2,3 +2,4 @@ hardware/*/*.bak hardware/*/*-cache.lib hardware/*/$savepcb.brd hardware/*/*.000 +contrib/contiki-2.6/ diff --git a/contrib/contiki-2.6.zip b/contrib/contiki-2.6.zip Binary files differnew file mode 100644 index 0000000..2b320e4 --- /dev/null +++ b/contrib/contiki-2.6.zip diff --git a/software/dustmap-node/Makefile b/software/dustmap-node/Makefile new file mode 100644 index 0000000..e152d62 --- /dev/null +++ b/software/dustmap-node/Makefile @@ -0,0 +1,9 @@ +CONTIKI_PROJECT = dustmap-node +all: $(CONTIKI_PROJECT) + +APPS = telnetd program-handler + +WITH_UIP=1 + +CONTIKI = ../../contrib/contiki-2.6 +include $(CONTIKI)/Makefile.include diff --git a/software/dustmap-node/Makefile.target b/software/dustmap-node/Makefile.target new file mode 100644 index 0000000..bbcd147 --- /dev/null +++ b/software/dustmap-node/Makefile.target @@ -0,0 +1 @@ +TARGET = avr-zigbit diff --git a/software/dustmap-node/dustmap-node.c b/software/dustmap-node/dustmap-node.c new file mode 100644 index 0000000..3c3a649 --- /dev/null +++ b/software/dustmap-node/dustmap-node.c @@ -0,0 +1,47 @@ +/* + * dustmap-node + * + * + * Copyright (C) 2013 Christian Pointner <equinox@spreadspace.org> + * + * This file is part of dustmap-node. + * + * dustmap-node is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * dustmap-node is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with dustmap-node. If not, see <http://www.gnu.org/licenses/>. + */ + +#include "contiki-net.h" +#include "telnetd.h" +#include "shell.h" + +/*---------------------------------------------------------------------------*/ +PROCESS(shell_init_process, "Shell init process"); +/*---------------------------------------------------------------------------*/ +PROCESS_THREAD(shell_init_process, ev, data) +{ + PROCESS_BEGIN(); + + shell_file_init(); + shell_httpd_init(); + shell_irc_init(); + shell_ps_init(); + shell_run_init(); + shell_text_init(); + shell_time_init(); + shell_wget_init(); + + PROCESS_END(); +} +/*---------------------------------------------------------------------------*/ +AUTOSTART_PROCESSES(&telnetd_process, &shell_init_process); +/*---------------------------------------------------------------------------*/ |