ws2812: add support for the ESP32-C3 processor

This adds support to the WS2812 for the ESP32-C3 processor
which is a RISC-V processor from Espressif.

Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
deadprogram
2026-03-07 10:27:10 +01:00
committed by Ron Evans
parent 04acd8e666
commit 1d695a231a
9 changed files with 478 additions and 394 deletions
+2 -1
View File
@@ -5,7 +5,8 @@
package ws2812 // import "tinygo.org/x/drivers/ws2812"
//go:generate go run gen-ws2812.go -arch=cortexm 16 48 64 120 125 150 160 168 200
//go:generate go run gen-ws2812.go -arch=tinygoriscv 160 320
//go:generate go run gen-ws2812.go -arch=tinygoriscv 320
//go:generate go run gen-ws2812.go -arch=esp32c3 160
import (
"errors"