没有对MAC地址做过操作但丢失了MAC地址
Posted: Tue Jan 12, 2021 4:01 am
Code: Select all
I (0) cpu_start: Starting scheduler on APP CPU.
I (512) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (552) wifi station: ESP_WIFI_MODE_STA
I (572) wifi:wifi driver task: 3ffc1c24, prio:23, stack:6656, core=0
I (572) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (572) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
在近日的项目开发中突然遇到程序无法进入wifi_init gpio_init等功能函数时,测试官方给的例程,发现了该问。
目前尝试的解决办法是
- uint8_t *mac;
- mac = (uint8_t*)malloc(6);
- // esp_efuse_mac_get_default(mac);
- esp_read_mac(mac,0);