summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/spi.h
diff options
context:
space:
mode:
authorTobias Badertscher <python@baerospace.ch>2015-12-08 15:41:47 +0100
committerDamien George <damien.p.george@gmail.com>2015-12-16 00:38:36 +0000
commitc5d8ffef581fe83ccec276d0bfa8fcc15e9f9524 (patch)
tree2d7c3d15a340843bb82219ddf4da250a74faaef6 /stmhal/spi.h
parent130fde81307984e4616b6a0bcdd38b640e732d76 (diff)
downloadmicropython-c5d8ffef581fe83ccec276d0bfa8fcc15e9f9524.tar.gz
micropython-c5d8ffef581fe83ccec276d0bfa8fcc15e9f9524.zip
stmhal: Extend SPI support to fully support all SPI devices on STM32F429.
This includes SPI4, SPI5 and SPI6.
Diffstat (limited to 'stmhal/spi.h')
-rw-r--r--stmhal/spi.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/stmhal/spi.h b/stmhal/spi.h
index 9f81552525..bf9eabfcab 100644
--- a/stmhal/spi.h
+++ b/stmhal/spi.h
@@ -27,6 +27,9 @@
extern SPI_HandleTypeDef SPIHandle1;
extern SPI_HandleTypeDef SPIHandle2;
extern SPI_HandleTypeDef SPIHandle3;
+extern SPI_HandleTypeDef SPIHandle4;
+extern SPI_HandleTypeDef SPIHandle5;
+extern SPI_HandleTypeDef SPIHandle6;
extern const mp_obj_type_t pyb_spi_type;
void spi_init0(void);