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

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

commit 93ff86fab7bd07e9c53727d57e2ce3b2888910b8
Author: Eren Terzioglu <[email protected]>
AuthorDate: Fri Mar 27 10:44:34 2026 +0100

    boards/risc-v/esp32p4: Add LPI2C board support
    
    Add LPI2C board support for esp32p4
    
    Signed-off-by: Eren Terzioglu <[email protected]>
---
 boards/risc-v/esp32p4/common/src/esp_board_i2c.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/boards/risc-v/esp32p4/common/src/esp_board_i2c.c 
b/boards/risc-v/esp32p4/common/src/esp_board_i2c.c
index 76cbbc6cf43..90a69d3f53f 100644
--- a/boards/risc-v/esp32p4/common/src/esp_board_i2c.c
+++ b/boards/risc-v/esp32p4/common/src/esp_board_i2c.c
@@ -164,5 +164,9 @@ int board_i2c_init(void)
   ret = i2c_slave_driver_init(ESPRESSIF_I2C0_SLAVE, I2C0_SLAVE_ADDR);
 #endif
 
+#ifdef CONFIG_ESPRESSIF_LP_I2C0
+  ret = i2c_driver_init(ESPRESSIF_LP_I2C0);
+#endif
+
   return ret;
 }

Reply via email to