-
Notifications
You must be signed in to change notification settings - Fork 94
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
ESP32: Wifi logs cannot be configured #16
Comments
I've been applying this patch for vaarg support. I've never personally used vaargs, so it's quite possible this patch is buggy, or is missing some other steps? |
Awesome - will give it a try. Long time since I built the compiler myself the last time 😄 |
Just to be clear, it's already included in the esp-* branch patch set, so it should already be working. |
No idea what I tested back then - here is an issue including a way to reproduce it easily: esp-rs/rust#177 |
Unfortunately esp-rs/rust#171 doesn't fix this |
Alternatively, we could implement |
This is an ugly hack but it works. It's not very invasive because it replaces only exactly the function call that bugs out. Not likely woth a PR but if anyone is interested in trying it out, here it is (implemented for esp32 only): 8befe40 |
Callingesp_wifi_internal_set_log_level
oresp_wifi_internal_set_log_mod
crashes immediately or cause crashes later (depending on when those are called) - so Wifi logs are never enabled on ESP32 (i.e. it works fine on ESP32C3)Additionally there is a problem with VaList on ESP32 (or Xtensa in general) - that's why it's conditionally compiled only for ESP32C3 in
log_writev
The text was updated successfully, but these errors were encountered: