-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Compilation breaks when using -DUSE_ESP_IDF_LOG #4990
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
[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
[STALE_DEL] This stale issue has been automatically closed. Thank you for your contributions. |
same problem here. Any solution to this? |
Hello @salmon-charles and @cyberman54. Are you able to test your issue on development version 2.0.3-RC1 to check if this is still valid? You can take a look on Docs where is explained how to choose development release version in Arduino IDE. |
@VojtechBartoska Test environment: IDE: platformIO with arduino-espressif32 as framework
Result:
etc. etc. |
There are misuses in the different posts. In between the versions that the OP tested agains and @cyberman54 tested agains, |
If i try to compile a project which is using arduino style logging (e.g. using
@me-no-dev At this point i am lost what to do? |
I have started a fresh new project and I still have errors. platform.ini
main.cpp
Output:
What should I do ? Thanks ! |
In fact, keeping
in esp32-hal-log.h works (assuming TAG is not defined elsewhere in the code). What I dont understand, is that |
|
Still one error in my project:
|
See #6893 |
Hello,
First, I really appreciate that someone is working on this topic: I need to redirect the logs to a telnet console and without your change it is difficult without having to refactor my code.
I am using PlatformIO with Expressif 32 [email protected].
If I look the esp32-hal-log.h file (in /.platformio/packages/framework-arduinoespressif32/cores/esp32), I can see that the USE_ESP_IDF_LOG is handled.
When I compiled my project, I have the following errors:
StatusManager.h
How should I declare my class TAG ?
Moreover, I have a lot of warnings like this:
For a lot of included files that comes from external libraries (ie not related with my project code).
Thanks a lot
Charles
The text was updated successfully, but these errors were encountered: