-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
ESP32: "phy: phy_version" log message in raw mode #5119
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
Related discussion on ESP-IDF repo at espressif/esp-idf#1855 was closed, but without fixing the root cause. #3817 silences messages by using Note comments in
We could presumably provide our own lib_printf.c which overrides these functions to call into the |
Hmm, so one option would be to just disable logging, using I wonder if we can define
That will probably make the firmware really big because the levels can't be optimised out by the compiler. Failing that we would need to provide our own implementation of the |
Add address_little_endian for epaper displays with little endian (low byte first) addresses. Also clears allocated display and display bus memory so it has a known state. The acep member wasn't always set so it varied accidentally. Fixes micropython#7560. May fix micropython#7778. Fixes micropython#5119.
Log messages are supposed to all be suppressed in raw mode (See PR #3817)
but this "phy: phy_version" message sneaks through. The interjected log message upsets all the usual REPL-bashing tools like ampy and mpy-utils.
This is on the official 1.11 build from https://micropython.org/downloads#esp32 . Brought to my attention by Seon @UnexpectedMaker and Jim @jimmo
To replicate, go into raw REPL with ctrl-A:
import network
network.WLAN().active(1)
The text was updated successfully, but these errors were encountered: