zephyr/tests/drivers/spi/spi_loopback/Kconfig
Anas Nashif 3ae52624ff license: cleanup: add SPDX Apache-2.0 license identifier
Update the files which contain no license information with the
'Apache-2.0' SPDX license identifier.  Many source files in the tree are
missing licensing information, which makes it harder for compliance
tools to determine the correct license.

By default all files without license information are under the default
license of Zephyr, which is Apache version 2.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2019-04-07 08:45:22 -04:00

35 lines
877 B
Plaintext

# SPDX-License-Identifier: Apache-2.0
mainmenu "SPI Loopback Test"
source "Kconfig.zephyr"
config SPI_LOOPBACK_DRV_NAME
string "SPI device name to use for test"
config SPI_LOOPBACK_CS_GPIO
bool "SPI port CS pin is controlled via a GPIO port during test"
depends on GPIO
config SPI_LOOPBACK_CS_CTRL_GPIO_DRV_NAME
string "The GPIO port which is used to control CS"
depends on SPI_LOOPBACK_CS_GPIO
default "GPIO_0"
config SPI_LOOPBACK_CS_CTRL_GPIO_PIN
int "The GPIO PIN which is used to act as a CS pin"
depends on SPI_LOOPBACK_CS_GPIO
default 0
config SPI_LOOPBACK_SLAVE_NUMBER
int "Slave number from 0 to host controller slave limit"
default 0
config SPI_LOOPBACK_SLOW_FREQ
int "The frequency in Hz to use when testing in slow mode"
default 500000
config SPI_LOOPBACK_FAST_FREQ
int "The frequency in Hz to use when testing in fast mode"
default 16000000