Cannot prevent WIFI console output
-
Hi all,
I'm using the network.WLAN module to connect to my WiFi router using the LoPy but I'm really annoyed by the fact that the status output on the console cannot be shut down.
It would be nice if there could be a "verbose" parameter to be set during the initialization -
I completely second this, especially after the REPL console starts up.
-
It's not easy because those come from the low level ESP-IDF C API (the "operating system") where that's a compile time option.
You can recompile the firmware yourself and disable but then there's no dynamic way to turn them back on again.
That said if you access the console (REPL) over telnet instead of the serial port you won't see them.
-
What is the compile time option exactly?
-
@BluCode
CONFIG_CONSOLE_UART_NONE=yin sdkconfig -
@jmarcelino Which file is to change where. The only sdkconfig file I have here in the sdk is:
$MYPATH/pycom-esp-idf/tools/unit-test-app/sdkconfig -
@robert-hh
Ha yes, slightly different setup on my side sorry.You should add
#define CONFIG_CONSOLE_UART_NONE 1to your pycom-micropython-sigfox/esp32/sdkconfig.h -
@jmarcelino Thanks. I think I tried that this morning, but w/o success. I'll retry this evening.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login