Open thejpster opened 2 years ago
This would require adding Rust codegen support to pioasm, yes?
Hmm, I hadn't considered what to do with the C code embedded in the .asm file.
https://github.com/rp-rs/pio-rs/pull/20 adds support for pulling in a PIO file, and that's probably good enough.
There may be cases where you are using pioasm to compile your PIO code and you want to load a compiled PIO program into your Rust code (maybe also loading the same compiled PIO program in a C program).
We should have an example on how to do that.