As a heads up: we added the PTP tooling around embassy-net/embassy-stm32 through embassy-rs/embassy#6325, embassy-rs/embassy#6327, and embassy-rs/embassy#6359.
https://github.com/quartiq/statime-embassy-net contains both a generic PTP runner over embassy/statime traits, an impl of the traits for stm32 as well as an example.
There is already statime-stm32 and while it's a working template, it's not a reusable lib crate that would plug into an existing app.
Since the code is tightly statime-bound, statime-embassy-net may well fit into the statime repo and we'd be happy to donate it.
cc #140 #56
As a heads up: we added the PTP tooling around embassy-net/embassy-stm32 through embassy-rs/embassy#6325, embassy-rs/embassy#6327, and embassy-rs/embassy#6359.
https://github.com/quartiq/statime-embassy-net contains both a generic PTP runner over embassy/statime traits, an impl of the traits for stm32 as well as an example.
There is already
statime-stm32and while it's a working template, it's not a reusablelibcrate that would plug into an existing app.Since the code is tightly
statime-bound,statime-embassy-netmay well fit into thestatimerepo and we'd be happy to donate it.cc #140 #56