diff options
Diffstat (limited to 'wirish/include')
-rw-r--r-- | wirish/include/wirish/wirish.h | 6 |
1 files changed, 5 insertions, 1 deletions
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 <libmaple/stm32.h> + #include <wirish/boards.h> #include <wirish/io.h> #include <wirish/bit_constants.h> @@ -42,7 +44,9 @@ #include <wirish/wirish_debug.h> #include <wirish/wirish_math.h> #include <wirish/wirish_time.h> -/* FIXME put this back when you can #include <wirish/HardwareSPI.h> */ +#if STM32_MCU_SERIES == STM32_SERIES_F1 /* FIXME [0.0.13?] port to F2 */ +#include <wirish/HardwareSPI.h> +#endif #include <wirish/HardwareSerial.h> #include <wirish/HardwareTimer.h> #include <wirish/usb_serial.h> |