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

stm32h7: split ethernet peripheral for dualcore parts #288

Merged
merged 1 commit into from Oct 22, 2019

Conversation

richardeoin
Copy link
Member

Split ethernet peripheral into (MAC, DMA, MTL).

This brings it in line with single core parts.


Ethernet_MAC:
_include:
- ./h7_ethernet_desc_mac.yaml
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for not looking at this earlier - should this line be Ethernet_DMA?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, this is redundant. There's no need for separate description listings for MTL or DMA, because the descriptions are included in the standalone peripheral definitions here:

# Create separate DMA and MTL periperhals
_include:
  - ./h7_ethernet_dma.yaml
  - ./h7_ethernet_mtl.yaml

The desc_mac definitions are particularly misleading, as they're already included a few lines above. I'm therefore resolving by removing both description includes.

Split periperal into (MAC, DMA, MTL)

`h7_ethernet_desc_mtl` is not required as descriptions are already
included in the `h7_ethernet_mtl` definitions.
Copy link
Member

@adamgreig adamgreig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it, thanks!

bors r+

bors bot added a commit that referenced this pull request Oct 22, 2019
288: stm32h7: split ethernet peripheral for dualcore parts r=adamgreig a=richardeoin

Split ethernet peripheral into (MAC, DMA, MTL).

This brings it in line with single core parts.

Co-authored-by: Richard Meadows <962920+richardeoin@users.noreply.github.com>
@bors
Copy link
Contributor

bors bot commented Oct 22, 2019

Build succeeded

@bors bors bot merged commit c9348f4 into stm32-rs:master Oct 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants