Commit 2f877947 authored by George Oikonomou's avatar George Oikonomou
Browse files

Allow overriding common example configuration

parent 8e810172
......@@ -49,7 +49,9 @@
#define UIP_CONF_BUFFER_SIZE 1280 /* ipv6 required minimum */
/* Queues */
#ifndef QUEUEBUF_CONF_NUM
#define QUEUEBUF_CONF_NUM 32
#endif
#define TSCH_QUEUE_CONF_NUM_PER_NEIGHBOR 32
......@@ -67,6 +69,8 @@
#define UART_XONXOFF_FLOW_CTRL 1
#ifndef UART_BAUD_RATE
#define UART_BAUD_RATE UART_RATE_1000000
#endif
#endif /* __COMMON_CONF_JN516X_H__ */
......@@ -35,9 +35,9 @@
#ifndef __PROJECT_CONF_H__
#define __PROJECT_CONF_H__
#include "../../common-conf.h"
#define UIP_CONF_TCP 0
#define UART_BAUD_RATE UART_RATE_115200
#include "../../common-conf.h"
#endif /* __PROJECT_CONF_H__ */
......@@ -40,9 +40,8 @@
/* Needed for slip-bridge */
#define SLIP_BRIDGE_CONF_NO_PUTCHAR 0
#include "../../common-conf.h"
#define UART_BAUD_RATE UART_RATE_230400
#include "../../common-conf.h"
#endif /* PROJECT_ROUTER_CONF_H_ */
......@@ -34,9 +34,9 @@
#ifndef __PROJECT_CONF_H__
#define __PROJECT_CONF_H__
#include "../../common-conf.h"
#define UIP_CONF_TCP 0
#define UART_BAUD_RATE UART_RATE_115200
#include "../../common-conf.h"
#endif /* __PROJECT_CONF_H__ */
......@@ -38,11 +38,11 @@
/* Needed for slip-bridge */
#define SLIP_BRIDGE_CONF_NO_PUTCHAR 0
#include "../../common-conf.h"
#define UIP_CONF_TCP 0
#define QUEUEBUF_CONF_NUM 16
#define TSCH_QUEUE_CONF_MAX_NEIGHBOR_QUEUES 8
#include "../../common-conf.h"
#endif /* PROJECT_ROUTER_CONF_H_ */
......@@ -34,8 +34,6 @@
#ifndef __PROJECT_CONF_H__
#define __PROJECT_CONF_H__
#include "../common-conf.h"
#define UIP_CONF_TCP 0
#define UART_BAUD_RATE UART_RATE_115200
......@@ -46,4 +44,6 @@
#define UART1_CONF_RX_BUFFER_SIZE 32
#include "../common-conf.h"
#endif /* __PROJECT_CONF_H__ */
Supports Markdown
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