diff options
Diffstat (limited to 'tests/test_spi.c')
-rw-r--r-- | tests/test_spi.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/test_spi.c b/tests/test_spi.c new file mode 100644 index 0000000..cc25d6e --- /dev/null +++ b/tests/test_spi.c @@ -0,0 +1,11 @@ +#include "test_harness.h" + +#include "arch/stm32l4xxx/peripherals/spi.h" + +TEST(spi, smoke) +{ + __IO spi_t* spi = &SPI1; + spi->s_r = 1; + + return 0; +} |