Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Second try at adding PTP support #462

Open
wants to merge 35 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
0c80c09
initial commit, adding timestamping
Oct 10, 2023
80f6474
copying ptp folder from first try
Oct 10, 2023
bda242d
moving ptp folder, making pub
Oct 10, 2023
332c8e5
adding ptp frame functions
Oct 11, 2023
2f1f7d7
adding meta
Oct 11, 2023
6389de8
removing packed for ptp frame
Oct 11, 2023
4a28d5d
making ptp new func pub
Oct 11, 2023
a7dac3e
saving the frames in consume
Oct 11, 2023
9145d29
interrupt change
Oct 11, 2023
68f694f
fixing assert to allow tx transmit flag
Oct 11, 2023
75f8a8a
enabling more interrupts
Oct 11, 2023
654bf35
easier debug
Oct 12, 2023
65fa71f
removing some differences with original
Oct 12, 2023
c568346
moving based on pinned rev
Oct 12, 2023
a2cc738
release timestamp desc fix?
Oct 12, 2023
4df7909
trying fix
Oct 12, 2023
3efec7f
removing as ref
Oct 12, 2023
dd87925
separate into buf
Oct 12, 2023
44c104c
ref fix
Oct 12, 2023
2df57f2
moving arround to prevent double borrow
Oct 12, 2023
a70d674
trying 2:1 priority ratio
Oct 12, 2023
11a3125
demand poll on rx desc unavailable
Oct 12, 2023
9303650
adding another stop possibility
Oct 12, 2023
8a57316
trying without release timestamp desc
Oct 13, 2023
ae08c2c
switching ptp frame storage method
Oct 13, 2023
a42a251
start searching after write pos
Oct 13, 2023
8c8eeaa
prevent overflow
Oct 13, 2023
6643b79
Revert "prevent overflow"
Oct 13, 2023
96bb144
Revert "start searching after write pos"
Oct 13, 2023
281a528
FIX BUG IN WRITE_POS INCREMENT
Oct 13, 2023
e500280
Merge branch 'master' into ptp-take2
HarishgunaS Oct 13, 2023
7904632
support tail tagging with ptp messages
Jan 17, 2024
4378b22
bug fix
Jan 17, 2024
fad1ac0
smoltcp upgrade?
Feb 16, 2024
f7d7148
transmit timestamp bug fix
Feb 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ fdcan = { version = "0.2", optional = true }
embedded-storage = "0.3"

[dependencies.smoltcp]
version = "0.10.0"
version = "0.11.0"
default-features = false
features = ["medium-ethernet", "proto-ipv4", "socket-raw"]
optional = true
Expand Down Expand Up @@ -83,7 +83,7 @@ tinybmp = "0.5"
embedded-graphics = "0.8"

[dev-dependencies.smoltcp]
version = "0.10.0"
version = "0.11.0"
default-features = false
features = ["medium-ethernet", "proto-ipv4", "proto-ipv6", "socket-raw"]

Expand All @@ -100,6 +100,7 @@ gpio-h72 = []
gpio-h747 = []
gpio-h7a2 = []

ptp = ["smoltcp/packetmeta-id"]
dsi = []
cm4 = []
cm7 = []
Expand Down
Loading