Simba-Avionic / Simba-Avionic/srp

Przepisać on Change gpio driver

Open
#295 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
1
Forks
3
Avg merge
34m
Merged PRs (30d)
1

Description

User Story

Mamy w mw/gpio_service coś takiego jak onChangeDriver, służy on do dostawania informacji o zmianie stanu jakiegoś pinu, był on robiony na szybko więc po prostu iteruje on pozadanych pinach co 100ms i sprawdza czy stan któregoś się nie zmienił, jest to metoda wolna i zasobożerna

TODO
  • przepisać ten driver na poll / epoll (co z analizy wyjdzie że jest lepsze)
  • uaktualnić dokumentacje gpio_mw na wiki

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in mw/gpio_service by reading the onChangeDriver implementation and its 100 ms polling loop. Analyze whether poll or epoll is appropriate for the GPIO pins, then update the driver and refresh the gpio_mw documentation on the wiki. Done means the driver no longer relies on the current periodic state checks and the documentation reflects the new approach.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
embedded-iot
Issue type
Refactor
Difficulty
5/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.