blob: 99e6db7077e21f274bfa22238b031102da476d77 [file] [log] [blame]
# Kconfig - MCUXpresso SDK SPI
#
# Copyright (c) 2016, Freescale Semiconductor, Inc.
# Copyright (c) 2017, NXP
#
# SPDX-License-Identifier: Apache-2.0
#
menuconfig SPI_MCUX_DSPI
bool "MCUX SPI driver"
depends on HAS_MCUX
default n
help
Enable support for mcux spi driver.
if SPI_MCUX_DSPI
config SPI_MCUX_BUF_SIZE
int "Number of bytes in the local buffer"
default 16
help
The mcux driver requires that the RX and TX buffers are the same
length, however the Zephyr spi interface allows them to be different.
When they are different, the mcux shim driver uses a local buffer. This
option defines the size of the local buffer.
config SPI_MCUX_DUMMY_CHAR
hex "Dummy character"
default 0x00
range 0x00 0xff
help
This option configures what value to send when the TX buffer length is
less than the RX buffer length.
endif # SPI_MCUX_DSPI