diff options
author | Kir Kolyshkin <kolyshkin@gmail.com> | 2019-02-21 06:37:25 +0300 |
---|---|---|
committer | Daniel Garcia <danielgarcia@gmail.com> | 2019-02-21 07:20:12 +0300 |
commit | 84f68205f0222735c46a208b44b480cd618dbe67 (patch) | |
tree | 6f21012a2ba9ddc1ec51f2d217a16be8870fd411 /platforms/avr/fastpin_avr.h | |
parent | 3db75d4b3ac75ab8910c7e5e38bea36f78adce2e (diff) |
stm32duino (Maple, Blue Pill, etc): compile fix
This fixes the infamous
> (...)/FastLED/platforms/arm/stm32/led_sysdefs_arm_stm32.h:4:25:
> fatal error: application.h: No such file or directory
issue when compiling code for Blue Pill (STM32F1xx).
The above `#include <application.h>` was initially added by
commit f149084 as part of the port for the particle photon
boards. While it's not entirely clear where this header
is coming from, it is clear that it's not there for the
usual Arduino + stm32duino.
So, to fix compilation for Blue Pill, while not breaking
it for particle photon, let's move the include to under
`#ifdef STM32F10X_MD`, the define which the original code
used.
Fixes: https://github.com/FastLED/FastLED/issues/741
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Diffstat (limited to 'platforms/avr/fastpin_avr.h')
0 files changed, 0 insertions, 0 deletions