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

DEBUG setting in EnigmaIOTConfig.h has no effect on ESP32 platform #14

Closed
gmag11 opened this issue Oct 11, 2020 · 2 comments
Closed

DEBUG setting in EnigmaIOTConfig.h has no effect on ESP32 platform #14

gmag11 opened this issue Oct 11, 2020 · 2 comments
Labels
question Further information is requested

Comments

@gmag11
Copy link
Owner

gmag11 commented Oct 11, 2020

@quangvankts asked in #11

DEBUG seems only work on my ESP8266 node but not ESP32 gateway. I tried "#define DEBUG_LEVEL VERBOSE" and "#define DEBUG_ESP_PORT Serial" at the main sketch with no effect. Serial.printf() still works as normal. (Im using Platform IO latest core)

@gmag11 gmag11 added the question Further information is requested label Oct 11, 2020
@gmag11
Copy link
Owner Author

gmag11 commented Oct 11, 2020

That's right, ESP32 platform uses different mechanism to configure debug level.

If you use Arduino you need to configure debug level in board configuration (core debug level).

If you use Platformio you may read this section in Platformio docs: https://docs.platformio.org/en/latest/platforms/espressif32.html#debug-level

@gmag11 gmag11 closed this as completed Oct 11, 2020
@quangvankts
Copy link

Yes I understand how debug configuration work on EPS32 now
Thanks !

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

No branches or pull requests

2 participants