1# MAX32 UART configuration 2 3# Copyright (c) 2023-2024 Analog Devices, Inc. 4# SPDX-License-Identifier: Apache-2.0 5 6config UART_MAX32 7 bool "MAX32 MCU serial driver" 8 default y 9 depends on DT_HAS_ADI_MAX32_UART_ENABLED 10 select SERIAL_HAS_DRIVER 11 select SERIAL_SUPPORT_INTERRUPT 12 select PINCTRL 13 select SERIAL_SUPPORT_ASYNC if DT_HAS_ADI_MAX32_DMA_ENABLED 14 select DMA if UART_ASYNC_API 15 help 16 This option enables the UART driver for MAX32 family of 17 processors. 18 Say y if you wish to use serial port on MAX32 MCU. 19 20if UART_MAX32 21 22config UART_TX_CACHE_LEN 23 int "TX cache buffer size" 24 range 8 64 25 default 8 26 help 27 Size of UART transmit buffer that is used when source buffer 28 is not located in a DMA-able region. 29 30endif # UART_MAX32 31