Skip to content

IEEE1588 improvements for PTP#64

Open
HedgeHawk wants to merge 24 commits intossilverman:ieee1588-2from
HedgeHawk:ieee1588-2-fix
Open

IEEE1588 improvements for PTP#64
HedgeHawk wants to merge 24 commits intossilverman:ieee1588-2from
HedgeHawk:ieee1588-2-fix

Conversation

@HedgeHawk
Copy link
Copy Markdown

Hey, thank you for this awesome library!
I just saw PR #57 and read that there is some ongoing work on a new branch for IEEE1588. Last year, I implemented some new functionality that we needed for our PTP library and fixed some bugs in the timer code during verification. We also built some examples along the way for Pulse Per Second (PPS) in and out and timer adjustments that may come in handy. I currently don't have the time to rebase this on the master branch, but I hope some snippets of the code help to improve the ongoing work.

ssilverman and others added 23 commits November 19, 2022 11:56
The function now takes a const and the pulse width is now checked.
Also updated the docs for that and
enet_ieee1588_set_channel_output_pulse_width().
It now returns the result from enet_ieee1588_adjust_timer().
New object, in the Arduino style: EthernetIEEE1588.
The seconds are captured at the same time as the nanoseconds. This
removes the need to adjust the seconds in calling code.
@ssilverman
Copy link
Copy Markdown
Owner

Thanks for this. I have a local copy that I try to keep up-to-date with master. I’ll see where your changes fit in.

@ssilverman ssilverman force-pushed the ieee1588-2 branch 5 times, most recently from 7290671 to 25a1b86 Compare December 14, 2025 02:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants