2017-08-23 19:57:06 +08:00
|
|
|
CONFIG_ARC_INIT=n
|
|
|
|
|
|
|
|
CONFIG_NETWORKING=y
|
|
|
|
|
2017-10-14 07:30:55 +08:00
|
|
|
CONFIG_ENTROPY_GENERATOR=y
|
2017-08-23 19:57:06 +08:00
|
|
|
CONFIG_TEST_RANDOM_GENERATOR=y
|
|
|
|
|
|
|
|
CONFIG_NET_PKT_RX_COUNT=15
|
|
|
|
CONFIG_NET_PKT_TX_COUNT=15
|
|
|
|
CONFIG_NET_BUF_RX_COUNT=25
|
|
|
|
CONFIG_NET_BUF_TX_COUNT=25
|
|
|
|
|
|
|
|
CONFIG_NET_IPV6=y
|
|
|
|
CONFIG_NET_IPV6_RA_RDNSS=n
|
|
|
|
CONFIG_NET_IF_UNICAST_IPV6_ADDR_COUNT=3
|
|
|
|
CONFIG_NET_IF_MCAST_IPV6_ADDR_COUNT=4
|
|
|
|
CONFIG_NET_IF_IPV6_PREFIX_COUNT=5
|
|
|
|
|
|
|
|
CONFIG_NET_IPV6_ND=n
|
|
|
|
CONFIG_NET_IPV6_DAD=y
|
|
|
|
CONFIG_NET_IPV6_MLD=n
|
|
|
|
|
|
|
|
CONFIG_NET_UDP=y
|
|
|
|
|
|
|
|
CONFIG_NET_6LO=y
|
|
|
|
CONFIG_NET_6LO_CONTEXT=y
|
|
|
|
CONFIG_NET_MAX_6LO_CONTEXTS=3
|
|
|
|
|
|
|
|
CONFIG_NET_LOG=y
|
|
|
|
CONFIG_SYS_LOG_SHOW_COLOR=y
|
|
|
|
CONFIG_SYS_LOG_NET_LEVEL=4
|
|
|
|
CONFIG_INIT_STACKS=y
|
|
|
|
CONFIG_PRINTK=y
|
|
|
|
|
|
|
|
CONFIG_NET_BUF_LOG=n
|
|
|
|
CONFIG_SYS_LOG_NET_BUF_LEVEL=1
|
|
|
|
|
|
|
|
CONFIG_GPIO=y
|
|
|
|
|
|
|
|
CONFIG_COAP=y
|
|
|
|
CONFIG_COAP_WELL_KNOWN_BLOCK_WISE=y
|
|
|
|
CONFIG_COAP_WELL_KNOWN_BLOCK_WISE_SIZE=64
|
|
|
|
CONFIG_NET_DEBUG_COAP=y
|
|
|
|
|
|
|
|
CONFIG_NET_RPL=y
|
|
|
|
CONFIG_NET_RPL_PROBING=y
|
|
|
|
CONFIG_NET_RPL_STATS=y
|
|
|
|
CONFIG_NET_RPL_MIN_HOP_RANK_INC=128
|
|
|
|
|
|
|
|
CONFIG_NET_L2_IEEE802154=y
|
|
|
|
CONFIG_NET_L2_IEEE802154_FRAGMENT=y
|
|
|
|
CONFIG_IEEE802154_CC2520=y
|
|
|
|
CONFIG_IEEE802154_CC2520_AUTO_ACK=n
|
|
|
|
|
|
|
|
# IP core debug
|
|
|
|
CONFIG_NET_DEBUG_CORE=y
|
|
|
|
CONFIG_NET_DEBUG_IPV6_NBR_CACHE=y
|
|
|
|
CONFIG_NET_DEBUG_IPV6=y
|
|
|
|
CONFIG_NET_DEBUG_NET_BUF=n
|
|
|
|
CONFIG_NET_DEBUG_UTILS=n
|
|
|
|
CONFIG_NET_DEBUG_IF=y
|
|
|
|
CONFIG_NET_DEBUG_ICMPV6=y
|
|
|
|
CONFIG_NET_DEBUG_CONN=n
|
|
|
|
CONFIG_NET_DEBUG_UDP=n
|
|
|
|
CONFIG_NET_DEBUG_CONTEXT=n
|
|
|
|
CONFIG_NET_DEBUG_ROUTE=y
|
|
|
|
CONFIG_NET_DEBUG_6LO=n
|
|
|
|
CONFIG_NET_DEBUG_RPL=y
|
|
|
|
|
|
|
|
CONFIG_NET_STATISTICS=n
|
|
|
|
CONFIG_NET_STATISTICS_PERIODIC_OUTPUT=n
|
|
|
|
|
|
|
|
CONFIG_NET_SHELL=y
|
|
|
|
|
|
|
|
# L2 Debug
|
|
|
|
CONFIG_NET_DEBUG_L2_IEEE802154=n
|
|
|
|
CONFIG_NET_DEBUG_L2_IEEE802154_FRAGMENT=n
|
|
|
|
CONFIG_SYS_LOG_IEEE802154_DRIVER_LEVEL=0
|
|
|
|
|
|
|
|
CONFIG_NET_APP_SETTINGS=y
|
|
|
|
CONFIG_NET_APP_IEEE802154_CHANNEL=18
|
|
|
|
CONFIG_NET_APP_IEEE802154_DEV_NAME="cc2520"
|
|
|
|
|
|
|
|
CONFIG_IEEE802154_CC2520_RANDOM_MAC=n
|
|
|
|
CONFIG_IEEE802154_CC2520_MAC4=0x00
|
|
|
|
CONFIG_IEEE802154_CC2520_MAC5=0x00
|
|
|
|
CONFIG_IEEE802154_CC2520_MAC6=0x00
|
|
|
|
CONFIG_IEEE802154_CC2520_MAC7=0x03
|