Skip to content

Commit

Permalink
Merge #712
Browse files Browse the repository at this point in the history
712: Add timers TIM23 and TIM24 to stm32h735 r=richardeoin a=omion

The SVD files in this repo don't include timers TIM23 and TIM24 for the RM0468-based chips (H730, H723, H725, H733, H735). There is an updated SVD that someone from STM posted [here](https://community.st.com/s/question/0D53W00000cyEKvSAM/bug-stm32cubeide-missing-tim23-and-tim24-in-sfrs-window), which just adds the lines:
```
    <peripheral derivedFrom="TIM2">
      <name>TIM23</name>
      <baseAddress>0x4000E000</baseAddress>
      <interrupt>
        <name>TIM23</name>
        <description>TIM23 global interrupt</description>
        <value>161</value>
      </interrupt>
    </peripheral>
	<peripheral derivedFrom="TIM2">
      <name>TIM24</name>
      <baseAddress>0x4000E400</baseAddress>
      <interrupt>
        <name>TIM24</name>
        <description>TIM24 global interrupt</description>
        <value>162</value>
      </interrupt>
    </peripheral>
```

As far as I can tell, the changes I made to the yaml file do the same thing.

Co-authored-by: Reed Wilson <trotsky.git.7h4@rutile.org>
  • Loading branch information
bors[bot] and Reed Wilson committed Apr 3, 2022
2 parents cbc3742 + 0870b2e commit a9635c6
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions devices/stm32h735.yaml
Expand Up @@ -72,6 +72,22 @@ _add:
description: BDMA Channel 7 interrupt
value: 136

# Additional timers
TIM23:
derivedFrom: TIM2
baseAddress: 0x4000E000
interrupts:
TIM23:
description: TIM23 global interrupt
value: 161
TIM24:
derivedFrom: TIM2
baseAddress: 0x4000E400
interrupts:
TIM24:
description: TIM24 global interrupt
value: 162

# PWR block
PWR:
CR3:
Expand Down

0 comments on commit a9635c6

Please sign in to comment.