diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2013-10-01 17:13:34 +0200 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2013-10-01 17:13:34 +0200 |
commit | ef34f43a98f03e11c08819dfaa77b8f7f5705b2e (patch) | |
tree | 30be43c4310bf5f5ab7983ca1f49e04a523a8f4e | |
parent | 49b9c31a097b99945a5bb406db403655467fe218 (diff) |
Added F1/F3 SPI definitions.
-rw-r--r-- | spi/spi.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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); |