rp-hal icon indicating copy to clipboard operation
rp-hal copied to clipboard

PIO example which loads a .pio file

Open thejpster opened this issue 3 years ago • 2 comments

If you are working with the Pico SDK, you might have some PIO code written out in a .pio file. We should have an example of some Rust code that can load the .pio file at compile time.

thejpster avatar Oct 04 '21 16:10 thejpster

Do you want to add this example to the examples in this repository? Or is it sufficient since it currently exists in rp_hal_boards?

doraneko94 avatar Aug 29 '23 08:08 doraneko94

IMHO, rp-hal-boards is good enough.

ithinuel avatar Aug 29 '23 10:08 ithinuel

https://github.com/rp-rs/rp-hal-boards/blob/main/boards/rp-pico/examples/pico_pio_pwm.rs#L132 does exactly that. So I think this ticket can be closed?

jannic avatar Jun 12 '24 20:06 jannic