shinyblink / sled

Satanic/Sexy/Stupid/Silly/Shiny LED matrix controller
https://shinyblink.github.io/sled/
ISC License
122 stars 25 forks source link

ESP8266/FreeRTOS support. #26

Closed vifino closed 5 years ago

vifino commented 6 years ago

This is far from done.

vifino commented 6 years ago

@orithena When you got the time, this is something you can help with, eventually. No worries about time. I'll keep working on this every now and then. :)

I based it on FreeRTOS because this helps a lot. It also should be reusable for different targets.

The esp8266 i2s-based ws2812b backend shouldn't be hard, the esp-open-rtos project has an example, too.

The Makefile stuff is complicated, I am honestly not quite sure how to go about it. Maybe I'll poke the esp-open-rtos guys, perhaps they're willing to help. Maybe they have a bare-bones Makefile that just builds the .a files which you'll have to link in?

vifino commented 6 years ago

So, in theory, one only needs to sort out the Makefile business to get a sled port to the ESP8266 under FreeRTOS, outputting pixel data to ws2812b-compatible pixels.

vifino commented 6 years ago

This definitly needs more lovin'..

The work merged on master will require a little rework on this PR, but it's not too bad.

We just need someone to write a Makefile..

vifino commented 5 years ago

This is a really stale PR in a bad state. Since #87 exists, I'll close this in favor of it. When it's merged, it'll add a working and fully-featured os_freertos.

Afterwards, I can try redoing the esp8266 support based on that, which should be pretty simple.