samples: net: echo_client and echo_server: Add 6LoCAN config
This commit adds a sample configuration for 6LoCAN to the echo_client and echo_server example. Signed-off-by: Alexander Wachter <alexander.wachter@student.tugraz.at>
This commit is contained in:
parent
8a69b83d3f
commit
f8a5b013d7
2 changed files with 24 additions and 0 deletions
12
samples/net/sockets/echo_client/overlay-6locan.conf
Normal file
12
samples/net/sockets/echo_client/overlay-6locan.conf
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
CONFIG_CAN=y
|
||||||
|
CONFIG_CAN_NET=y
|
||||||
|
CONFIG_CAN_MAX_FILTER=8
|
||||||
|
CONFIG_NET_L2_CANBUS=y
|
||||||
|
CONFIG_NET_L2_CANBUS_BS=8
|
||||||
|
CONFIG_NET_L2_CANBUS_STMIN=0
|
||||||
|
CONFIG_NET_IPV4=n
|
||||||
|
CONFIG_NET_IPV6=y
|
||||||
|
CONFIG_NET_CONFIG_NEED_IPV6=y
|
||||||
|
CONFIG_NET_CONFIG_NEED_IPV4=n
|
||||||
|
CONFIG_NET_CONFIG_MY_IPV4_ADDR=""
|
||||||
|
CONFIG_NET_CONFIG_PEER_IPV4_ADDR=""
|
12
samples/net/sockets/echo_server/overlay-6locan.conf
Normal file
12
samples/net/sockets/echo_server/overlay-6locan.conf
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
CONFIG_CAN=y
|
||||||
|
CONFIG_CAN_NET=y
|
||||||
|
CONFIG_CAN_MAX_FILTER=8
|
||||||
|
CONFIG_NET_L2_CANBUS=y
|
||||||
|
CONFIG_NET_L2_CANBUS_BS=8
|
||||||
|
CONFIG_NET_L2_CANBUS_STMIN=0
|
||||||
|
CONFIG_NET_IPV4=n
|
||||||
|
CONFIG_NET_IPV6=y
|
||||||
|
CONFIG_NET_CONFIG_NEED_IPV6=y
|
||||||
|
CONFIG_NET_CONFIG_NEED_IPV4=n
|
||||||
|
CONFIG_NET_CONFIG_MY_IPV4_ADDR=""
|
||||||
|
CONFIG_NET_CONFIG_PEER_IPV4_ADDR=""
|
Loading…
Add table
Add a link
Reference in a new issue