boards: esp32xx: m5stickc_plus WiFi sample support
Add an overlay to correctely configure the M5 Stick plus WiFi. Signed-off-by: Julien Vermillard <julien@vermillard.com>
This commit is contained in:
parent
391da6f8f5
commit
69fa7dc268
11
samples/net/wifi/boards/m5stickc_plus_procpu.conf
Normal file
11
samples/net/wifi/boards/m5stickc_plus_procpu.conf
Normal file
|
@ -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
|
9
samples/net/wifi/boards/m5stickc_plus_procpu.overlay
Normal file
9
samples/net/wifi/boards/m5stickc_plus_procpu.overlay
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2022 Espressif Systems (Shanghai) Co., Ltd.
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
&wifi {
|
||||||
|
status = "okay";
|
||||||
|
};
|
Loading…
Reference in a new issue