1 2 3 4 5 6 7 8 9 10 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; }