Ayke

Results 615 comments of Ayke

@deadprogram glad we're not the only ones! Unfortunately we currently depend on MinGW, MSVC is unsupported by the Go toolchain: https://github.com/golang/go/issues/20982

It looks like something didn't quite work well in the rebase, as there are a lot of unrelated commits. I believe you can fix this by running `git rebase -i...

> I can adapt it to your proposed interface. You can, but my intention is to integrate this into the TinyGo machine package. So there won't be a need for...

> It seems like this is probably a proposal for async I/O (DMA is one implementation) for multiple types of peripherals (I2C, UART, ...). Yes, although I haven't really thought...

Here is one possible way to implement a DMA API using channels: > ```go > func (spi SPI) Wait() ``` > > Return a channel that will send a single...

> The other option would be for `spi.StartTx` to return an error if a transaction is in process. I can kind of seeing it both ways, but doing a gratuitous...

Rebased the PR (no actual update). @kenbell looking back on this I'm not so sure about the API with channels. It seems rather brittle to me and very easy to...

Sorry I missed this comment. > Wouldn't we be able to tell if a SPI has DMA by looking at whether it implements an interface with StartTx and Wait? (I...

This sounds like a good idea. @ptr-dodge if you want, you can make a PR to update the documentation here: https://github.com/tinygo-org/tinygo-site/blob/dev/content/getting-started/install/windows.md

Did a quick test and I can confirm that the first write results in some weird colors. Subsequent writes work fine however. This will need a bit more investigation to...