4 releases

0.2.2 Apr 22, 2023
0.2.1 Mar 14, 2022
0.2.0 Mar 9, 2022
0.1.0 Dec 11, 2021

#1064 in Procedural macros

Download history 849/week @ 2024-07-24 1417/week @ 2024-07-31 826/week @ 2024-08-07 1452/week @ 2024-08-14 5640/week @ 2024-08-21 6558/week @ 2024-08-28 7268/week @ 2024-09-04 5907/week @ 2024-09-11 5372/week @ 2024-09-18 4290/week @ 2024-09-25 1767/week @ 2024-10-02 2185/week @ 2024-10-09 3828/week @ 2024-10-16 2910/week @ 2024-10-23 2319/week @ 2024-10-30 2678/week @ 2024-11-06

12,173 downloads per month
Used in 20 crates (12 directly)

MIT license

77KB
2K SLoC

Rust 1.5K SLoC // 0.0% comments LALRPOP 247 SLoC // 0.0% comments

pio-proc

Support for the Raspberry Silicon RP2040's PIO State Machines assembly at compile-time.

What is pio-proc

This crate is a macro that can assemble PIO asm at compile-time. It is part of pio.

PIO Examples

This crate is just the PIO macro. If you want to see some fully-featured PIO examples integrated with Embedded Rust on the RP2040, check out the rp-hal examples.

Roadmap

NOTE This tool is under active development. As such, it is likely to remain volatile until a 1.0.0 release.

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Project Link: https://github.com/rp-rs/pio-rs/issues Matrix: #rp-rs:matrix.org

Acknowledgements

Dependencies

~6–14MB
~183K SLoC