You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting an AVR/io.h error when compiling and it looks like my board may not be compatible.
Although I'm not sure as I found some old forum posts saying it was resolved but they didn't give a clear fix.
I have tried the latest release as well as a custom/modified 3.0.3 that according to forums worked with the STM32 but it didn't work for me..
any pointer would be appreciated, thanks.
In file included from C:\Users\steph\Documents\Arduino\libraries\FastLED/led_sysdefs.h:32:0,
from C:\Users\steph\Documents\Arduino\libraries\FastLED/FastLED.h:41,
from C:\Users\steph\Documents\Arduino\test.ino:3:
C:\Users\steph\Documents\Arduino\libraries\FastLED/platforms/avr/led_sysdefs_avr.h:12:20: fatal error: avr/io.h: No such file or directory
#include <avr/io.h>
^
compilation terminated.
exit status 1
Error compiling for board STM32 Discovery F407.
The current STM32 code is for the STMF1 - it doesn’t look like I don’t have any STM32F4 definitions - I’ll have to add it as a platform to support in the future.
(When it doesn’t find a platform definition, FastLED defaults to the avr platform)
Thanks for the quick and helpful response! How likely is it that it could get supported in the coming 2-3 weeks? I'm early enough on this project that switching to the Due is still an option, but if the STM32F4 Discovery could get implemented quickly then I would rather wait and not start over.
I'm also looking for F4 support. F411 Black Pill support in particular would be awesome.
as far as I know the board definitions were supplied by one of our users and was released in 3.10.2. Feel free to reopen this bug if this isn't correct.
Activity
focalintent commentedon Jan 27, 2019
The current STM32 code is for the STMF1 - it doesn’t look like I don’t have any STM32F4 definitions - I’ll have to add it as a platform to support in the future.
(When it doesn’t find a platform definition, FastLED defaults to the avr platform)
Zytrahus commentedon Jan 27, 2019
Thanks for the quick and helpful response! How likely is it that it could get supported in the coming 2-3 weeks? I'm early enough on this project that switching to the Due is still an option, but if the STM32F4 Discovery could get implemented quickly then I would rather wait and not start over.
Thanks again
focalintent commentedon Jan 27, 2019
Probably not that quickly
Zytrahus commentedon Jan 27, 2019
Got it, thanks Daniel!
keukenrol commentedon Oct 5, 2019
I am looking for the F4 support as well. I am planning to make a light system with 2 WS2812B strips connected to a STM32F446 Nucleo kit.
broehl commentedon Oct 26, 2021
I'm also looking for F4 support. Any updates?
dfleck commentedon Aug 23, 2025
I'm also looking for F4 support. F411 Black Pill support in particular would be awesome.
zackees commentedon Aug 23, 2025
Can you provide me a platformio.ini example for BlackPill?
zackees commentedon Aug 23, 2025
This is from my ci/boards.py file
How is this different than the
maple mini? What's not compiling for you?i'm flying a bit blind here. As far as I know the definitions already exist and this bug should be closed?
zackees commentedon Aug 23, 2025
as far as I know the board definitions were supplied by one of our users and was released in 3.10.2. Feel free to reopen this bug if this isn't correct.
dfleck commentedon Aug 23, 2025
Blue Pill is an STM32F103C8T6 so it looks like maybe your ci/boards.py should be Blue not Black??
STM32F411 "BlackPill" Development Board Adafruit is an example Black Pill
I'm using Arduino not platformio, perhaps this is what you're looking for?
WeAct Studio BlackPill V2.0 (STM32F411CE)
zackees commentedon Aug 24, 2025
So it looks like this is the correct configuration
[env:blackpill_f411ce]
platform = ststm32
board = blackpill_f411ce
dfleck commentedon Aug 25, 2025
Yes, that is correct.
zackees commentedon Aug 25, 2025
I'm leaving for burning man. I can maybe look at it next week
dfleck commentedon Aug 25, 2025
Good move skipping the wind and rain and 8 hour entry wait.
addresses #726
zackees commentedon Sep 13, 2025
Official support has been added. Will be released with 3.10.3.
If you are on ArduinoIDE then download the library manually. If you are on platformio then set the FastLED dep to github master branch.
chore(deps): bump zccache floor >=1.12.1 -> >=1.12.3 (#3020)
ci(probe): drop Windows zccache stop step (#3129 A7) (#3196)