Skip to content

Commit

Permalink
drivers: serial: add placeholder file for new device stack USB CDC ACM
Browse files Browse the repository at this point in the history
This is necessary to suppress CMake build warning due to no source file
defined for drivers__serial.

Signed-off-by: Xudong Zheng <7pkvm5aw@slicealias.com>
  • Loading branch information
xudongzheng committed Feb 8, 2025
1 parent a85eb14 commit e7eed29
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/serial/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ zephyr_library_sources_ifdef(CONFIG_SERIAL_TEST serial_test.c)
zephyr_library_sources_ifdef(CONFIG_UART_ASYNC_RX_HELPER uart_async_rx.c)
zephyr_library_sources_ifdef(CONFIG_UART_ASYNC_TO_INT_DRIVEN_API uart_async_to_irq.c)
zephyr_library_sources_ifdef(CONFIG_UART_SHELL uart_shell.c)
zephyr_library_sources_ifdef(CONFIG_USBD_CDC_ACM_CLASS ${ZEPHYR_BASE}/misc/empty_file.c)
zephyr_library_sources_ifdef(CONFIG_USB_CDC_ACM ${ZEPHYR_BASE}/misc/empty_file.c)
# zephyr-keep-sorted-stop

Expand Down

0 comments on commit e7eed29

Please sign in to comment.