From 8103c6cf6bcb3e271df08b17d0fb2fee3b444c86 Mon Sep 17 00:00:00 2001 From: Olivier Date: Sun, 19 Apr 2020 17:31:30 +0200 Subject: [PATCH] Fix STM32F1 capability indicator (#1408) --- core/MyCapabilities.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/core/MyCapabilities.h b/core/MyCapabilities.h index 4cdf54b5b..3beba0770 100644 --- a/core/MyCapabilities.h +++ b/core/MyCapabilities.h @@ -141,15 +141,16 @@ * @def MY_CAP_ARCH * @brief Indicate the architecture. * - * @see ARDUINO_ARCH_SAMD, ARDUINO_ARCH_NRF5, ARDUINO_ARCH_ESP8266, ARDUINO_ARCH_AVR, ARDUINO_ARCH_STM32F1, TEENSYDUINO + * @see ARDUINO_ARCH_SAMD, ARDUINO_ARCH_NRF5, ARDUINO_ARCH_ESP8266, ARDUINO_ARCH_ESP32, ARDUINO_ARCH_AVR, ARDUINO_ARCH_STM32F1, TEENSYDUINO * * | Architecture | Indicator * |--------------|---------- * | SAMD | S * | nRF5 | N * | ESP8266 | E + * | ESP32 | F * | AVR | A - * | STM32F1 | F + * | STM32F1 | M * | TEENSY | T * | Linux | L * | Unknown | - @@ -165,7 +166,7 @@ #elif defined(ARDUINO_ARCH_AVR) #define MY_CAP_ARCH "A" #elif defined(ARDUINO_ARCH_STM32F1) -#define MY_CAP_ARCH "F" +#define MY_CAP_ARCH "M" #elif defined(__arm__) && defined(TEENSYDUINO) #define MY_CAP_ARCH "T" #elif defined(__linux__)