From ef34f43a98f03e11c08819dfaa77b8f7f5705b2e Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Tue, 1 Oct 2013 17:13:34 +0200 Subject: Added F1/F3 SPI definitions. --- spi/spi.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/spi/spi.h b/spi/spi.h index b6b0a90..1f9e0eb 100644 --- a/spi/spi.h +++ b/spi/spi.h @@ -33,7 +33,13 @@ class SPI_t { }; #if defined(STM32F1) - +static SPI_t SPI1(0x40013000); +static SPI_t SPI2(0x40003800); +static SPI_t SPI3(0x40003c00); +#elif defined(STM32F3) +static SPI_t SPI1(0x40013000); +static SPI_t SPI2(0x40003800); +static SPI_t SPI3(0x40003c00); #elif defined(STM32F4) static SPI_t SPI1(0x40013000); static SPI_t SPI2(0x40003800); -- cgit v1.2.3