From 8038a6e3386d59af6a1a099e21234a93be15ef15 Mon Sep 17 00:00:00 2001 From: bryan newbold Date: Fri, 12 Jun 2015 03:06:02 -0700 Subject: wirish: enable HardwareSPI for STM32F2-4 --- wirish/include/wirish/wirish.h | 2 -- wirish/rules.mk | 2 +- 2 files changed, 1 insertion(+), 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 #include #include -#if STM32_MCU_SERIES == STM32_SERIES_F1 /* FIXME [0.0.13?] port to F2 */ #include -#endif #include #include #include 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 -- cgit v1.2.3