mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
Merge pull request #1046 from g-oikonomou/cc26xx/contrib/slip-and-br
Enable slip-radio and rpl-border-router for CC26xx
This commit is contained in:
commit
447be526ae
@ -44,10 +44,14 @@
|
||||
#define CC26XX_WEB_DEMO_CONF_COAP_SERVER 1
|
||||
#define CC26XX_WEB_DEMO_CONF_NET_UART 1
|
||||
/*---------------------------------------------------------------------------*/
|
||||
/* Shrink the size of the uIP buffer, routing table and ND cache */
|
||||
/*
|
||||
* Shrink the size of the uIP buffer, routing table and ND cache.
|
||||
* Set the TCP MSS
|
||||
*/
|
||||
#define UIP_CONF_BUFFER_SIZE 900
|
||||
#define NBR_TABLE_CONF_MAX_NEIGHBORS 8
|
||||
#define UIP_CONF_MAX_ROUTES 8
|
||||
#define UIP_CONF_TCP_MSS 128
|
||||
/*---------------------------------------------------------------------------*/
|
||||
#endif /* PROJECT_CONF_H_ */
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
@ -220,7 +220,7 @@
|
||||
#define UIP_CONF_TCP 1
|
||||
#endif
|
||||
#ifndef UIP_CONF_TCP_MSS
|
||||
#define UIP_CONF_TCP_MSS 128
|
||||
#define UIP_CONF_TCP_MSS 64
|
||||
#endif
|
||||
|
||||
#define UIP_CONF_UDP 1
|
||||
@ -287,6 +287,13 @@
|
||||
|
||||
/* Notify various examples that we have Buttons */
|
||||
#define PLATFORM_HAS_BUTTON 1
|
||||
|
||||
/*
|
||||
* Override button symbols from dev/button-sensor.h, for the examples that
|
||||
* include it
|
||||
*/
|
||||
#define button_sensor button_left_sensor
|
||||
#define button_sensor2 button_right_sensor
|
||||
/** @} */
|
||||
/*---------------------------------------------------------------------------*/
|
||||
/* Platform-specific define to signify sensor reading failure */
|
||||
|
@ -54,7 +54,6 @@
|
||||
#define BUTTON_SENSOR_VALUE_RELEASED 0
|
||||
#define BUTTON_SENSOR_VALUE_PRESSED 1
|
||||
/*---------------------------------------------------------------------------*/
|
||||
#define button_sensor button_left_sensor
|
||||
extern const struct sensors_sensor button_left_sensor;
|
||||
extern const struct sensors_sensor button_right_sensor;
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
@ -49,7 +49,6 @@
|
||||
#define BUTTON_SENSOR_VALUE_RELEASED 0
|
||||
#define BUTTON_SENSOR_VALUE_PRESSED 1
|
||||
/*---------------------------------------------------------------------------*/
|
||||
#define button_sensor button_select_sensor
|
||||
extern const struct sensors_sensor button_select_sensor;
|
||||
extern const struct sensors_sensor button_left_sensor;
|
||||
extern const struct sensors_sensor button_right_sensor;
|
||||
|
Loading…
Reference in New Issue
Block a user