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:
Ayke van Laethem
2021-10-20 02:20:55 +02:00
committed by Ron Evans
parent 050cf4dbbc
commit 94729a4f7d
4 changed files with 1171 additions and 2 deletions
+1
View File
@@ -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"