Add define for ARDUINO_ARCH_STM32 to correspond with the official STM core and also with Adadfuit STM32 products
This commit is contained in:
parent
6548456957
commit
2208bcbc5b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue