You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be possible to add an example that supports RTIC, with interrupt and periodic tasks? Is this possible, given that the API does not appear to export Interrupt and NVIC_PRIO_BITS?
I tried to add my own RTIC device implementation, although I didn't find much documentation about it, and it just might work for Interrupt, but it still lacks the other part because pac is not accessible:
As a more general question: is there hope that e.g. an rtic-hal-api crate will be defined, so that all HAL implementers can opt to not just implement the embedded-hal API, but also the rtic-hal-api? Ideally in a way that makes it possible to support different monotonic timers for RTIC, for different usage scenarios? Or is this already the (cortex-m-)rtic crate, but HAL implementers do not support it? And finally, what's the best place on the Web to keep up-to-date regarding such questions?
The text was updated successfully, but these errors were encountered:
To also use nrf52840 peripherals, I could only make it work by nrf52840_dk_bsp::Board::steal, because RTIC's pre_init.rs generates:
rtic::export::Peripherals::steal().into();
which is called before [init] and makes nrf52840_dk_bsp::Board::take fail.
There has been a discussion how RTIC should make peripherals available: see rtic-rs/rtic#163 (closed) that eventually led to the following change: rtic-rs/rtic#201
I am not sure if/how nrf52840_dk_bsp could support both, RTIC and non-RTIC in a clean way.
Would it be possible to add an example that supports RTIC, with interrupt and periodic tasks? Is this possible, given that the API does not appear to export Interrupt and NVIC_PRIO_BITS?
I tried to add my own RTIC device implementation, although I didn't find much documentation about it, and it just might work for Interrupt, but it still lacks the other part because pac is not accessible:
As a more general question: is there hope that e.g. an rtic-hal-api crate will be defined, so that all HAL implementers can opt to not just implement the embedded-hal API, but also the rtic-hal-api? Ideally in a way that makes it possible to support different monotonic timers for RTIC, for different usage scenarios? Or is this already the (cortex-m-)rtic crate, but HAL implementers do not support it? And finally, what's the best place on the Web to keep up-to-date regarding such questions?
The text was updated successfully, but these errors were encountered: