aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wirish/include/wirish/wirish.h2
-rw-r--r--wirish/rules.mk2
2 files changed, 1 insertions, 3 deletions
diff --git a/wirish/include/wirish/wirish.h b/wirish/include/wirish/wirish.h
index 606aac0..75a2d6d 100644
--- a/wirish/include/wirish/wirish.h
+++ b/wirish/include/wirish/wirish.h
@@ -44,9 +44,7 @@
#include <wirish/wirish_debug.h>
#include <wirish/wirish_math.h>
#include <wirish/wirish_time.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>
diff --git a/wirish/rules.mk b/wirish/rules.mk
index 13da229..38936c1 100644
--- a/wirish/rules.mk
+++ b/wirish/rules.mk
@@ -41,8 +41,8 @@ cppSRCS_$(d) += Print.cpp
cppSRCS_$(d) += pwm.cpp
ifeq ($(MCU_SERIES), stm32f1)
cppSRCS_$(d) += usb_serial.cpp # HACK: this is currently STM32F1 only.
-cppSRCS_$(d) += HardwareSPI.cpp # FIXME: port to F2 and fix wirish.h
endif
+cppSRCS_$(d) += HardwareSPI.cpp # FIXME: port to F2 and fix wirish.h
cppSRCS_$(d) += wirish_analog.cpp
cppSRCS_$(d) += wirish_digital.cpp
cppSRCS_$(d) += wirish_math.cpp