mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-09-10 00:29:30 +00:00
ws2812: add support for RISC-V
This commit adds support for two new chips using the RISC-V architecture: the FE310 (used in the HiFive 1) and the ESP32-C3 from Espressif.
This commit is contained in:
committed by
Ron Evans
parent
050cf4dbbc
commit
94729a4f7d
@@ -2,6 +2,7 @@
|
||||
package ws2812 // import "tinygo.org/x/drivers/ws2812"
|
||||
|
||||
//go:generate go run gen-ws2812.go -arch=cortexm 16 48 64 120 168
|
||||
//go:generate go run gen-ws2812.go -arch=tinygoriscv 160 320
|
||||
|
||||
import (
|
||||
"errors"
|
||||
|
||||
Reference in New Issue
Block a user