2023-07-25 00:18:16 -04:00
|
|
|
choice ESP32P4_UNIVERSAL_MAC_ADDRESSES
|
|
|
|
bool "Number of universally administered (by IEEE) MAC address"
|
2024-01-24 05:59:43 -05:00
|
|
|
default ESP32P4_UNIVERSAL_MAC_ADDRESSES_ONE
|
2023-07-25 00:18:16 -04:00
|
|
|
help
|
2024-01-24 05:59:43 -05:00
|
|
|
Configure the number of universally administered (by IEEE) MAC addresses.
|
2023-07-25 00:18:16 -04:00
|
|
|
|
2024-01-24 05:59:43 -05:00
|
|
|
During initialization, MAC addresses for each network interface are generated or derived from a
|
|
|
|
single base MAC address.
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
When using the default (Espressif-assigned) base MAC address, either setting can be used. When using
|
|
|
|
a custom universal MAC address range, the correct setting will depend on the allocation of MAC
|
|
|
|
addresses in this range.
|
|
|
|
|
|
|
|
config ESP32P4_UNIVERSAL_MAC_ADDRESSES_ONE
|
|
|
|
bool "One"
|
|
|
|
select ESP_MAC_UNIVERSAL_MAC_ADDRESSES_ONE
|
2023-07-25 00:18:16 -04:00
|
|
|
select ESP_MAC_ADDR_UNIVERSE_ETH
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config ESP32P4_UNIVERSAL_MAC_ADDRESSES
|
|
|
|
int
|
2024-01-24 05:59:43 -05:00
|
|
|
default 1 if ESP32P4_UNIVERSAL_MAC_ADDRESSES_ONE
|