mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
fix(doc): Update MAC-address related documentation for ESP32-P4
Closes https://github.com/espressif/esp-idf/issues/18159
This commit is contained in:
committed by
Konstantin Kondrashov
parent
46ee782a21
commit
690256b982
@@ -10,9 +10,8 @@ choice ESP32P4_UNIVERSAL_MAC_ADDRESSES
|
|||||||
If the number of universal MAC addresses is one, only Ethernet interface receives a universally
|
If the number of universal MAC addresses is one, only Ethernet interface receives a universally
|
||||||
administered MAC address. It's generated by adding 0 to the base MAC address.
|
administered MAC address. It's generated by adding 0 to the base MAC address.
|
||||||
|
|
||||||
When using the default (Espressif-assigned) base MAC address, either setting can be used. When using
|
On ESP32-P4 this value is fixed to one, because only Ethernet receives a universally administered
|
||||||
a custom universal MAC address range, the correct setting will depend on the allocation of MAC
|
MAC address.
|
||||||
addresses in this range.
|
|
||||||
|
|
||||||
config ESP32P4_UNIVERSAL_MAC_ADDRESSES_ONE
|
config ESP32P4_UNIVERSAL_MAC_ADDRESSES_ONE
|
||||||
bool "One"
|
bool "One"
|
||||||
|
|||||||
@@ -39,7 +39,22 @@ To fetch the MAC address for a specific network interface (e.g., Wi-Fi, Bluetoot
|
|||||||
|
|
||||||
In ESP-IDF, the MAC addresses for the various network interfaces are calculated from a single **base MAC address**. By default, the Espressif base MAC address is used. This base MAC address is pre-programmed into the {IDF_TARGET_NAME} eFuse in the factory during production.
|
In ESP-IDF, the MAC addresses for the various network interfaces are calculated from a single **base MAC address**. By default, the Espressif base MAC address is used. This base MAC address is pre-programmed into the {IDF_TARGET_NAME} eFuse in the factory during production.
|
||||||
|
|
||||||
.. only:: not esp32s2
|
.. only:: esp32p4
|
||||||
|
|
||||||
|
.. list-table::
|
||||||
|
:widths: 20 80
|
||||||
|
:header-rows: 1
|
||||||
|
|
||||||
|
* - Interface
|
||||||
|
- MAC Address (1 universally administered, default)
|
||||||
|
* - Ethernet
|
||||||
|
- base_mac
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
|
||||||
|
On ESP32-P4, :ref:`CONFIG_{IDF_TARGET_CFG_PREFIX}_UNIVERSAL_MAC_ADDRESSES` is fixed to one universally administered MAC address.
|
||||||
|
|
||||||
|
.. only:: (not esp32s2) and (not esp32p4)
|
||||||
|
|
||||||
.. list-table::
|
.. list-table::
|
||||||
:widths: 20 40 40
|
:widths: 20 40 40
|
||||||
|
|||||||
Reference in New Issue
Block a user