zephyr/drivers/serial
Jordan Yates 8e2b2fe595 serial: `CONFIG_USB_CDC_ACM` adds file to library
It is possible to use the UART abstraction for USB communications
without any of the dedicated UART drivers being enabled. This currently
causes a compilation error because CMake throws an error if a library
has no sources. The empty file forces there to be at least one file in
the library when `CONFIG_USB_CDC_ACM` is enabled.

Removing `select CONFIG_SERIAL_HAS_DRIVER` from `CONFIG_USB_CDC_ACM` is
not a valid solution as this symbol is required by `CONFIG_UART_CONSOLE`
and therefore `USB_UART_CONSOLE`.

Fixes #31067.

Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
2021-01-04 16:20:43 +01:00
..
CMakeLists.txt serial: `CONFIG_USB_CDC_ACM` adds file to library 2021-01-04 16:20:43 +01:00
Kconfig serial: Add support for GRLIB APBUART 2020-11-13 14:53:55 -08:00
Kconfig.altera_jtag
Kconfig.apbuart serial: apbuart interrupt support 2020-11-13 14:53:55 -08:00
Kconfig.cc13xx_cc26xx
Kconfig.cc32xx
Kconfig.cmsdk_apb
Kconfig.esp32
Kconfig.gecko
Kconfig.imx
Kconfig.leuart_gecko
Kconfig.litex
Kconfig.lpc11u6x
Kconfig.mcux
Kconfig.mcux_flexcomm
Kconfig.mcux_iuart
Kconfig.mcux_lpsci
Kconfig.mcux_lpuart
Kconfig.miv
Kconfig.msp432p4xx
Kconfig.native_posix doc: fix broken rST syntax in Kconfig help 2020-11-07 08:29:57 -06:00
Kconfig.npcx driver: npcx7: fixed typo in Kconfig.npcx files. 2020-12-07 12:11:17 -05:00
Kconfig.nrfx power: standarize PM Kconfigs and cleanup 2020-12-09 15:18:29 -05:00
Kconfig.ns16550
Kconfig.nuvoton
Kconfig.pl011
Kconfig.psoc6
Kconfig.rtt
Kconfig.rv32m1_lpuart
Kconfig.sam0
Kconfig.sifive
Kconfig.stellaris
Kconfig.stm32
Kconfig.uart_sam
Kconfig.usart_sam
Kconfig.xlnx
Kconfig.xmc4xxx
leuart_gecko.c drivers: uart: Convert drivers to new DT device macros 2020-12-15 15:28:49 -06:00
uart_altera_jtag_hal.c drivers: serial: Convert DEVICE_AND_API_INIT to DEVICE_DEFINE 2020-12-19 19:59:21 -05:00
uart_apbuart.c drivers: uart: Convert drivers to new DT device macros 2020-12-15 15:28:49 -06:00
uart_cc13xx_cc26xx.c drivers: uart: Convert drivers to new DT device macros 2020-12-15 15:28:49 -06:00
uart_cc32xx.c drivers: uart: Convert drivers to new DT device macros 2020-12-15 15:28:49 -06:00
uart_cmsdk_apb.c drivers: uart: Convert drivers to new DT device macros 2020-12-15 15:28:49 -06:00
uart_esp32.c drivers: uart: Convert drivers to new DT device macros 2020-12-15 15:28:49 -06:00
uart_gecko.c drivers: uart: Convert drivers to new DT device macros 2020-12-15 15:28:49 -06:00
uart_handlers.c
uart_imx.c drivers: uart: Convert drivers to new DT device macros 2020-12-15 15:28:49 -06:00
uart_liteuart.c drivers: uart: Convert drivers to new DT device macros 2020-12-15 15:28:49 -06:00
uart_lpc11u6x.c drivers: serial: uart_lpc11u6x: Convert drivers to new DT device macros 2020-12-19 19:58:33 -05:00
uart_lpc11u6x.h
uart_mcux.c drivers: uart: Convert drivers to new DT device macros 2020-12-15 15:28:49 -06:00
uart_mcux_flexcomm.c drivers: uart: Convert drivers to new DT device macros 2020-12-15 15:28:49 -06:00
uart_mcux_iuart.c drivers: uart: Convert drivers to new DT device macros 2020-12-15 15:28:49 -06:00
uart_mcux_lpsci.c drivers: uart: Convert drivers to new DT device macros 2020-12-15 15:28:49 -06:00
uart_mcux_lpuart.c drivers: uart: Convert drivers to new DT device macros 2020-12-15 15:28:49 -06:00
uart_miv.c drivers: uart: Convert drivers to new DT device macros 2020-12-15 15:28:49 -06:00
uart_msp432p4xx.c drivers: uart: Convert drivers to new DT device macros 2020-12-15 15:28:49 -06:00
uart_native_posix.c drivers: serial: Convert DEVICE_AND_API_INIT to DEVICE_DEFINE 2020-12-19 19:59:21 -05:00
uart_npcx.c drivers: uart: Convert drivers to new DT device macros 2020-12-15 15:28:49 -06:00
uart_nrfx_uart.c power: standarize PM Kconfigs and cleanup 2020-12-09 15:18:29 -05:00
uart_nrfx_uarte.c power: standarize PM Kconfigs and cleanup 2020-12-09 15:18:29 -05:00
uart_ns16550.c drivers/pcie: Change pcie_get_mbar() to return size and flags 2020-11-20 09:36:22 +02:00
uart_ns16550.h
uart_ns16550_port_x.h drivers: uart: Convert drivers to new DT device macros 2020-12-15 15:28:49 -06:00
uart_nuvoton.c drivers: uart: Convert drivers to new DT device macros 2020-12-15 15:28:49 -06:00
uart_pl011.c drivers: uart: Convert drivers to new DT device macros 2020-12-15 15:28:49 -06:00
uart_psoc6.c drivers: uart: Convert drivers to new DT device macros 2020-12-15 15:28:49 -06:00
uart_rtt.c drivers: uart: Convert drivers to new DT device macros 2020-12-15 15:28:49 -06:00
uart_rv32m1_lpuart.c drivers: uart: Convert drivers to new DT device macros 2020-12-15 15:28:49 -06:00
uart_sam.c drivers: uart: Convert drivers to new DT device macros 2020-12-15 15:28:49 -06:00
uart_sam0.c drivers: uart: Convert drivers to new DT device macros 2020-12-15 15:28:49 -06:00
uart_sifive.c drivers: uart: Convert drivers to new DT device macros 2020-12-15 15:28:49 -06:00
uart_stellaris.c drivers: uart: Convert drivers to new DT device macros 2020-12-15 15:28:49 -06:00
uart_stm32.c drivers: uart: Convert drivers to new DT device macros 2020-12-15 15:28:49 -06:00
uart_stm32.h drivers/serial: stm32: Enable use of dt pinctrl as serial signals 2020-10-01 11:08:42 -05:00
uart_xlnx_ps.c drivers: uart: Convert drivers to new DT device macros 2020-12-15 15:28:49 -06:00
uart_xlnx_uartlite.c drivers: uart: Convert drivers to new DT device macros 2020-12-15 15:28:49 -06:00
uart_xmc4xxx.c drivers: uart: Convert drivers to new DT device macros 2020-12-15 15:28:49 -06:00
usart_sam.c drivers: uart: Convert drivers to new DT device macros 2020-12-15 15:28:49 -06:00