mac addr: fix wrong offset being used for C2 BT mac address

This commit is contained in:
Marius Vikhammer
2022-06-28 15:30:24 +08:00
parent 34e9f54a48
commit 4ffb15916e
3 changed files with 4 additions and 7 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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')