From f2c50083d88646bd7d3657e66dc91dab4ef6199b Mon Sep 17 00:00:00 2001 From: Andy CA6JAU Date: Sun, 2 Apr 2017 22:17:09 -0300 Subject: [PATCH] Adding conditional compilation for Arduino 1.6.7 fix --- system_stm32f1xx/startup_stm32f105xc.S | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/system_stm32f1xx/startup_stm32f105xc.S b/system_stm32f1xx/startup_stm32f105xc.S index a3a7fed..72acb22 100644 --- a/system_stm32f1xx/startup_stm32f105xc.S +++ b/system_stm32f1xx/startup_stm32f105xc.S @@ -30,6 +30,8 @@ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---------------------------------------------------------------------------*/ +#if defined(STM32F105xC) + .syntax unified .arch armv7-m @@ -421,3 +423,5 @@ Default_Handler: def_irq_handler OTG_FS_IRQHandler .end + +#endif