Skip to content

Commit

Permalink
stm32h7: split ethernet peripheral for dualcore parts
Browse files Browse the repository at this point in the history
Split periperal into (MAC, DMA, MTL)

`h7_ethernet_desc_mtl` is not required as descriptions are already
included in the `h7_ethernet_mtl` definitions.
  • Loading branch information
richardeoin committed Oct 22, 2019
1 parent 26f4568 commit c9348f4
Show file tree
Hide file tree
Showing 6 changed files with 608 additions and 9 deletions.
18 changes: 18 additions & 0 deletions devices/common_patches/h7_ethernet_combined_desc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Applies to H7 where MAC and MTL registers are combined under
# the Ethernet_MAC peripheral

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

Ethernet_MAC:
# Delete DMA and MTL parts from MAC
_delete:
_registers:
- DMA*
- MTL*

# Descriptions for MAC
_include:
- ./h7_ethernet_desc_mac.yaml
7 changes: 0 additions & 7 deletions devices/common_patches/h7_ethernet_desc_combined.yaml

This file was deleted.

0 comments on commit c9348f4

Please sign in to comment.