Skip to content

Fixes for STM32H5 #114

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

Draft
wants to merge 2 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions devices/stm32/stm32h5-03.xml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,9 @@
</driver>
<driver name="gtzc" type="stm32-v2.2"/>
<driver name="hash" type="stm32-v4.0"/>
<driver name="i2c" type="stm32-v1.1">
<driver name="i2c" type="stm32-extended">
<feature value="dnf"/>
<feature value="fmp"/>
<instance value="1"/>
<instance value="2"/>
</driver>
Expand Down Expand Up @@ -181,7 +183,7 @@
<driver name="rtc" type="stm32-rtc2_v2_u5_cube"/>
<driver name="sau" type="stm32-v2.0"/>
<driver name="sbs" type="stm32-v1.1"/>
<driver name="spi" type="stm32">
<driver name="spi" type="stm32-extended">
<instance value="1"/>
<instance value="2"/>
<instance value="3"/>
Expand All @@ -201,7 +203,8 @@
<instance value="2"/>
<instance value="3"/>
</driver>
<driver name="usart" type="stm32">
<driver name="usart" type="stm32-extended">
<feature value="tcbgt"/>
<instance value="1"/>
<instance value="2"/>
<instance value="3"/>
Expand Down
690 changes: 0 additions & 690 deletions devices/stm32/stm32h5-23-c-c.xml

This file was deleted.

902 changes: 0 additions & 902 deletions devices/stm32/stm32h5-23-c-r.xml

This file was deleted.

1,203 changes: 0 additions & 1,203 deletions devices/stm32/stm32h5-23-c-v.xml

This file was deleted.

1,421 changes: 0 additions & 1,421 deletions devices/stm32/stm32h5-23-c-z.xml

This file was deleted.

690 changes: 0 additions & 690 deletions devices/stm32/stm32h5-23-e-c.xml

This file was deleted.

557 changes: 0 additions & 557 deletions devices/stm32/stm32h5-23-e-h.xml

This file was deleted.

902 changes: 0 additions & 902 deletions devices/stm32/stm32h5-23-e-r.xml

This file was deleted.

1,203 changes: 0 additions & 1,203 deletions devices/stm32/stm32h5-23-e-v.xml

This file was deleted.

1,421 changes: 0 additions & 1,421 deletions devices/stm32/stm32h5-23-e-z.xml

This file was deleted.

927 changes: 756 additions & 171 deletions devices/stm32/stm32h5-33-e-z.xml → devices/stm32/stm32h5-23_33.xml

Large diffs are not rendered by default.

698 changes: 0 additions & 698 deletions devices/stm32/stm32h5-33-e-c.xml

This file was deleted.

565 changes: 0 additions & 565 deletions devices/stm32/stm32h5-33-e-h.xml

This file was deleted.

910 changes: 0 additions & 910 deletions devices/stm32/stm32h5-33-e-r.xml

This file was deleted.

1,211 changes: 0 additions & 1,211 deletions devices/stm32/stm32h5-33-e-v.xml

This file was deleted.

9 changes: 6 additions & 3 deletions devices/stm32/stm32h5-62.xml
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,9 @@
</driver>
<driver name="hash" type="stm32-v4.0"/>
<driver name="hdmi_cec" type="stm32-v2.0"/>
<driver name="i2c" type="stm32-v1.1">
<driver name="i2c" type="stm32-extended">
<feature value="dnf"/>
<feature value="fmp"/>
<instance value="1"/>
<instance value="2"/>
<instance value="3"/>
Expand Down Expand Up @@ -262,7 +264,7 @@
<driver name="sdmmc" type="stm32-v2.1">
<instance value="1"/>
</driver>
<driver name="spi" type="stm32">
<driver name="spi" type="stm32-extended">
<instance value="1"/>
<instance value="2"/>
<instance value="3"/>
Expand Down Expand Up @@ -306,7 +308,8 @@
<driver name="ucpd" type="stm32-v1.0">
<instance value="1"/>
</driver>
<driver name="usart" type="stm32">
<driver name="usart" type="stm32-extended">
<feature value="tcbgt"/>
<instance value="1"/>
<instance value="2"/>
<instance value="3"/>
Expand Down
126 changes: 92 additions & 34 deletions devices/stm32/stm32h5-63_73.xml

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions tools/generator/dfg/stm32/stm_groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,9 @@
{
'family': ['h5'],
'name': ['03']
},{
'family': ['h5'],
'name': ['23', '33']
},{
'family': ['h5'],
'name': ['62']
Expand Down
12 changes: 6 additions & 6 deletions tools/generator/dfg/stm32/stm_peripherals.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
'hardware': 'stm32-mux-stream',
'features': [],
'protocols': ['mem2mem', 'mem2per', 'per2per'],
'devices': [{'family': ['h7']}]
'devices': [{'family': ['h5', 'h7']}]
},
{
'hardware': 'stm32-stream-channel',
Expand Down Expand Up @@ -164,7 +164,7 @@
'hardware': 'stm32h7',
'features': [],
'protocols': ['mem2mem', 'mem2per', 'per2per'],
'devices': [{'family': ['h7']}]
'devices': [{'family': ['h5', 'h7']}]

}
]
Expand Down Expand Up @@ -197,7 +197,7 @@
'hardware': 'stm32-extended',
'features': [],
'protocols': [],
'devices': [{'family': ['h7', 'u5']}]
'devices': [{'family': ['h5', 'h7', 'u5']}]
},{
'hardware': 'stm32',
'features': [],
Expand Down Expand Up @@ -405,7 +405,7 @@
'hardware': 'stm32-extended',
'features': ['dnf', 'fmp'],
'protocols': ['i2c-v3.0', 'smb-v2.0', 'pmb-v1.1'],
'devices': [{'family': ['c0', 'f3', 'f7', 'l4', 'l5', 'h7', 'g4', 'u5', 'wb']}]
'devices': [{'family': ['c0', 'f3', 'f7', 'l4', 'l5', 'h5', 'h7', 'g4', 'u5', 'wb']}]
}
]
},{
Expand All @@ -417,7 +417,7 @@
'hardware': 'stm32-extended',
'features': ['dnf', 'fmp'],
'protocols': ['i2c-v3.0', 'smb-v2.0', 'pmb-v1.1'],
'devices': [{'family': ['c0', 'f0', 'g0', 'f3', 'f7', 'l0', 'l4', 'l5', 'h7', 'g4', 'u0', 'u5', 'wb']}]
'devices': [{'family': ['c0', 'f0', 'g0', 'f3', 'f7', 'l0', 'l4', 'l5', 'h5', 'h7', 'g4', 'u0', 'u5', 'wb']}]
}
]
}
Expand Down Expand Up @@ -465,7 +465,7 @@
'hardware': 'stm32-extended',
'features': ['tcbgt'],
'protocols': ['uart', 'spi'],
'devices': [{'family': ['l4'], 'name': ['p5', 'p7', 'p9', 'q5', 'q7', 'q9', 'r5', 'r7', 'r9', 's5', 's7', 's9']}, {'family': ['c0', 'g0', 'g4', 'wb', 'h7', 'l5', 'u5']}]
'devices': [{'family': ['l4'], 'name': ['p5', 'p7', 'p9', 'q5', 'q7', 'q9', 'r5', 'r7', 'r9', 's5', 's7', 's9']}, {'family': ['c0', 'g0', 'g4', 'wb', 'h5', 'h7', 'l5', 'u5']}]
},{
'hardware': 'stm32-extended',
'features': [],
Expand Down
Loading