tests: spi_loopback: Enable SPI Loopback test on nucleo_f091rc board

Enable spi_loopback test to work with the nucleo_f091rc board using
the SPI1 controller

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
This commit is contained in:
Neil Armstrong 2017-09-11 14:57:01 +02:00 committed by Anas Nashif
parent 8359e46d48
commit 7ab0333640
2 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1,11 @@
CONFIG_BOOT_BANNER=y
CONFIG_BUILD_TIMESTAMP=y
CONFIG_SYS_LOG=y
CONFIG_SPI=y
CONFIG_SPI_LEGACY_API=n
CONFIG_SYS_LOG_SPI_LEVEL=1
CONFIG_SPI_STM32=y
CONFIG_SPI_STM32_INTERRUPT=y
CONFIG_SPI_1=y
CONFIG_SPI_1_IRQ_PRI=10
CONFIG_POLL=y

View file

@ -49,6 +49,7 @@ struct spi_cs_control spi_cs = {
#elif defined(CONFIG_BOARD_NUCLEO_L432KC) || \
defined(CONFIG_BOARD_DISCO_L475_IOT1) || \
defined(CONFIG_BOARD_NUCLEO_F091RC) || \
defined(CONFIG_BOARD_NUCLEO_F334R8) || \
defined(CONFIG_BOARD_NUCLEO_F401RE) || \
defined(CONFIG_BOARD_NUCLEO_L476RG)