pico-sdk icon indicating copy to clipboard operation
pico-sdk copied to clipboard

Implement Pioasm for Go (TinyGo)

Open soypat opened this issue 1 year ago • 4 comments

This PR answers the issue https://github.com/tinygo-org/tinygo/issues/1953, basically answering the question "How PIO will be implemented in TinyGo?".

Most of the discussion of design is also contained inside https://github.com/tinygo-org/tinygo/pull/1983 (initial PR)

In the end development continued in a separate repository: https://github.com/tinygo-org/pio

It'd be great to get a green-light from main TinyGo stakeholders: @deadprogram, @aykevl, @kenbell

soypat avatar Jan 12 '24 00:01 soypat

I think this would be a good feature to make available to the broader community now that it is working. :smile_cat:

Kudos to @soypat for doing all the heavy lifting on this!

deadprogram avatar Jan 12 '24 09:01 deadprogram

I would imagine we'd need some "test" and or example code

peterharperuk avatar Jan 12 '24 10:01 peterharperuk

I'm happy to merge it if it has the TinyGO community blessing.

kilograham avatar Jan 12 '24 17:01 kilograham

While we wait for objetors to the PR I'd like to ask if there's a predetermined we could add examples on how to use this with Go? Would it be acceptable to add a link in the pioasm tool help text pointing to examples of Go usage? Namely piolib

soypat avatar Jan 15 '24 05:01 soypat

Whoops, finally getting back to this. :smiley_cat:

@soypat is there anything still needing to be done on this PR? Also, anything needing to be updated in https://github.com/tinygo-org/pio to match it?

deadprogram avatar May 06 '24 17:05 deadprogram

@deadprogram All that is needed is this being merged as the pio library is already dependent on this!

soypat avatar May 07 '24 19:05 soypat

Thank you very much for working on this @soypat and to @kilograham for review!

deadprogram avatar May 08 '24 07:05 deadprogram