-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Build is broken when -DUSE_ESP_IDF_LOG
is used
#9813
Comments
Fixed in 3.0.1 |
Thank you for the responses. Does it mean this won't be cherry-picked into v2.0.x and only v3.x.x is supported? |
We do not plan to release other version for 2.X branch, only if any crucial issue will occur. Please consider migrating to version 3.X, there is a migration guide and we hope it will not cause you a lot of problems. I am adding a label "backport needed" to this issue for tracking. |
Bump, was there a solution for the 2x branch for PlatformIO users, please? |
Board
ESP32 Dev Module
Device Description
ESP32 Dev Module
Hardware Configuration
Not relevant, build failure
Version
v2.0.17
IDE Name
Not relevant, build failure
Operating System
Ubuntu 22.04
Flash frequency
Not relevant, build failure
PSRAM enabled
no
Upload speed
Not relevant, build failure
Description
I want to redirect logs to a custom function that decides where the logs should end up. Based on my understanding of source code and #4346 this is not possible.
It seems that
esp32-hal-log.h
allows for using-DUSE_ESP_IDF_LOG
in order to use ESP-IDF logging facilities that support redirection of logs. However, once this option is specified, the compilation fails as many sources do not specify ESP-IDF logging tag (e.g.,WString.cpp
,HardwareSerial.cpp
)Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: