From c3aa195940a09a5291a8c687f6c1dea603bc4404 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Mon, 14 Jan 2019 14:28:29 +0200 Subject: [PATCH] samples: sockets: Add eth_smsc911x overlays Add overlays for commonly used socket samples: big_http_download and dumb_http_server. Can be used with: make BOARD=mps2_an385 CONF_FILE="prj.conf overlay-smsc911x.conf" Signed-off-by: Paul Sokolovsky --- samples/net/sockets/big_http_download/overlay-smsc911x.conf | 4 ++++ samples/net/sockets/dumb_http_server/overlay-smsc911x.conf | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 samples/net/sockets/big_http_download/overlay-smsc911x.conf create mode 100644 samples/net/sockets/dumb_http_server/overlay-smsc911x.conf diff --git a/samples/net/sockets/big_http_download/overlay-smsc911x.conf b/samples/net/sockets/big_http_download/overlay-smsc911x.conf new file mode 100644 index 00000000000..e6b9cb162d1 --- /dev/null +++ b/samples/net/sockets/big_http_download/overlay-smsc911x.conf @@ -0,0 +1,4 @@ +CONFIG_NET_L2_ETHERNET=y +CONFIG_NET_QEMU_ETHERNET=y + +CONFIG_ETH_SMSC911X=y diff --git a/samples/net/sockets/dumb_http_server/overlay-smsc911x.conf b/samples/net/sockets/dumb_http_server/overlay-smsc911x.conf new file mode 100644 index 00000000000..e6b9cb162d1 --- /dev/null +++ b/samples/net/sockets/dumb_http_server/overlay-smsc911x.conf @@ -0,0 +1,4 @@ +CONFIG_NET_L2_ETHERNET=y +CONFIG_NET_QEMU_ETHERNET=y + +CONFIG_ETH_SMSC911X=y