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:
parent
57273ad994
commit
0dc2930403
@ -812,9 +812,6 @@ void up_lowputc(char ch)
|
|||||||
/* Then send the character */
|
/* Then send the character */
|
||||||
|
|
||||||
esp32s3_lowputc_send_byte(priv, ch);
|
esp32s3_lowputc_send_byte(priv, ch);
|
||||||
|
|
||||||
#elif defined (CONFIG_ESP32S3_USBSERIAL)
|
|
||||||
esp32s3_usbserial_write(ch);
|
|
||||||
#endif /* CONSOLE_UART */
|
#endif /* CONSOLE_UART */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -51,10 +51,6 @@
|
|||||||
#include "esp32s3_irq.h"
|
#include "esp32s3_irq.h"
|
||||||
#include "esp32s3_lowputc.h"
|
#include "esp32s3_lowputc.h"
|
||||||
|
|
||||||
#ifdef CONFIG_ESP32S3_USBSERIAL
|
|
||||||
# include "esp32s3_usbserial.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Pre-processor Definitions
|
* Pre-processor Definitions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
@ -96,11 +92,6 @@
|
|||||||
# endif
|
# endif
|
||||||
#endif /* CONSOLE_UART */
|
#endif /* CONSOLE_UART */
|
||||||
|
|
||||||
#ifdef CONFIG_ESP32S3_USBSERIAL
|
|
||||||
# define CONSOLE_DEV g_uart_usbserial
|
|
||||||
# define TTYACM0_DEV g_uart_usbserial
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Pick ttys1 */
|
/* Pick ttys1 */
|
||||||
|
|
||||||
#if defined(CONFIG_ESP32S3_UART0) && !defined(UART0_ASSIGNED)
|
#if defined(CONFIG_ESP32S3_UART0) && !defined(UART0_ASSIGNED)
|
||||||
@ -1093,10 +1084,6 @@ void xtensa_serialinit(void)
|
|||||||
#ifdef TTYS1_DEV
|
#ifdef TTYS1_DEV
|
||||||
uart_register("/dev/ttyS1", &TTYS1_DEV);
|
uart_register("/dev/ttyS1", &TTYS1_DEV);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_ESP32S3_USBSERIAL
|
|
||||||
uart_register("/dev/ttyACM0", &TTYACM0_DEV);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
Loading…
Reference in New Issue
Block a user