|
|
|
|
|
by gregoryw3
537 days ago
|
|
Just wondering why you decided to use Embassy and RTIC? Was there any specific reasons? I’m doing an Embassy project on an esp right now so wondering if you have any issues or insights worth mentioning? From my understanding Embassy and RTIC are two different models of concurrency so I’m not sure of any benefit of using both at the same time. |
|
A lot of embassy (except quite unsurprisingly, the executor) is executor agnostic. In fact, I think it might be _all_ of embassy that is executor agnostic. There's some information here: https://rtic.rs/dev/book/en/rtic_and_embassy.html
While my code is not public yet, here is an example (written by someone else) of STM32 code using the embassy-stm32 I2C peripheral wrapper with RTIC:
https://github.com/andresv/rtic_arbiter_demo/blob/master/src...