mirror of
https://github.com/apache/nuttx.git
synced 2026-06-02 17:48:54 +08:00
arch/risc-v: Add LP I2C for esp32[-c6]
Add LP I2C peripheral support for esp32c6 Signed-off-by: Eren Terzioglu <eren.terzioglu@espressif.com>
This commit is contained in:
committed by
Xiang Xiao
parent
cf1b087504
commit
8995226e0a
@@ -160,5 +160,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