Skip to content

[MP1] Add barebones support for STM32MP153 #614

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

Merged
merged 1 commit into from
Sep 6, 2021
Merged
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
13 changes: 13 additions & 0 deletions devices/stm32mp153.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
_svd: ../svd/stm32mp153.svd

_modify:
name: STM32MP153
cpu:
name: CM4
revision: r0p1
endian: little
mpuPresent: "false"
fpuPresent: "true"
nvicPrioBits: 4
vendorSystickConfig: "false"

7 changes: 7 additions & 0 deletions stm32_part_table.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -708,6 +708,13 @@ stm32mp1:
rm_url: https://www.st.com/resource/en/reference_manual/dm00366355-stm32mp157-advanced-armbased-32bit-mpus-stmicroelectronics.pdf
members:
- STM32MP157
stm32mp153:
url: https://www.st.com/en/microcontrollers-microprocessors/stm32mp153.html
rm: RM0442
rm_title: STM32MP153
rm_url: https://www.st.com/resource/en/reference_manual/rm0442-stm32mp153-advanced-armbased-32bit-mpus-stmicroelectronics.pdf
members:
- STM32MP153

stm32wl:
stm32wle5:
Expand Down
3 changes: 2 additions & 1 deletion svd/extract.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ cp stm32h753.svd stm32h753v.svd

# Rename MP1 svd files to remove trailing 'x'
mv stm32mp157x.svd stm32mp157.svd
mv stm32mp153x.svd stm32mp153.svd

# Rename G4 svd files to remove trailing 'xx'
mv stm32g4a1xx.svd stm32g4a1.svd
Expand All @@ -36,4 +37,4 @@ mv stm32wle5_cm4.svd stm32wle5.svd

# Copy L4X2 svd into L412; a 412 one doesn't exist.
# We handle its modified RTC register block in `devices/stm32l412.yaml`.
cp stm32l4x2.svd stm32l412.svd
cp stm32l4x2.svd stm32l412.svd
Binary file added svd/vendor/STM32MP153x.zip
Binary file not shown.