Skip to content

Misuse of FreeRTOS task notifications as semaphores without give/take API #6

Open
@mincrmatt12

Description

@mincrmatt12

Right now there seems to be race conditions in places where we wait for a task to do something because I've somehow failed to notice that FreeRTOS has a separate semaphore API for task notifications (i.e. for waiting on notification state >= 0) that would solve a significant number of problems.

Fixes required in:

  • servicer (stm)
  • serial (esp)
    • to grabber
    • to dupm
  • matrix refresh (stm)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions