Will there be FASTLED Support?

Post Reply
braddo
Posts: 2
Joined: Mon Sep 05, 2022 8:03 pm

Will there be FASTLED Support?

Post by braddo »

Hello,

I've seen a few posts regarding Arduino FASTLED - this is one of the most widely used libraries to deliver high performance LED animations on a host of different addressable LED products, notably APA102 and WS2801. If on this board, you're interested in such support, give a vote up to get attention from the powers that be :-)

http://fastled.io/

There is already FASTLED community support for many platforms including AVR, ARM, ESP32 based boards from many different manufacturers. But it doesn't work on STM32 boards. There have been some reports of tweaks to get it at least partly working from a variety of sources on Github, but it would be great if this very very popular Arduino library had mainstream support from STM. If there are STM programmers on here or interested and skilled board members it would be terrific to get this nailed down!

Github for FASTLED:
https://github.com/FastLED/FastLED

There are a couple of forks attempting this compatibility
https://github.com/13rac1/FastLED-STM32
https://github.com/metalstarlight/stm32 ... stm32duino

Both seem to have various issues (not a complaint!) perhaps these could be used as a starting point for an official release from STM or at least this community?

Thanks!
ag123
Posts: 1655
Joined: Thu Dec 19, 2019 5:30 am
Answers: 24

Re: Will there be FASTLED Support?

Post by ag123 »

nice project :)
it would be better e.g. that the forks e.g.
https://github.com/13rac1/FastLED-STM32
could be tested out and merged into the original implementation.
Otherwise, there'd just be more forks.
A 'trouble' with stm32 is the rather large portfolio of socs, even within the same series or even the same part e.g. stm32f103 there are varying count of pins and speeds. Hence, I'd guess the performance would need to be 'fine tuned' when it is tried out on a particular soc.
But that a 'generic' one can be committed into the original implementation.
braddo
Posts: 2
Joined: Mon Sep 05, 2022 8:03 pm

Re: Will there be FASTLED Support?

Post by braddo »

Yes, it would be great if someone could either do an "official" pull request from the FASTLED repo, and/or take one of those existing forks as a starting point.

The multitude of SOCs isn't too much of a problem as I think the Arduino has a "variants" framework that already allows for multiple boards and/or SOCs to be listed, each with their particular memory/speed/pins configuration laid out. The user then just selects that from a list.

I'm not sure how much of a driver the hobby market is for a company like ST Micro, but I would think there's at least a couple of application engineers on this board who could knock such a thing out in an afternoon.
Post Reply

Return to “STM32F4 based boards”