ws2812: make assembly generator architecture independent

This commit is contained in:
Ayke van Laethem
2021-10-19 20:22:33 +02:00
committed by Ron Evans
parent 49c8810432
commit 050cf4dbbc
3 changed files with 84 additions and 38 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
// Package ws2812 implements a driver for WS2812 and SK6812 RGB LED strips.
package ws2812 // import "tinygo.org/x/drivers/ws2812"
//go:generate go run gen-ws2812-arm.go
//go:generate go run gen-ws2812.go -arch=cortexm 16 48 64 120 168
import (
"errors"