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:
parent
8359e46d48
commit
7ab0333640
11
tests/drivers/spi/spi_loopback/prj_nucleo_f091rc.conf
Normal file
11
tests/drivers/spi/spi_loopback/prj_nucleo_f091rc.conf
Normal 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
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue