Skip to content

Commit a4495ca

Browse files
bors[bot]Geens
andauthored
Merge #510
510: i2C register definitions for stm32g4xx r=adamgreig a=Geens I added register definitions for the I2C peripheral for the g4 series. First time I'm doing this, so feedback is much appreciated. I noticed the module is named i2c1, is there a way to change this to i2c, without the 1 at the end? Or is there a reason it's there? Co-authored-by: Geens <niels.geens@gmail.com>
2 parents 7f80790 + 76cd881 commit a4495ca

10 files changed

+10
-1
lines changed

devices/stm32g431.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ _include:
1616
- ./common_patches/sai/sai_v1.yaml
1717
- ./common_patches/rtc/rtc_cr.yaml
1818
- ../peripherals/opamp/opamp_g4_common.yaml
19+
- ../peripherals/i2c/i2c_v2.yaml

devices/stm32g441.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ _include:
1616
- ./common_patches/sai/sai_v1.yaml
1717
- ./common_patches/rtc/rtc_cr.yaml
1818
- ../peripherals/opamp/opamp_g4_common.yaml
19+
- ../peripherals/i2c/i2c_v2.yaml

devices/stm32g471.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ _include:
1616
- ./common_patches/sai/sai_v1.yaml
1717
- ./common_patches/rtc/rtc_cr.yaml
1818
- ../peripherals/opamp/opamp_g4_common.yaml
19+
- ../peripherals/i2c/i2c_v2.yaml

devices/stm32g473.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@ _include:
1818
- ../peripherals/opamp/opamp_g4_common.yaml
1919
- ../peripherals/opamp/opamp_g4_opamp4_5.yaml
2020
- ../peripherals/opamp/opamp_g4_opamp6.yaml
21+
- ../peripherals/i2c/i2c_v2.yaml

devices/stm32g474.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@ _include:
1818
- ../peripherals/opamp/opamp_g4_common.yaml
1919
- ../peripherals/opamp/opamp_g4_opamp4_5.yaml
2020
- ../peripherals/opamp/opamp_g4_opamp6.yaml
21+
- ../peripherals/i2c/i2c_v2.yaml

devices/stm32g483.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ _include:
1919
- ../peripherals/opamp/opamp_g4_common.yaml
2020
- ../peripherals/opamp/opamp_g4_opamp4_5.yaml
2121
- ../peripherals/opamp/opamp_g4_opamp6.yaml
22+
- ../peripherals/i2c/i2c_v2.yaml

devices/stm32g484.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@ _include:
1818
- ../peripherals/opamp/opamp_g4_common.yaml
1919
- ../peripherals/opamp/opamp_g4_opamp4_5.yaml
2020
- ../peripherals/opamp/opamp_g4_opamp6.yaml
21+
- ../peripherals/i2c/i2c_v2.yaml

devices/stm32g491.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,4 @@ _include:
2727
- ./common_patches/rtc/rtc_cr.yaml
2828
- ../peripherals/opamp/opamp_g4_common.yaml
2929
- ../peripherals/opamp/opamp_g4_opamp6.yaml
30+
- ../peripherals/i2c/i2c_v2.yaml

devices/stm32g4a1.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,4 @@ _include:
2727
- ./common_patches/rtc/rtc_cr.yaml
2828
- ../peripherals/opamp/opamp_g4_common.yaml
2929
- ../peripherals/opamp/opamp_g4_opamp6.yaml
30+
- ../peripherals/i2c/i2c_v2.yaml

peripherals/i2c/i2c_v2.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# I2C peripheral used in STM32F0, F3, F7, L0, and L4 platforms
1+
# I2C peripheral used in STM32F0, F3, F7, L0, L4, and G4 platforms
22

33
"I2C*":
44
_include:

0 commit comments

Comments
 (0)