From 92d4b51ad5d828930334f87d9619a78b5877a384 Mon Sep 17 00:00:00 2001 From: Dave Hylands Date: Tue, 28 Jul 2015 11:13:33 -0700 Subject: stmhal: Add STM32F7DISC and associated changes. --- stmhal/spi.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'stmhal/spi.c') diff --git a/stmhal/spi.c b/stmhal/spi.c index c9c853326f..68ae239c94 100644 --- a/stmhal/spi.c +++ b/stmhal/spi.c @@ -37,6 +37,10 @@ #include "spi.h" #include MICROPY_HAL_H +#if !defined(STM32F7) +// The STM32F7 has the SPI pins mapped differently. Need to figure this out +// before enabling SPI for the F7 + /// \moduleref pyb /// \class SPI - a master-driven serial protocol /// @@ -665,3 +669,5 @@ const mp_obj_type_t pyb_spi_type = { .make_new = pyb_spi_make_new, .locals_dict = (mp_obj_t)&pyb_spi_locals_dict, }; + +#endif // STM32F7 -- cgit v1.2.3