mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-12 05:17:38 +00:00
fix(i2c_slave): Support 10-bit address on esp32
This commit is contained in:
@@ -387,6 +387,10 @@ config SOC_I2C_SUPPORT_APB
|
||||
bool
|
||||
default y
|
||||
|
||||
config SOC_I2C_SUPPORT_10BIT_ADDR
|
||||
bool
|
||||
default y
|
||||
|
||||
config SOC_I2C_STOP_INDEPENDENT
|
||||
bool
|
||||
default y
|
||||
|
@@ -206,6 +206,7 @@
|
||||
#define SOC_I2C_SUPPORT_SLAVE (1)
|
||||
|
||||
#define SOC_I2C_SUPPORT_APB (1)
|
||||
#define SOC_I2C_SUPPORT_10BIT_ADDR (1)
|
||||
|
||||
// On ESP32, the stop bit should be independent, we can't put trans data and stop command together
|
||||
#define SOC_I2C_STOP_INDEPENDENT (1)
|
||||
|
Reference in New Issue
Block a user