From 69fa7dc2686e44b3ed45aab1de4ecddd6848d9fc Mon Sep 17 00:00:00 2001 From: Julien Vermillard Date: Sat, 27 Apr 2024 12:55:05 +0200 Subject: [PATCH] boards: esp32xx: m5stickc_plus WiFi sample support Add an overlay to correctely configure the M5 Stick plus WiFi. Signed-off-by: Julien Vermillard --- samples/net/wifi/boards/m5stickc_plus_procpu.conf | 11 +++++++++++ samples/net/wifi/boards/m5stickc_plus_procpu.overlay | 9 +++++++++ 2 files changed, 20 insertions(+) create mode 100644 samples/net/wifi/boards/m5stickc_plus_procpu.conf create mode 100644 samples/net/wifi/boards/m5stickc_plus_procpu.overlay diff --git a/samples/net/wifi/boards/m5stickc_plus_procpu.conf b/samples/net/wifi/boards/m5stickc_plus_procpu.conf new file mode 100644 index 0000000000..a72fdf39ef --- /dev/null +++ b/samples/net/wifi/boards/m5stickc_plus_procpu.conf @@ -0,0 +1,11 @@ +CONFIG_WIFI=y + +CONFIG_NETWORKING=y +CONFIG_NET_L2_ETHERNET=y + +CONFIG_NET_IPV6=n +CONFIG_NET_IPV4=y +CONFIG_NET_DHCPV4=y +CONFIG_ESP32_WIFI_STA_AUTO_DHCPV4=y + +CONFIG_NET_LOG=y diff --git a/samples/net/wifi/boards/m5stickc_plus_procpu.overlay b/samples/net/wifi/boards/m5stickc_plus_procpu.overlay new file mode 100644 index 0000000000..ea9865cf5f --- /dev/null +++ b/samples/net/wifi/boards/m5stickc_plus_procpu.overlay @@ -0,0 +1,9 @@ +/* + * Copyright (c) 2022 Espressif Systems (Shanghai) Co., Ltd. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +&wifi { + status = "okay"; +};