From 2208bcbc5bcff8c25feb3713cdb72f546366957c Mon Sep 17 00:00:00 2001 From: Roger Clark Date: Wed, 23 May 2018 19:37:08 +1000 Subject: [PATCH] Add define for ARDUINO_ARCH_STM32 to correspond with the official STM core and also with Adadfuit STM32 products --- STM32F1/platform.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/STM32F1/platform.txt b/STM32F1/platform.txt index b1cf69d..418ad28 100644 --- a/STM32F1/platform.txt +++ b/STM32F1/platform.txt @@ -36,7 +36,7 @@ compiler.define=-DARDUINO= # this can be overriden in boards.txt build.f_cpu=72000000L build.mcu=cortex-m3 -build.common_flags=-mthumb -march=armv7-m -D__STM32F1__ +build.common_flags=-mthumb -march=armv7-m -D__STM32F1__ -DARDUINO_ARCH_STM32 build.variant_system_lib=libmaple.a ## LED stuff is not really used but is still required in the code build.error_led_port=GPIOB