Commit 91f84878 authored by Raffael Rostagno's avatar Raffael Rostagno Committed by Anas Nashif
Browse files

wifi: esp32c2: Add support



Added wifi support to ESP32C2 and ESP8684

Signed-off-by: default avatarRaffael Rostagno <raffael.rostagno@espressif.com>
parent 77d25a48
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -240,7 +240,7 @@ config ESP32_WIFI_RX_IRAM_OPT
config ESP32_WIFI_FTM_ENABLE
	bool "WiFi FTM"
	default n
	depends on SOC_SERIES_ESP32C3
	depends on SOC_SERIES_ESP32C2 || SOC_SERIES_ESP32C3
	help
	  Enable feature Fine Timing Measurement for calculating WiFi Round-Trip-Time (RTT).

+5 −0
Original line number Diff line number Diff line
@@ -45,6 +45,11 @@
		status = "okay";
	};

	wifi: wifi {
		compatible = "espressif,esp32-wifi";
		status = "disabled";
	};

	soc {
		#address-cells = <1>;
		#size-cells = <1>;
+11 −0
Original line number Diff line number Diff line
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 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 2024 Espressif Systems (Shanghai) Co., Ltd.
 *
 * SPDX-License-Identifier: Apache-2.0
 */

&wifi {
	status = "okay";
};