Skip to content

Example that supports RTIC using nrf52840-dk-bsp? #7

Description

@cpfister

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?

Screenshot 2020-08-26 at 17 44 31

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:

Screenshot 2020-08-26 at 17 40 57

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions