Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Develop HAL RTC interaction and callback layer for PTP

Aperta
#366 3 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@ninjadrknss ci sta già lavorando.

Dal 10/2/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

Description

Right now we use the UDP userspace PTP from ThreadX NetX.
See https://github.com/eclipse-threadx/rtos-docs/blob/main/rtos-docs/netx-duo/netx-duo-ptp-client/chapter1.md.

We use the soft client timer callback. Thats bad.

Acceptance Criteria

Uses STM32 H5 RTC object in order to implement the hard clock callback. Support sub microsecond precision.

Proposed Solution

Edit the PTP client in our ethernet file (do not edit copied NetX source) to use the callback of the RTC. Whether the callback should be in Embedded base or the parent is up to you. Just note if you do it here:

  • You must somehow take in a RTC. Can be H5 specific for now.
  • You must ensure the RTC timer tick is accurate.

Make sure to read about the finer points of sub second accuracy in the STM docs and forums.

Lingua principale
C
Stelle
2
Fork
2
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Northeastern-Electric-Racing/Embedded-Base

Tutte le issue di Northeastern-Electric-Racing/Embedded-Base

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.