From c6073e4886da4606679bc3e9d770c9cff9390597 Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Tue, 26 Jun 2012 18:13:12 -0400 Subject: STM32F1: Bring back HardwareSPI. We're going to merge into master without F2 support for this. Signed-off-by: Marti Bolivar --- wirish/include/wirish/wirish.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'wirish/include/wirish/wirish.h') diff --git a/wirish/include/wirish/wirish.h b/wirish/include/wirish/wirish.h index 360b502..4ebd66f 100644 --- a/wirish/include/wirish/wirish.h +++ b/wirish/include/wirish/wirish.h @@ -34,6 +34,8 @@ #ifndef _WIRISH_WIRISH_H_ #define _WIRISH_WIRISH_H_ +#include + #include #include #include @@ -42,7 +44,9 @@ #include #include #include -/* FIXME put this back when you can #include */ +#if STM32_MCU_SERIES == STM32_SERIES_F1 /* FIXME [0.0.13?] port to F2 */ +#include +#endif #include #include #include -- cgit v1.2.3