Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error: 'esp_efuse_mac_get_default' was not declared in this scope #62

Open
sebastian1967 opened this issue Oct 24, 2024 · 2 comments

Comments

@sebastian1967
Copy link

Hi Timo,
when I try to compile the NMEA2000ToNMEA0183 sketch I get this error: "Compilation error: 'esp_efuse_mac_get_default' was not declared in this scope". The Arduino IDE is the 2.3.3 and the bosrd is an ESP32-Wroom. Is there another way to get the mac address of the board?
Thanks a lot!
Sebastian

@ttlappalainen
Copy link
Owner

That is since they have changed includes. Function was previously included as default, but now you may need to add #include "esp_mac.h" on BoardSerialNumber.cpp. Or just comment the call, if you do not need it.

@sebastian1967
Copy link
Author

#include "esp_mac.h"

Thanks a lot Timo!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants