xtensa/esp32s3: Remove code for not yet supported USB-Serial Driver

Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
Gustavo Henrique Nihei 2022-03-16 13:53:36 -03:00 committed by Alan Carvalho de Assis
parent 57273ad994
commit 0dc2930403
2 changed files with 0 additions and 16 deletions

View File

@ -812,9 +812,6 @@ void up_lowputc(char ch)
/* Then send the character */
esp32s3_lowputc_send_byte(priv, ch);
#elif defined (CONFIG_ESP32S3_USBSERIAL)
esp32s3_usbserial_write(ch);
#endif /* CONSOLE_UART */
}

View File

@ -51,10 +51,6 @@
#include "esp32s3_irq.h"
#include "esp32s3_lowputc.h"
#ifdef CONFIG_ESP32S3_USBSERIAL
# include "esp32s3_usbserial.h"
#endif
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/
@ -96,11 +92,6 @@
# endif
#endif /* CONSOLE_UART */
#ifdef CONFIG_ESP32S3_USBSERIAL
# define CONSOLE_DEV g_uart_usbserial
# define TTYACM0_DEV g_uart_usbserial
#endif
/* Pick ttys1 */
#if defined(CONFIG_ESP32S3_UART0) && !defined(UART0_ASSIGNED)
@ -1093,10 +1084,6 @@ void xtensa_serialinit(void)
#ifdef TTYS1_DEV
uart_register("/dev/ttyS1", &TTYS1_DEV);
#endif
#ifdef CONFIG_ESP32S3_USBSERIAL
uart_register("/dev/ttyACM0", &TTYACM0_DEV);
#endif
}
/****************************************************************************