Echoing console's input is now performed by the serial driver (https://github.com/apache/nuttx/pull/8691). In order to keep old behavior of CR being echoed by the device, it's needed to detected whenever NL is being echoed and send CR before sending it.