Skip to content

Commit 65b81a7

Browse files
committed
samples: sockets: added s2868a1 overlay conf files
Added s2868a1 overlay config files at the echo_client and echo_server samples. Signed-off-by: Nick Oikonomou <nikoikonomou92@gmail.com>
1 parent 34e55f3 commit 65b81a7

File tree

4 files changed

+38
-0
lines changed

4 files changed

+38
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
CONFIG_GPIO=y
2+
CONFIG_SPI=y
3+
CONFIG_IEEE802154=y
4+
CONFIG_NET_L2_IEEE802154=y
5+
CONFIG_NET_L2_IEEE802154_SHELL=y
6+
CONFIG_NET_IPV4=n
7+
CONFIG_NET_CONFIG_NEED_IPV4=n
8+
CONFIG_NET_CONFIG_MY_IPV4_ADDR=""
9+
CONFIG_NET_CONFIG_PEER_IPV4_ADDR=""
10+
CONFIG_NET_TCP=n
11+
CONFIG_IEEE802154_DRIVER_LOG_LEVEL_DBG=y
12+
CONFIG_NET_CONFIG_IEEE802154_DEV_NAME="IEEE802154_S2LP"
13+
14+
CONFIG_IEEE802154_S2LP=y

samples/net/sockets/echo_client/sample.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,6 @@ tests:
3535
extra_args: OVERLAY_CONFIG="overlay-enc28j60.conf"
3636
tags: net enc28j60
3737
platform_whitelist: arduino_101
38+
sample.net.sockets.echo_client.s2lp:
39+
extra_args: OVERLAY_CONFIG="overlay-s2868a1.conf"
40+
tags: net
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
CONFIG_GPIO=y
2+
CONFIG_SPI=y
3+
CONFIG_IEEE802154=y
4+
CONFIG_NET_L2_IEEE802154=y
5+
CONFIG_NET_L2_IEEE802154_SHELL=n
6+
CONFIG_NET_IPV4=n
7+
CONFIG_NET_CONFIG_NEED_IPV4=n
8+
CONFIG_NET_CONFIG_MY_IPV4_ADDR=""
9+
CONFIG_NET_CONFIG_PEER_IPV4_ADDR=""
10+
CONFIG_NET_TCP=n
11+
CONFIG_IEEE802154_DRIVER_LOG_LEVEL_DBG=y
12+
CONFIG_NET_CONFIG_IEEE802154_DEV_NAME="IEEE802154_S2LP"
13+
14+
CONFIG_IEEE802154_S2LP=y

samples/net/sockets/echo_server/sample.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,10 @@ tests:
6464
extra_args: OVERLAY_CONFIG="overlay-smsc911x.conf"
6565
tags: net
6666
platform_whitelist: mps2_an385
67+
sample.net.sockets.echo_server.smsc911x:
68+
extra_args: OVERLAY_CONFIG="overlay-s2868a1.conf"
69+
tags: net
70+
platform_whitelist: mps2_an385
71+
sample.net.sockets.echo_server.s2lp:
72+
extra_args: OVERLAY_CONFIG="overlay-s2868a1.conf"
73+
tags: net

0 commit comments

Comments
 (0)