mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-04 21:24:32 +02:00
fix(i2c): Fxi the i2c sleep retention build failed on esp32h4
This commit is contained in:
@@ -17,7 +17,7 @@ if(CONFIG_SOC_I2C_SUPPORT_SLAVE AND CONFIG_SOC_I2C_SLAVE_CAN_GET_STRETCH_CAUSE)
|
||||
list(APPEND srcs "test_lp_i2c.c")
|
||||
endif()
|
||||
|
||||
if(CONFIG_SOC_I2C_SUPPORT_SLEEP_RETENTION)
|
||||
if(CONFIG_SOC_I2C_SUPPORT_SLEEP_RETENTION AND CONFIG_SOC_LIGHT_SLEEP_SUPPORTED)
|
||||
list(APPEND srcs "test_i2c_sleep_retention.c")
|
||||
endif()
|
||||
|
||||
|
Reference in New Issue
Block a user