Skip to content

Commit

Permalink
Add define for ARDUINO_ARCH_STM32 to correspond with the official STM…
Browse files Browse the repository at this point in the history
… core and also with Adadfuit STM32 products
  • Loading branch information
rogerclarkmelbourne committed May 23, 2018
1 parent 6548456 commit 2208bcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion STM32F1/platform.txt
Expand Up @@ -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
Expand Down

0 comments on commit 2208bcb

Please sign in to comment.