-
Notifications
You must be signed in to change notification settings - Fork 230
Closed
Description
commit 38f97a8
Ten of the "smoke tests" invoked by make test fail to compile for me.
Here are the errors that I see for the ones that fail:
tinygo build -size short -o ./build/test.hex -target=pybadge ./examples/amg88xx
# tinygo.org/x/drivers/examples/amg88xx
examples/amg88xx/main.go:16:22: SPI1_SDO_PIN not declared by package machine
examples/amg88xx/main.go:16:3: unknown field SDO in struct literal
examples/amg88xx/main.go:17:22: SPI1_SDI_PIN not declared by package machine
examples/amg88xx/main.go:17:3: unknown field SDI in struct literal
tinygo build -size short -o ./build/test.hex -target=itsybitsy-m0 ./examples/flash/console/spi
# tinygo.org/x/drivers/flash
flash/transport_spi.go:56:3: unknown field SDI in struct literal
flash/transport_spi.go:57:3: unknown field SDO in struct literal
tinygo build -size short -o ./build/test.hex -target=pyportal ./examples/flash/console/qspi
# tinygo.org/x/drivers/flash
flash/transport_spi.go:56:3: unknown field SDI in struct literal
flash/transport_spi.go:57:3: unknown field SDO in struct literal
tinygo build -size short -o ./build/test.hex -target=xiao ./examples/ili9341/basic
# tinygo.org/x/drivers/examples/ili9341/basic
examples/ili9341/basic/atsamd21.go:25:22: SPI0_SDO_PIN not declared by package machine
examples/ili9341/basic/atsamd21.go:25:3: unknown field SDO in struct literal
examples/ili9341/basic/atsamd21.go:26:22: SPI0_SDI_PIN not declared by package machine
examples/ili9341/basic/atsamd21.go:26:3: unknown field SDI in struct literal
tinygo build -size short -o ./build/test.hex -target=xiao ./examples/ili9341/scroll
# tinygo.org/x/drivers/examples/ili9341/scroll
examples/ili9341/scroll/atsamd21.go:25:22: SPI0_SDO_PIN not declared by package machine
examples/ili9341/scroll/atsamd21.go:25:3: unknown field SDO in struct literal
examples/ili9341/scroll/atsamd21.go:26:22: SPI0_SDI_PIN not declared by package machine
examples/ili9341/scroll/atsamd21.go:26:3: unknown field SDI in struct literal
tinygo build -size short -o ./build/test.hex -target=arduino-nano33 ./examples/wifinina/ntpclient/main.go
examples/wifinina/ntpclient/main.go:49:22: NINA_SDO not declared by package machine
examples/wifinina/ntpclient/main.go:49:3: unknown field SDO in struct literal
examples/wifinina/ntpclient/main.go:50:22: NINA_SDI not declared by package machine
examples/wifinina/ntpclient/main.go:50:3: unknown field SDI in struct literal
tinygo build -size short -o ./build/test.hex -target=arduino-nano33 ./examples/wifinina/udpstation/main.go
examples/wifinina/udpstation/main.go:46:22: NINA_SDO not declared by package machine
examples/wifinina/udpstation/main.go:46:3: unknown field SDO in struct literal
examples/wifinina/udpstation/main.go:47:22: NINA_SDI not declared by package machine
examples/wifinina/udpstation/main.go:47:3: unknown field SDI in struct literal
tinygo build -size short -o ./build/test.hex -target=arduino-nano33 ./examples/wifinina/tcpclient/main.go
examples/wifinina/tcpclient/main.go:58:22: NINA_SDO not declared by package machine
examples/wifinina/tcpclient/main.go:58:3: unknown field SDO in struct literal
examples/wifinina/tcpclient/main.go:59:22: NINA_SDI not declared by package machine
examples/wifinina/tcpclient/main.go:59:3: unknown field SDI in struct literal
tinygo build -size short -o ./build/test.hex -target=arduino-nano33 ./examples/wifinina/webclient/main.go
examples/wifinina/webclient/main.go:59:22: NINA_SDO not declared by package machine
examples/wifinina/webclient/main.go:59:3: unknown field SDO in struct literal
examples/wifinina/webclient/main.go:60:22: NINA_SDI not declared by package machine
examples/wifinina/webclient/main.go:60:3: unknown field SDI in struct literal
tinygo build -size short -o ./build/test.hex -target=digispark ./examples/ws2812
error: failed to build src/runtime/scheduler_avr.S: exec: "avr-gcc": executable file not found in $PATH
Metadata
Metadata
Assignees
Labels
No labels