-
Notifications
You must be signed in to change notification settings - Fork 8.3k
drivers: ethernet: eth_stm32_hal.c: enable IRQ at the end of iface init #35218
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
drivers: ethernet: eth_stm32_hal.c: enable IRQ at the end of iface init #35218
Conversation
78217bc to
558025b
Compare
558025b to
c31c4f9
Compare
|
^^@jonasn-ge |
KozhinovAlexander
left a comment
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.
@ABOSTM Thank you for your PR and testing it. Please take a look at my suggestions. I hope, they can be helpful. Otherwise LGTM.
|
This helps my use-case, see comment in #32771. Tested on STM32F427 with auto-neg disabled. |
lochej
left a comment
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.
LGTM, tested on F767ZI with dumb_http_server 👍
This avoid IRQ to be handle before iface init is finished (especially before iface address is set) Fixes zephyrproject-rtos#32771 Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
c31c4f9 to
653b329
Compare
KozhinovAlexander
left a comment
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.
LGTM
drivers: ethernet: eth_stm32_hal.c: enable IRQ at the end of iface init
This avoid IRQ to be handle before iface init is finished
(especially before iface address is set)
Fixes #32771