Code: Select all
-DARDUINO_ARCH_{build.arch}
It seems to me it copies the name of the folder where the repo is located on my local disk (ie STM32F1), and what I see for example in the compiler's log is
Code: Select all
...-mcpu=cortex-m3 -DF_CPU=72000000L -DARDUINO=10802 -DARDUINO_GENERIC_STM32F103Z -DARDUINO_ARCH_STM32F1