espressif / ESP8266_RTOS_SDK

Latest ESP8266 SDK based on FreeRTOS, esp-idf style.
http://bbs.espressif.com
Apache License 2.0
3.35k stars 1.57k forks source link

esp8266/ets_printf: Introduce __ets_vprintf_disable (GIT8266O-829) #1253

Open Sonic-Amiga opened 1 year ago

Sonic-Amiga commented 1 year ago

A quick solution to serial port pollution bug. The culprit is libnet80211.a, which uses ets_printf() long after the system bootup. Set the flag from within the application to nonzero value in order to completely suppress this output.

Signed-off-by: Pavel Fedin pavel_fedin@mail.ru

This patch is a quick solution to https://github.com/espressif/ESP8266_RTOS_SDK/issues/1082