mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-12 13:27:36 +00:00
mac_addr(C6 and H2): Fix byte order of MAC_EXT and change format of IEEE802154 MAC
The changes only related to C6 and H2 chips where CONFIG_SOC_IEEE802154_SUPPORTED=y. For this case these APIs return 8 bytes esp_efuse_mac_get_default() -> 8 bytes esp_efuse_mac_get_custom() -> 8 bytes esp_read_mac(..., ESP_MAC_IEEE802154) -> 8 bytes The rest cases len is 6 bytes
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
#include <assert.h>
|
||||
#include "esp_efuse_table.h"
|
||||
|
||||
// md5_digest_table ab312e31f6976fdf923a9809093323fd
|
||||
// md5_digest_table 344c54cf227f74643e4d13dce1b1d30f
|
||||
// This file was generated from the file esp_efuse_table.csv. DO NOT CHANGE THIS FILE MANUALLY.
|
||||
// If you want to change some fields, you need to change esp_efuse_table.csv file
|
||||
// then run `efuse_common_table` or `efuse_custom_table` command it will generate this file.
|
||||
@@ -481,7 +481,8 @@ static const esp_efuse_desc_t MAC[] = {
|
||||
};
|
||||
|
||||
static const esp_efuse_desc_t MAC_EXT[] = {
|
||||
{EFUSE_BLK1, 48, 16}, // [] Stores the extended bits of MAC address,
|
||||
{EFUSE_BLK1, 56, 8}, // [] Stores the extended bits of MAC address,
|
||||
{EFUSE_BLK1, 48, 8}, // [] Stores the extended bits of MAC address,
|
||||
};
|
||||
|
||||
static const esp_efuse_desc_t WAFER_VERSION_MINOR[] = {
|
||||
@@ -1142,6 +1143,7 @@ const esp_efuse_desc_t* ESP_EFUSE_MAC[] = {
|
||||
|
||||
const esp_efuse_desc_t* ESP_EFUSE_MAC_EXT[] = {
|
||||
&MAC_EXT[0], // [] Stores the extended bits of MAC address
|
||||
&MAC_EXT[1], // [] Stores the extended bits of MAC address
|
||||
NULL
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user