-
-
Notifications
You must be signed in to change notification settings - Fork 174
Name clash of const char *TAG
with Arduino core macro TAG
.
#670
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
Comments
I've never heard of this issue before, this must be something to do with the new arduino core? |
Not really, this is a feature that was implemented with PR espressif/arduino-esp32#4845 in 2021. It allows redirecting logs from IDF and Arduino to your own logging mechanism by calling I also first thought it was CORE 3.0.0 that broke my build and reported this in Arduino CORE |
Please note that renaming
I introduced the new
to nimconfig.h and all is good. ;-) I'm not sure if this is the cleanest or correct way to do it, but now NimBLE logs also get logged correctly via my own logging mechanism. |
Okay, that makes sense now, thanks!. I will make that change shortly. |
Thank you very much! Also for maintaining this NimBLE fork! (which should be the canonical BLE lib in Ardunio, IMHO!) |
Easy to fix by renaming TAG to e.g. tag in:
nimble/esp_port/esp-hci/src/esp_nimble_hci.c
nimble/nimble/host/store/config/src/ble_store_nvs.c
The text was updated successfully, but these errors were encountered: