Skip to content

Update STM32H7 SVDs and add H73X/H72X device family #554

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 20 commits into from
Jul 19, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
8ecff73
Begin updating H7 SVDs
mattico May 21, 2021
e4002f4
Get new H7{2,3}x series building
mattico May 21, 2021
ba51171
Remove fields from DBGMCU that are not present in the RM
richardeoin May 22, 2021
3260b8d
Recommend keeping our own DSIHOST definition
richardeoin May 22, 2021
2deb8cb
Reapply peripherals/rcc/rcc_h7.yaml to stm32h7b3.yaml with new SVDs
richardeoin May 22, 2021
54e1aa9
Re-merge UART fields for RM0455 devices
richardeoin Jun 6, 2021
b48c709
H735 does not have a HRTIM
richardeoin Jun 6, 2021
6ef33c6
revertme: use SVDs from PR when generating mmaps
richardeoin Jun 6, 2021
4cf06e8
Revert "revertme: use SVDs from PR when generating mmaps"
richardeoin Jun 6, 2021
2590d66
Patch RCC and PWR blocks for stm32h735
richardeoin Jun 6, 2021
78a494b
Strip prefix from SDMMC, enable MDMA patch
richardeoin Jun 6, 2021
3a17a4c
h7_ethernet_combined_desc.yaml applies to stm32h735
richardeoin Jun 6, 2021
c8436d9
H7A3: Don't rename SRDCFGR
mattico Jun 7, 2021
88cbe8d
Patches for OCTOSPI on RM0455 and RM0468 parts
richardeoin Jun 8, 2021
04ce721
Create missing BDMA peripheral from scratch for stm32h735
richardeoin Jun 8, 2021
c9ad2cc
Derive ADC2 from ADC1 for stm32h735
richardeoin Jun 15, 2021
2e988cf
Re-derive UART[4578] from USART1 for RM0455 devices
richardeoin Jun 19, 2021
369be7a
Review and fixes for RCC, PWR and SYSCFG blocks
richardeoin Jul 10, 2021
c4ada51
H7B3: Rename BDCR.VSWRST to match RM
richardeoin Jul 19, 2021
7c8144f
H7B3: fixes for SYSCFG
richardeoin Jul 19, 2021
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
Prev Previous commit
Next Next commit
Remove fields from DBGMCU that are not present in the RM
Modifying these fields appears to cause undefined/undocumented behavior, so
better that we don't include them in the PAC

Ref: stm32-rs/stm32h7xx-hal#7 (comment)
  • Loading branch information
richardeoin authored and mattico committed May 24, 2021
commit ba51171e66920f53ab8b95c21c772ebbf295cea2
11 changes: 11 additions & 0 deletions devices/common_patches/h7_dbgmcu.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Patches for H7 DBGMCU periperal

# Remove registers not present in RM0433 Rev 7
DBGMCU:
CR:
_delete:
- DBGSTBY_D2
- DBGSTOP_D2
- DBGSLEEP_D2
- DBGSTOP_D3
- DBGSTBY_D3
172 changes: 5 additions & 167 deletions devices/common_patches/h7_dbgmcu_dualcore.yaml
Original file line number Diff line number Diff line change
@@ -1,170 +1,8 @@
# Add dualcore parts of DBGMCU periperal. From RM0399 rev 2
# Patches for H7 DBGMCU periperal

