mirror of
https://github.com/apache/nuttx.git
synced 2026-05-10 07:18:49 +08:00
boards/risc-v/esp32p4: Add LPI2C board support
Add LPI2C board support for esp32p4 Signed-off-by: Eren Terzioglu <eren.terzioglu@espressif.com>
This commit is contained in:
committed by
Xiang Xiao
parent
7e321e0aba
commit
93ff86fab7
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user