File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 1+
2+ clean :
3+ @rm -rf build
4+
5+ FMT_PATHS = ./
6+
7+ fmt-check :
8+ @unformatted=$$(gofmt -l $(FMT_PATHS ) ) ; [ -z " $$ unformatted" ] && exit 0; echo " Unformatted:" ; for fn in $$ unformatted; do echo " $$ fn" ; done ; exit 1
9+
10+ smoke-test :
11+ @mkdir -p build
12+ tinygo build -target pico-w -size short -o build/test.uf2 ./rp2-pio/examples/blinky
13+ tinygo build -target pico-w -size short -o build/test.uf2 ./rp2-pio/examples/i2s
14+ tinygo build -target pico-w -size short -o build/test.uf2 ./rp2-pio/examples/pulsar
15+ tinygo build -target pico-w -size short -o build/test.uf2 ./rp2-pio/examples/tufty
16+ tinygo build -target pico-w -size short -o build/test.uf2 ./rp2-pio/examples/ws2812b
17+
18+ test : clean fmt-check smoke-test
You can’t perform that action at this time.
0 commit comments