-
Notifications
You must be signed in to change notification settings - Fork 115
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
STM32f7: Fix TX timestamp check #232
Conversation
Thanks for the fix, which looks totally fine. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor remarks for README entry
166e42e
to
b39dba6
Compare
@marwaiehm-st Please make an zephyr branch related to this PR. As we'll need to get it backported, it will likely be required in the process at one moment. |
It looks like the original code was a bad copy-paste from H5/H7 HALs. ETH_DMATXDESC_LS and ETH_DMATXDESC_TTSS are flags from the DuESC0 register. This fix allows to effectively set the TX timestamp properly when there is one. Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Update README file with the new patch "Use the correct register DESC0" Signed-off-by: IBEN EL HADJ MESSAOUD Marwa <marwa.ibenelhadjmessaoud-ext@st.com>
b39dba6
to
c6c31be
Compare
PR rebased |
This fix ensures that the TX timestamp is properly set by correctly
checking the ETH_DMATXDESC_LS and ETH_DMATXDESC_TTSS flags in the DESCO register.
Fixes STMicroelectronics/STM32CubeF7#121