Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move deferred call mechanism to kernel #935

Merged
merged 3 commits into from May 26, 2018
Merged

Move deferred call mechanism to kernel #935

merged 3 commits into from May 26, 2018

Commits on May 25, 2018

  1. kernel: add deferred_call struct

    This supports chips that need to create fake interrupts for peripherals
    that don't support interrupts in order to implement a HIL.
    bradjc committed May 25, 2018
    Configuration menu
    Copy the full SHA
    4de9421 View commit details
    Browse the repository at this point in the history
  2. kernel: use homemade AtomicUsize

    Since thumbv6 doesn't suppport AtomicUsize provided by rust
    (unless rust-lang/rust#45085 gets implemented
    I guess), we create our own based on
    https://github.com/japaric/heapless/blob/master/src/ring_buffer/mod.rs.
    
    This allows it to compile for all of our boards.
    bradjc committed May 25, 2018
    Configuration menu
    Copy the full SHA
    6983612 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d13e147 View commit details
    Browse the repository at this point in the history