diff --git a/components/esp_hw_support/mac_addr.c b/components/esp_hw_support/mac_addr.c index 5769308c70..803e1bdfaf 100644 --- a/components/esp_hw_support/mac_addr.c +++ b/components/esp_hw_support/mac_addr.c @@ -14,6 +14,7 @@ #if CONFIG_ESP32_UNIVERSAL_MAC_ADDRESSES_FOUR || \ CONFIG_ESP32S3_UNIVERSAL_MAC_ADDRESSES_FOUR || \ + CONFIG_ESP32C2_UNIVERSAL_MAC_ADDRESSES_FOUR || \ CONFIG_ESP32C3_UNIVERSAL_MAC_ADDRESSES_FOUR #define MAC_ADDR_UNIVERSE_BT_OFFSET 2 #else diff --git a/examples/system/base_mac_address/README.md b/examples/system/base_mac_address/README.md index 57d919a611..1982d2d070 100644 --- a/examples/system/base_mac_address/README.md +++ b/examples/system/base_mac_address/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-S2 | ESP32-S3 | ESP32-C3 | -| ----------------- | ----- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-S2 | ESP32-S3 | ESP32-C2 | ESP32-C3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | # Base MAC Address diff --git a/examples/system/base_mac_address/pytest_base_mac_address.py b/examples/system/base_mac_address/pytest_base_mac_address.py index 41c2910b06..ee3dcb7381 100644 --- a/examples/system/base_mac_address/pytest_base_mac_address.py +++ b/examples/system/base_mac_address/pytest_base_mac_address.py @@ -5,11 +5,7 @@ import pytest from pytest_embedded import Dut -# IDF-5046 -@pytest.mark.esp32 -@pytest.mark.esp32s2 -@pytest.mark.esp32s3 -@pytest.mark.esp32c3 +@pytest.mark.supported_targets @pytest.mark.generic def test_base_mac_address(dut: Dut) -> None: dut.expect_exact('BASE_MAC: Base MAC Address read from EFUSE BLK0')