Commit 2ab15a00 authored by Simon Duquennoy's avatar Simon Duquennoy
Browse files

Cleanup Shell setup

parent 663d1f12
......@@ -35,9 +35,6 @@
#ifndef __PROJECT_CONF_H__
#define __PROJECT_CONF_H__
/* Set to use the Contiki shell */
#define WITH_SHELL 1
/* Set to enable TSCH security */
#ifndef WITH_SECURITY
#define WITH_SECURITY 0
......
......@@ -47,9 +47,6 @@
#if UIP_CONF_IPV6_RPL_LITE == 0
#include "rpl-private.h"
#endif /* UIP_CONF_IPV6_RPL_LITE == 0 */
#if WITH_SHELL
#include "serial-shell.h"
#endif /* WITH_SHELL */
#define DEBUG DEBUG_PRINT
#include "net/ipv6/uip-debug.h"
......@@ -67,12 +64,6 @@ PROCESS_THREAD(node_process, ev, data)
is_coordinator = 0;
#if WITH_SHELL
serial_shell_init();
log_set_level("all", LOG_LEVEL_WARN);
tsch_log_stop();
#endif /* WITH_SHELL */
#if CONTIKI_TARGET_COOJA
is_coordinator = (node_id == 1);
#endif
......
......@@ -35,9 +35,6 @@
#ifndef __PROJECT_CONF_H__
#define __PROJECT_CONF_H__
/* Set to use the Contiki shell */
#define WITH_SHELL 1
/* Set to enable TSCH security */
#ifndef WITH_SECURITY
#define WITH_SECURITY 0
......@@ -49,18 +46,10 @@
#define RPL_CONF_MOP RPL_MOP_NON_STORING /* Mode of operation*/
/*******************************************************/
/********************* Configure TSCH *********************/
/*******************************************************/
#if WITH_SHELL
/* USB serial takes space, free more space elsewhere */
#define SICSLOWPAN_CONF_FRAG 0
#define UIP_CONF_BUFFER_SIZE 160
#endif /* WITH_SHELL */
/*******************************************************/
/******************* Configure TSCH ********************/
/*******************************************************/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment