-
Notifications
You must be signed in to change notification settings - Fork 7k
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
stm32h7 ethernet driver support #26226
stm32h7 ethernet driver support #26226
Conversation
^^ @i-and, @KwonTae-young, @gmarull |
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.
I think there are a few style/code issues that should be fixed first.
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.
some mostly cosmetic nits
a7380f4
to
4c2dfe4
Compare
c10221f
to
f0d17f3
Compare
7a3f244
to
3d35a32
Compare
4f1c0fa
to
065c385
Compare
@Nukersson can you check the CI failure ? |
Tagging DNM to avoid accidental merge until CI is fixed |
Will be fixed today evening. Can't do it until then. |
1 similar comment
Will be fixed today evening. Can't do it until then. |
165dd56
to
9851b25
Compare
@erwango CI test fixed. Checks are passing. Please remove DNM, if possible. |
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.
Last mile..
8c9528b
to
7c30944
Compare
added ethernet pins definition for stm32h7 SoC series Signed-off-by: Alexander Kozhinov <AlexanderKozhinov@yandex.com>
added changes that apply to other than stm32h7 series and prepares stm32h7 series integration: eth_tx/eth_rx: changed type of total_len added necessary defines for tx_desc and own flag extractions added read_eth_phy_register() function and corresponding defines added ETH_DMA_MEM and CACHE defines following memory buffers declarations moved out of its ifdef preprocessor macro: dma_rx_desc_tab, dma_tx_desc_tab, dma_rx_buffer, dma_tx_buffer added hal_ret stm32 HAL status checks Signed-off-by: Alexander Kozhinov <AlexanderKozhinov@yandex.com>
add DTCM caching management in KConfig for stm32h7 add NOCACHE_MEMORY support for stm32h7 M7 CPU series add HAL_RCC_EX support for stm32h7 series implemented stm32h7 support within stm32 eth driver Signed-off-by: Alexander Kozhinov <AlexanderKozhinov@yandex.com>
KConfig.defconfig: enabled NETWORKING support pinmux.c: added ethernet pins definition for this board m7 yaml file becomes netif:eth support enabled Signed-off-by: Alexander Kozhinov <AlexanderKozhinov@yandex.com>
7c30944
to
6b5187c
Compare
Congrats @Nukersson for this PR, the next step is for us to open another PR to add my interrupt based method to the driver 😄 |
Thanks. I will prepare it and contact you later. |
Currently I have first working driver prototype under my corresponding development branch. This driver were successfully tested on following Zephyr samples: