-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Eth: STM32: Overriding HAL callbacks in stm32xx #14926
Conversation
@katherrafi, thank you for your changes. |
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.
Reading the comment #13554 (comment) , is this the proper fix ?
connectivity/drivers/emac/TARGET_STM/stm32xx_eth_irq_callback.cpp
Outdated
Show resolved
Hide resolved
From the discussion, the comment @kjbracey-arm provided: #13554 (comment) - do we want to support this, basically patching STM emac, shouldn't they inherit this emac driver and do customization on their own? Is it enough just these 2 callbacks? Adding two weakly functions and their strong definition looks fine just making sure. |
This pull request has automatically been marked as stale because it has had no recent activity. @ARMmbed/Team-ST-MCD, @ARMmbed/mbed-os-connectivity, please complete review of the changes to move the PR forward. Thank you for your contributions. |
@ARMmbed/team-st-mcd Please review |
Reminder for review and trigger CI. |
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.
If @ARMmbed/team-st-mcd is happy with the proposed fix
In this way we can enable as specified by the comment 13554, #13022. Only this two callbacks are supported in the default driver as of now, hence we did the same. |
This pull request has automatically been marked as stale because it has had no recent activity. @ARMmbed/mbed-os-maintainers, please start CI to get the PR merged. |
CI started |
Jenkins CI Test : ❌ FAILEDBuild Number: 1 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
I think a |
This commit enables the Overriding of HAL callbacks and IRQHandler in stm32xx_emac.cpp. Hence the user can have their own implementations of callbacks and IRQHandler functions. Signed-off-by: Kather Rafi Ibrahim <[email protected]>
df5725f
to
a9f51e3
Compare
This is updated in the code. |
CI started |
Sorry but I didn't understand the command. Please consult the commands documentation 📚. Hey, I reacted but my real name is @Mergifyio |
Jenkins CI Test : ✔️ SUCCESSBuild Number: 2 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
Summary of changes
This commit enables the Overriding of HAL callbacks and IRQHandler
in stm32xx_emac.cpp. Hence the user can have their own
implementations of callbacks and IRQHandler functions.
This solves the issue #13554
Signed-off-by: Kather Rafi Ibrahim [email protected]
Impact of changes
Migration actions required
Documentation
Pull request type
Test results
Reviewers