summaryrefslogtreecommitdiff
path: root/spi/spi.h
diff options
context:
space:
mode:
Diffstat (limited to 'spi/spi.h')
-rw-r--r--spi/spi.h8
1 files changed, 7 insertions, 1 deletions
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);