nodemcu / nodemcu-firmware

Lua based interactive firmware for ESP8266, ESP8285 and ESP32
https://nodemcu.readthedocs.io
MIT License
7.64k stars 3.12k forks source link

Make UART buffer sizes configurable. #3500

Closed jmattsson closed 2 years ago

jmattsson commented 2 years ago

This PR adds the ability to configure the UART buffer sizes via Kconfig. We've had a need for this feature a couple of times here at $work, so it seems worthwhile to PR it.

It also corrects an outdated assumption about the number of UARTs available in the system - some of the more recent models only have 2 UARTs instead of the original 3.