Przepisać on Change gpio driver

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

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

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

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.

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
Dominant language
C++
Stars
1
Forks
3
Avg merge
14h 51m
Merged PRs (30d)
7

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

  • No Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

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.

More from Simba-Avionic/srp

All issues in Simba-Avionic/srp

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.