mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-08-08 00:43:39 +00:00
ws2812: make AVR support more robust
* Merge AVR support for Digispark and non-Digispark * Fix the error "inline assembly requires more registers than available" * Use a single file for all AVR targets, in a similar style as the Xtensa support.
This commit is contained in:
committed by
Ron Evans
parent
e376785596
commit
df64ce8f50
@@ -132,6 +132,8 @@ smoke-test:
|
||||
tinygo build -size short -o ./build/test.hex -target=circuitplay-express ./examples/ws2812
|
||||
@md5sum ./build/test.hex
|
||||
ifneq ($(AVR), 0)
|
||||
tinygo build -size short -o ./build/test.hex -target=arduino ./examples/ws2812
|
||||
@md5sum ./build/test.hex
|
||||
tinygo build -size short -o ./build/test.hex -target=digispark ./examples/ws2812
|
||||
@md5sum ./build/test.hex
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user