Add define for ARDUINO_ARCH_STM32 to correspond with the official STM core and also with Adadfuit STM32 products

This commit is contained in:
Roger Clark 2018-05-23 19:37:08 +10:00
parent 6548456957
commit 2208bcbc5b
1 changed files with 1 additions and 1 deletions

View File

@ -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