This is an automated email from the ASF dual-hosted git repository.

linguini1 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 6b8a21ab9624eefa57a161a807978323acaf46c3
Author: raiden00pl <[email protected]>
AuthorDate: Mon Jun 15 20:40:48 2026 +0200

    arch/arm/src/stm32: add G4 RCC I2C3/I2C4 enable/reset aliases
    
    add missing I2C3 and I2C4 aliases for G4
    
    Signed-off-by: raiden00pl <[email protected]>
---
 arch/arm/src/stm32g4/hardware/stm32g4xxxx_rcc.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/src/stm32g4/hardware/stm32g4xxxx_rcc.h 
b/arch/arm/src/stm32g4/hardware/stm32g4xxxx_rcc.h
index 6070eeea00f..0b4f2cb8c76 100644
--- a/arch/arm/src/stm32g4/hardware/stm32g4xxxx_rcc.h
+++ b/arch/arm/src/stm32g4/hardware/stm32g4xxxx_rcc.h
@@ -680,9 +680,13 @@
 
 #define RCC_APB1ENR_I2C1EN             RCC_APB1ENR1_I2C1EN
 #define RCC_APB1ENR_I2C2EN             RCC_APB1ENR1_I2C2EN
+#define RCC_APB1ENR_I2C3EN             RCC_APB1ENR1_I2C3EN
+#define RCC_APB1ENR_I2C4EN             RCC_APB1ENR2_I2C4EN
 
 #define RCC_APB1RSTR_I2C1RST           RCC_APB1RSTR1_I2C1RST
 #define RCC_APB1RSTR_I2C2RST           RCC_APB1RSTR1_I2C2RST
+#define RCC_APB1RSTR_I2C3RST           RCC_APB1RSTR1_I2C3RST
+#define RCC_APB1RSTR_I2C4RST           RCC_APB1RSTR2_I2C4RST
 
 #define RCC_APB1ENR_TIM2EN             RCC_APB1ENR1_TIM2EN
 #define RCC_APB1ENR_TIM3EN             RCC_APB1ENR1_TIM3EN

Reply via email to