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

#916 in Procedural macros

Download history 1014/week @ 2024-07-01 793/week @ 2024-07-08 1028/week @ 2024-07-15 885/week @ 2024-07-22 878/week @ 2024-07-29 1249/week @ 2024-08-05 1141/week @ 2024-08-12 3398/week @ 2024-08-19 7033/week @ 2024-08-26 7120/week @ 2024-09-02 6121/week @ 2024-09-09 5178/week @ 2024-09-16 5801/week @ 2024-09-23 2033/week @ 2024-09-30 1846/week @ 2024-10-07 3502/week @ 2024-10-14

13,459 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
~180K SLoC