Skip to content

H7: Add UART9/USART10 for RM0468 parts, fix base address for RM0455 parts #652

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 2 commits into from
Jul 3, 2022
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
4 changes: 2 additions & 2 deletions devices/common_patches/h7_common_highmemory.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -382,14 +382,14 @@ _add:
value: 83
UART9:
derivedFrom: USART1
baseAddress: 0x40018000
baseAddress: 0x40011800
interrupts:
UART9:
description: UART9 global interrupt
value: 140
USART10:
derivedFrom: USART1
baseAddress: 0x4001C000
baseAddress: 0x40011C00
interrupts:
USART10:
description: USART10 global interrupt
Expand Down
41 changes: 41 additions & 0 deletions devices/stm32h735.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,20 @@ _add:
BDMA_CH7:
description: BDMA Channel 7 interrupt
value: 136
UART9:
derivedFrom: USART1
baseAddress: 0x40011800
interrupts:
UART9:
description: UART9 global interrupt
value: 155
USART10:
derivedFrom: USART1
baseAddress: 0x40011C00
interrupts:
USART10:
description: USART10 global interrupt
value: 156

# PWR block
PWR:
Expand Down Expand Up @@ -429,12 +443,39 @@ RCC:
APB2RSTR:
_delete:
- HRTIMRST
_add:
UART9RST:
description: UART9 block reset
bitWidth: 1
bitOffset: 6
USART10RST:
description: USART10 block reset
bitWidth: 1
bitOffset: 7
APB2ENR:
_delete:
- HRTIMEN
_add:
UART9EN:
description: UART9 peripheral clocks enable
bitWidth: 1
bitOffset: 6
USART10EN:
description: USART10 peripheral clocks enable
bitWidth: 1
bitOffset: 7
APB2LPENR,C1_APB2LPENR:
_delete:
- HRTIMLPEN
_add:
UART9LPEN:
description: UART9 peripheral clocks enable during CSleep Mode
bitWidth: 1
bitOffset: 6
USART10LPEN:
description: USART10 peripheral clocks enable during CSleep Mode
bitWidth: 1
bitOffset: 7
APB4RSTR:
_add:
DTSRST:
Expand Down