diff options
author | Kirill Kolyshkin <kolyshkin@users.noreply.github.com> | 2018-09-01 02:06:04 +0300 |
---|---|---|
committer | Daniel Garcia <danielgarcia@gmail.com> | 2018-09-01 02:06:04 +0300 |
commit | bf6b7657988187afbc6fbdc2989bf43dff44b8e9 (patch) | |
tree | 6ec90a09e95cea13cb1938f607d8b78857540134 /led_sysdefs.h | |
parent | 8b3eda8d4591caea2d0e29a22ab6ee3d690de262 (diff) |
stm32duino port (Maple, Blue Pill etc.) (#568)
This mostly builds on previous work for SparkCore STM32103 (Cortex M3),
and patches from Evey Quirk.
Unfortunately, stm32duino distribution does not include a header
with definitions for CoreDebug registers and flags etc. (used in )
so they were added to a newly created cm3_regs.h from
https://github.com/ARM-software/CMSIS/blob/master/CMSIS/Include/core_cm3.h
[v2: changed PIN numbers to be int]
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Diffstat (limited to 'led_sysdefs.h')
-rw-r--r-- | led_sysdefs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/led_sysdefs.h b/led_sysdefs.h index 424ab84f..4b9aedc8 100644 --- a/led_sysdefs.h +++ b/led_sysdefs.h @@ -19,7 +19,7 @@ #elif defined(__SAM3X8E__) // Include sam/due headers #include "platforms/arm/sam/led_sysdefs_arm_sam.h" -#elif defined(STM32F10X_MD) +#elif defined(STM32F10X_MD) || defined(__STM32F1__) #include "platforms/arm/stm32/led_sysdefs_arm_stm32.h" #elif defined(__SAMD21G18A__) || defined(__SAMD21J18A__) || defined(__SAMD21E17A__) || defined(__SAMD21E18A__) #include "platforms/arm/d21/led_sysdefs_arm_d21.h" |