# Remove registers not present in RM0399 Rev 3
DBGMCU:
CR:
_add:
DBGSTBY_D2:
description: Allow debug in D2 Standby mode
bitOffset: 5
bitWidth: 1
DBGSTOP_D2:
description: Allow debug in D2 Stop mode
bitOffset: 4
bitWidth: 1
DBGSLEEP_D2:
description: Allow debug in D2 Sleep mode
bitOffset: 3
bitWidth: 1
APB4FZ1:
_add:
IWDG2:
description: Independent watchdog for D2 stop when Cortex-M7 in debug mode
bitOffset: 19
bitWidth: 1
APB1LFZ1:
_add:
WWDG2:
description: WWDG2 stop when Cortex-M7 in debug mode
bitOffset: 11
bitWidth: 1
_add:
APB3FZ2:
description: APB3 peripheral freeze register CPU2
addressOffset: 0x038
access: read-write
resetValue: 0x00000000
fields:
WWDG1:
description: WWDG1 stop when Cortex-M4 in debug mode
bitOffset: 6
bitWidth: 1
APB1LFZ2:
description: APB1L peripheral freeze register CPU2
addressOffset: 0x040
access: read-write
resetValue: 0x00000000
fields:
I2C3:
description: I2C3 SMBUS timeout stop when Cortex-M4 in debug mode
bitOffset: 23
bitWidth: 1
I2C2:
description: I2C2 SMBUS timeout stop when Cortex-M4 in debug mode
bitOffset: 22
bitWidth: 1
I2C1:
description: I2C1 SMBUS timeout stop when Cortex-M4 in debug mode
bitOffset: 21
bitWidth: 1
WWDG2:
description: WWDG2 stop in when Cortex-M4 when Cortex-M4 in debug mode
bitOffset: 11
bitWidth: 1
LPTIM1:
description: LPTIM1 stop when Cortex-M4 in debug mode
bitOffset: 9
bitWidth: 1
TIM14:
description: TIM14 stop when Cortex-M4 in debug mode
bitOffset: 8
bitWidth: 1
TIM13:
description: TIM13 stop when Cortex-M4 in debug mode
bitOffset: 7
bitWidth: 1
TIM12:
description: TIM12 stop when Cortex-M4 in debug mode
bitOffset: 6
bitWidth: 1
TIM7:
description: TIM7 stop when Cortex-M4 in debug mode
bitOffset: 5
bitWidth: 1
TIM6:
description: TIM6 stop when Cortex-M4 in debug mode
bitOffset: 4
bitWidth: 1
TIM5:
description: TIM5 stop when Cortex-M4 in debug mode
bitOffset: 3
bitWidth: 1
TIM4:
description: TIM4 stop when Cortex-M4 in debug mode
bitOffset: 2
bitWidth: 1
TIM3:
description: TIM3 stop when Cortex-M4 in debug mode
bitOffset: 1
bitWidth: 1
TIM2:
description: TIM2 stop when Cortex-M4 in debug mode
bitOffset: 0
bitWidth: 1
APB2FZ2:
description: APB2 peripheral freeze register CPU2
addressOffset: 0x048
access: read-write
resetValue: 0x00000000
fields:
HRTIM:
description: HRTIM stop when Cortex-M4 in debug mode
bitOffset: 29
bitWidth: 1
TIM17:
description: TIM17 stop when Cortex-M4 in debug mode
bitOffset: 18
bitWidth: 1
TIM16:
description: TIM16 stop when Cortex-M4 in debug mode
bitOffset: 17
bitWidth: 1
TIM15:
description: TIM15 stop when Cortex-M4 in debug mode
bitOffset: 16
bitWidth: 1
TIM8:
description: TIM8 stop when Cortex-M4 in debug mode
bitOffset: 1
bitWidth: 1
TIM1:
description: TIM1 stop when Cortex-M4 in debug mode
bitOffset: 0
bitWidth: 1
APB4FZ2:
description: APB4 peripheral freeze register CPU2
addressOffset: 0x058
access: read-write
resetValue: 0x00000000
fields:
WDGLSD2:
description: LS watchdog for D2 stop when Cortex-M4 in debug mode
bitOffset: 19
bitWidth: 1
WDGLSD1:
description: LS watchdog for D1 stop when Cortex-M4 in debug mode
bitOffset: 18
bitWidth: 1
RTC:
description: RTC stop when Cortex-M4 in debug mode
bitOffset: 16
bitWidth: 1
LPTIM5:
description: LPTIM5 stop when Cortex-M4 in debug mode
bitOffset: 12
bitWidth: 1
LPTIM4:
description: LPTIM4 stop when Cortex-M4 in debug mode
bitOffset: 11
bitWidth: 1
LPTIM3:
description: LPTIM3 stop when Cortex-M4 in debug mode
bitOffset: 10
bitWidth: 1
LPTIM2:
description: LPTIM2 stop when Cortex-M4 in debug mode
bitOffset: 9
bitWidth: 1
I2C4:
description: I2C4 SMBUS timeout stop when Cortex-M4 in debug mode
bitOffset: 7
bitWidth: 1
_delete:
- DBGSTOP_D3
- DBGSTBY_D3
1 change: 1 addition & 0 deletions devices/stm32h743.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ _include:
- common_patches/h7_rcc_src_sel.yaml
- common_patches/h7_ethernet_desc.yaml
- common_patches/h7_exti_singlecore.yaml
- common_patches/h7_dbgmcu.yaml
- common_patches/h7_dmacr.yaml
- common_patches/h7_dmamux.yaml
- common_patches/dma/dma2d_v2.yaml
Expand Down
1 change: 1 addition & 0 deletions devices/stm32h743v.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ _include:
- common_patches/h7_rcc_src_sel.yaml
- common_patches/h7_ethernet_desc.yaml
- common_patches/h7_exti_singlecore.yaml
- common_patches/h7_dbgmcu.yaml
- common_patches/h7_dmacr.yaml
- common_patches/h7_dmamux.yaml
- common_patches/dma/dma2d_v2.yaml
Expand Down
1 change: 1 addition & 0 deletions devices/stm32h747cm4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ _include:
- common_patches/h7_rcc_src_sel.yaml
- common_patches/h7_ethernet_combined_desc.yaml
- common_patches/h7_exti_dualcore.yaml
- common_patches/h7_dbgmcu_dualcore.yaml
- common_patches/h7_dmamux.yaml
- common_patches/dma/dma2d_v2.yaml
- common_patches/h7_adc.yaml
Expand Down
1 change: 1 addition & 0 deletions devices/stm32h747cm7.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ _include:
- common_patches/h7_rcc_src_sel.yaml
- common_patches/h7_ethernet_combined_desc.yaml
- common_patches/h7_exti_dualcore.yaml
- common_patches/h7_dbgmcu_dualcore.yaml
- common_patches/h7_dmacr.yaml
- common_patches/h7_dmamux.yaml
- common_patches/dma/dma2d_v2.yaml
Expand Down
1 change: 1 addition & 0 deletions devices/stm32h753.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ _include:
- common_patches/h7_rcc_src_sel.yaml
- common_patches/h7_ethernet_desc.yaml
- common_patches/h7_exti_singlecore.yaml
- common_patches/h7_dbgmcu.yaml
- common_patches/h7_dmacr.yaml
- common_patches/h7_dmamux.yaml
- common_patches/dma/dma2d_v2.yaml
Expand Down
1 change: 1 addition & 0 deletions devices/stm32h753v.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ _include:
- common_patches/h7_rcc_src_sel.yaml
- common_patches/h7_ethernet_desc.yaml
- common_patches/h7_exti_singlecore.yaml
- common_patches/h7_dbgmcu.yaml
- common_patches/h7_dmacr.yaml
- common_patches/h7_dmamux.yaml
- common_patches/dma/dma2d_v2.yaml
Expand Down
1 change: 1 addition & 0 deletions devices/stm32h7b3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ _include:
- common_patches/fdcan/fdcan_h7.yaml
- common_patches/fsmc/fsmc_sdram_cluster.yaml
- common_patches/h7_exti_singlecore.yaml
- common_patches/h7_dbgmcu.yaml
- common_patches/h7_dmacr.yaml
- common_patches/h7_dmamux.yaml
- common_patches/dma/dma2d_v2.yaml
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy