Skip to content

Commit

Permalink
Fix STM32F1 capability indicator (#1408)
Browse files Browse the repository at this point in the history
  • Loading branch information
tekka007 authored Apr 19, 2020
1 parent 97d3867 commit 8103c6c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions core/MyCapabilities.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 | -
Expand All @@ -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__)
Expand Down

0 comments on commit 8103c6c

Please sign in to comment.