Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Develop HAL RTC interaction and callback layer for PTP

Đang mở
#366 3 bình luận 0 reaction 1 người được giao Xem trên GitHub

@ninjadrknss đang làm issue này rồi.

Từ ngày 10/2/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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.

Ngôn ngữ chính
C
Star
2
Fork
2
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Northeastern-Electric-Racing/Embedded-Base

Tất cả issue của Northeastern-Electric-Racing/Embedded-Base

Issue tương tự

Thêm issue về C

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.