From a17b57b0621308d9c5e700f1437baedb04547536 Mon Sep 17 00:00:00 2001 From: ChenJianxing Date: Mon, 19 Apr 2021 20:12:28 +0800 Subject: [PATCH] fix esp32c3 default mac addr count --- components/esp32c3/Kconfig | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/components/esp32c3/Kconfig b/components/esp32c3/Kconfig index a7c7c0cc10..45ec6b7874 100644 --- a/components/esp32c3/Kconfig +++ b/components/esp32c3/Kconfig @@ -50,7 +50,7 @@ menu "ESP32C3-Specific" choice ESP32C3_UNIVERSAL_MAC_ADDRESSES bool "Number of universally administered (by IEEE) MAC address" - default ESP32C3_UNIVERSAL_MAC_ADDRESSES_TWO + default ESP32C3_UNIVERSAL_MAC_ADDRESSES_FOUR help Configure the number of universally administered (by IEEE) MAC addresses. During initialization, MAC addresses for each network interface are generated or derived from a @@ -69,21 +69,22 @@ menu "ESP32C3-Specific" bool "Two" select ESP_MAC_ADDR_UNIVERSE_WIFI_STA select ESP_MAC_ADDR_UNIVERSE_BT - config ESP32C3_UNIVERSAL_MAC_ADDRESSES_THREE - bool "Three" + config ESP32C3_UNIVERSAL_MAC_ADDRESSES_FOUR + bool "Four" select ESP_MAC_ADDR_UNIVERSE_WIFI_STA select ESP_MAC_ADDR_UNIVERSE_WIFI_AP select ESP_MAC_ADDR_UNIVERSE_BT + select ESP_MAC_ADDR_UNIVERSE_ETH endchoice config ESP32C3_UNIVERSAL_MAC_ADDRESSES int default 2 if ESP32C3_UNIVERSAL_MAC_ADDRESSES_TWO - default 3 if ESP32C3_UNIVERSAL_MAC_ADDRESSES_THREE + default 4 if ESP32C3_UNIVERSAL_MAC_ADDRESSES_FOUR config ESP_MAC_ADDR_UNIVERSE_BT_OFFSET int - default 2 if ESP32C3_UNIVERSAL_MAC_ADDRESSES_THREE + default 2 if ESP32C3_UNIVERSAL_MAC_ADDRESSES_FOUR default 1 if ESP32C3_UNIVERSAL_MAC_ADDRESSES_TWO config ESP32C3_DEBUG_OCDAWARE