Initialize console peripheral type Console peripheral is based on sdkconfig settings UART CONFIG_ESP_CONSOLE_UART_DEFAULT USB_OTG CONFIG_ESP_CONSOLE_USB_CDC USB_SERIAL_JTAG CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG
Initialize linenoise and esp console This function initialize linenoise library and esp_console component, also checks if the terminal supports escape sequences