-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Now that things seem to be working on my Pico2W I'm trying to make the examples available. I'm running into this when trying to build with sdcard support:
$ TARGET=pico2 BLOCKDEV=sdflash FS=fatfs make flash
tinygo flash -tags=fatfs,sdflash -target=pico2 -serial=uart -scheduler=tasks
# mattwach/rpngo/drivers/tinygo/tinyfs
../../../drivers/tinygo/tinyfs/sdflash.go:18:9: cannot use sd (variable of struct type sdcard.Device) as "tinygo.org/x/tinyfs".BlockDevice value in return statement: sdcard.Device does not implement "tinygo.org/x/tinyfs".BlockDevice (method EraseBlockSize has pointer receiver)
../../../drivers/tinygo/tinyfs/sdflash.go:18:13: undefined: err
make: *** [Makefile:9: flash] Error 1
$ TARGET=pico2 BLOCKDEV=sdflash FS=littlefs make flash
tinygo flash -tags=littlefs,sdflash -target=pico2 -serial=uart -scheduler=tasks
# mattwach/rpngo/drivers/tinygo/tinyfs
../../../drivers/tinygo/tinyfs/sdflash.go:18:9: cannot use sd (variable of struct type sdcard.Device) as "tinygo.org/x/tinyfs".BlockDevice value in return statement: sdcard.Device does not implement "tinygo.org/x/tinyfs".BlockDevice (method EraseBlockSize has pointer receiver)
../../../drivers/tinygo/tinyfs/sdflash.go:18:13: undefined: err
make: *** [Makefile:9: flash] Error 1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels