mirror of
https://github.com/apache/nuttx.git
synced 2026-10-06 05:47:54 +00: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:
parent
7e321e0aba
commit
93ff86fab7
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue