Increase 8051 plaform configurability
This commit is contained in:
parent
70d8bd71df
commit
6a79ac3b2d
|
@ -156,11 +156,13 @@
|
|||
#endif /* UIP_CONF_IPV6 */
|
||||
|
||||
/* Network Stack */
|
||||
#ifndef NETSTACK_CONF_NETWORK
|
||||
#if UIP_CONF_IPV6
|
||||
#define NETSTACK_CONF_NETWORK sicslowpan_driver
|
||||
#else
|
||||
#define NETSTACK_CONF_NETWORK rime_driver
|
||||
#endif
|
||||
#endif /* UIP_CONF_IPV6 */
|
||||
#endif /* NETSTACK_CONF_NETWORK */
|
||||
|
||||
#ifndef NETSTACK_CONF_MAC
|
||||
#define NETSTACK_CONF_MAC csma_driver
|
||||
|
@ -176,7 +178,10 @@
|
|||
#define NETSTACK_CONF_RDC_CHANNEL_CHECK_RATE 8
|
||||
#endif
|
||||
|
||||
#ifndef NETSTACK_CONF_FRAMER
|
||||
#define NETSTACK_CONF_FRAMER framer_802154
|
||||
#endif
|
||||
|
||||
#define NETSTACK_CONF_RADIO cc2530_rf_driver
|
||||
|
||||
/* RF Config */
|
||||
|
@ -227,7 +232,9 @@
|
|||
#endif
|
||||
|
||||
/* uIP */
|
||||
#ifndef UIP_CONF_BUFFER_SIZE
|
||||
#define UIP_CONF_BUFFER_SIZE 240
|
||||
#endif
|
||||
#define UIP_CONF_IPV6_QUEUE_PKT 0
|
||||
#define UIP_CONF_IPV6_CHECKS 1
|
||||
#define UIP_CONF_IPV6_REASSEMBLY 0
|
||||
|
@ -247,7 +254,10 @@
|
|||
}
|
||||
|
||||
#define MAC_CONF_CHANNEL_CHECK_RATE 8
|
||||
|
||||
#ifndef QUEUEBUF_CONF_NUM
|
||||
#define QUEUEBUF_CONF_NUM 6
|
||||
#endif
|
||||
|
||||
#else /* UIP_CONF_IPV6 */
|
||||
/* Network setup for non-IPv6 (rime). */
|
||||
|
|
|
@ -158,11 +158,13 @@
|
|||
#endif
|
||||
|
||||
/* Network Stack */
|
||||
#ifndef NETSTACK_CONF_NETWORK
|
||||
#if UIP_CONF_IPV6
|
||||
#define NETSTACK_CONF_NETWORK sicslowpan_driver
|
||||
#else
|
||||
#define NETSTACK_CONF_NETWORK rime_driver
|
||||
#endif
|
||||
#endif /* UIP_CONF_IPV6 */
|
||||
#endif /* NETSTACK_CONF_NETWORK */
|
||||
|
||||
#ifndef NETSTACK_CONF_MAC
|
||||
#define NETSTACK_CONF_MAC csma_driver
|
||||
|
@ -178,7 +180,10 @@
|
|||
#define NETSTACK_CONF_RDC_CHANNEL_CHECK_RATE 8
|
||||
#endif
|
||||
|
||||
#ifndef NETSTACK_CONF_FRAMER
|
||||
#define NETSTACK_CONF_FRAMER framer_802154
|
||||
#endif
|
||||
|
||||
#define NETSTACK_CONF_RADIO cc2430_rf_driver
|
||||
|
||||
/* RF Config */
|
||||
|
@ -233,7 +238,9 @@
|
|||
#endif
|
||||
|
||||
/* uIP */
|
||||
#ifndef UIP_CONF_BUFFER_SIZE
|
||||
#define UIP_CONF_BUFFER_SIZE 240
|
||||
#endif
|
||||
#define UIP_CONF_IPV6_QUEUE_PKT 0
|
||||
#define UIP_CONF_IPV6_CHECKS 1
|
||||
#define UIP_CONF_IPV6_REASSEMBLY 0
|
||||
|
|
Loading…
Reference in a new issue