Hello guys! I'm trying to compile FastLED for STM32F103C micro controller with arduino IDE,

Hello guys! I’m trying to compile FastLED for STM32F103C micro controller with arduino IDE, but it looks like it treats it as an avr board, i.e. it looks like FastLED doesn’t support it, but as I know it does. So, this is what I get:

[…]
C:\Program Files (x86)\Arduino\libraries\FastLED/platforms/avr/led_sysdefs_avr.h:12:20: fatal error: avr/io.h: No such file or directory
[…]
exit status 1
Error compiling for board Generic STM32F103C series.
[…]

i found in platform.h:

#elif defined(STM32F10X_MD)

but I’m not sure it relates to my board.

Any idea why is it happening? Is STM32F103C isn’t compatible with FastLED, library or I’m just doing something wrong? Thank you!

Search this forum, I’ve previously posted a link to a fork of the library which should work with this board. I’m on my phone and hard to search…

If the library a) doesn’t support the board you’re compiling for or b) can’t figure out what board you’re compiling for it defaults to building for AVR. I should probably change that so that instead of defaulting to AVR it just throws its hands up with an error saying “unknown/unsupported board!”

@Daniel_Garcia Agree

@Jeremy_Spencer Thank you!