mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-01-24 11:34:53 +00:00
Increase 8051 plaform configurability
This commit is contained in:
parent
70d8bd71df
commit
6a79ac3b2d
@ -156,11 +156,13 @@
|
|||||||
#endif /* UIP_CONF_IPV6 */
|
#endif /* UIP_CONF_IPV6 */
|
||||||
|
|
||||||
/* Network Stack */
|
/* Network Stack */
|
||||||
|
#ifndef NETSTACK_CONF_NETWORK
|
||||||
#if UIP_CONF_IPV6
|
#if UIP_CONF_IPV6
|
||||||
#define NETSTACK_CONF_NETWORK sicslowpan_driver
|
#define NETSTACK_CONF_NETWORK sicslowpan_driver
|
||||||
#else
|
#else
|
||||||
#define NETSTACK_CONF_NETWORK rime_driver
|
#define NETSTACK_CONF_NETWORK rime_driver
|
||||||
#endif
|
#endif /* UIP_CONF_IPV6 */
|
||||||
|
#endif /* NETSTACK_CONF_NETWORK */
|
||||||
|
|
||||||
#ifndef NETSTACK_CONF_MAC
|
#ifndef NETSTACK_CONF_MAC
|
||||||
#define NETSTACK_CONF_MAC csma_driver
|
#define NETSTACK_CONF_MAC csma_driver
|
||||||
@ -176,7 +178,10 @@
|
|||||||
#define NETSTACK_CONF_RDC_CHANNEL_CHECK_RATE 8
|
#define NETSTACK_CONF_RDC_CHANNEL_CHECK_RATE 8
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef NETSTACK_CONF_FRAMER
|
||||||
#define NETSTACK_CONF_FRAMER framer_802154
|
#define NETSTACK_CONF_FRAMER framer_802154
|
||||||
|
#endif
|
||||||
|
|
||||||
#define NETSTACK_CONF_RADIO cc2530_rf_driver
|
#define NETSTACK_CONF_RADIO cc2530_rf_driver
|
||||||
|
|
||||||
/* RF Config */
|
/* RF Config */
|
||||||
@ -227,7 +232,9 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* uIP */
|
/* uIP */
|
||||||
|
#ifndef UIP_CONF_BUFFER_SIZE
|
||||||
#define UIP_CONF_BUFFER_SIZE 240
|
#define UIP_CONF_BUFFER_SIZE 240
|
||||||
|
#endif
|
||||||
#define UIP_CONF_IPV6_QUEUE_PKT 0
|
#define UIP_CONF_IPV6_QUEUE_PKT 0
|
||||||
#define UIP_CONF_IPV6_CHECKS 1
|
#define UIP_CONF_IPV6_CHECKS 1
|
||||||
#define UIP_CONF_IPV6_REASSEMBLY 0
|
#define UIP_CONF_IPV6_REASSEMBLY 0
|
||||||
@ -247,7 +254,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#define MAC_CONF_CHANNEL_CHECK_RATE 8
|
#define MAC_CONF_CHANNEL_CHECK_RATE 8
|
||||||
|
|
||||||
|
#ifndef QUEUEBUF_CONF_NUM
|
||||||
#define QUEUEBUF_CONF_NUM 6
|
#define QUEUEBUF_CONF_NUM 6
|
||||||
|
#endif
|
||||||
|
|
||||||
#else /* UIP_CONF_IPV6 */
|
#else /* UIP_CONF_IPV6 */
|
||||||
/* Network setup for non-IPv6 (rime). */
|
/* Network setup for non-IPv6 (rime). */
|
||||||
|
@ -158,11 +158,13 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Network Stack */
|
/* Network Stack */
|
||||||
|
#ifndef NETSTACK_CONF_NETWORK
|
||||||
#if UIP_CONF_IPV6
|
#if UIP_CONF_IPV6
|
||||||
#define NETSTACK_CONF_NETWORK sicslowpan_driver
|
#define NETSTACK_CONF_NETWORK sicslowpan_driver
|
||||||
#else
|
#else
|
||||||
#define NETSTACK_CONF_NETWORK rime_driver
|
#define NETSTACK_CONF_NETWORK rime_driver
|
||||||
#endif
|
#endif /* UIP_CONF_IPV6 */
|
||||||
|
#endif /* NETSTACK_CONF_NETWORK */
|
||||||
|
|
||||||
#ifndef NETSTACK_CONF_MAC
|
#ifndef NETSTACK_CONF_MAC
|
||||||
#define NETSTACK_CONF_MAC csma_driver
|
#define NETSTACK_CONF_MAC csma_driver
|
||||||
@ -178,7 +180,10 @@
|
|||||||
#define NETSTACK_CONF_RDC_CHANNEL_CHECK_RATE 8
|
#define NETSTACK_CONF_RDC_CHANNEL_CHECK_RATE 8
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef NETSTACK_CONF_FRAMER
|
||||||
#define NETSTACK_CONF_FRAMER framer_802154
|
#define NETSTACK_CONF_FRAMER framer_802154
|
||||||
|
#endif
|
||||||
|
|
||||||
#define NETSTACK_CONF_RADIO cc2430_rf_driver
|
#define NETSTACK_CONF_RADIO cc2430_rf_driver
|
||||||
|
|
||||||
/* RF Config */
|
/* RF Config */
|
||||||
@ -233,7 +238,9 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* uIP */
|
/* uIP */
|
||||||
|
#ifndef UIP_CONF_BUFFER_SIZE
|
||||||
#define UIP_CONF_BUFFER_SIZE 240
|
#define UIP_CONF_BUFFER_SIZE 240
|
||||||
|
#endif
|
||||||
#define UIP_CONF_IPV6_QUEUE_PKT 0
|
#define UIP_CONF_IPV6_QUEUE_PKT 0
|
||||||
#define UIP_CONF_IPV6_CHECKS 1
|
#define UIP_CONF_IPV6_CHECKS 1
|
||||||
#define UIP_CONF_IPV6_REASSEMBLY 0
|
#define UIP_CONF_IPV6_REASSEMBLY 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user