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

Allow sending messages directly from ISR #881

Closed

Commits on Oct 28, 2023

  1. Allow sending messages directly from ISR

    Introduce and document new functions to send messages from an interrupt service
    routine
    
    Add CMake option AVM_DISABLE_ISR to disable these functions as they require
    several synchronization and atomic primitives that are not available on all
    platforms
    
    Introduce the required synchronization primitives that try and acquire locks
    
    Also fix Pico networking code that sends messages from interrupt service code
    (as chosen lwIP mode is low-priority interrupt mode) by using these new
    functions
    
    Signed-off-by: Paul Guyot <pguyot@kallisys.net>
    pguyot committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    4b9711e View commit details
    Browse the repository at this point in the history