mirror of
https://github.com/espressif/esp-idf.git
synced 2026-09-30 18:20:38 +03:00
The test was passing without real I2C communication due to a GPIO mismatch (slave on GPIO 6/7 vs RTC I2C master on GPIO 2/3), single-byte zero-coincidence, unchecked ULP return values, and an insufficient RTC I2C timeout. Fix slave GPIOs, increase test length, check I2C return values, add proper assertions, and set an adequate RTC I2C timeout. Co-authored-by: Cursor <cursoragent@cursor.com>
10 lines
317 B
Plaintext
10 lines
317 B
Plaintext
CONFIG_ESP_TASK_WDT_EN=n
|
|
|
|
CONFIG_ULP_COPROC_ENABLED=y
|
|
CONFIG_ULP_COPROC_TYPE_RISCV=y
|
|
CONFIG_ULP_COPROC_RESERVE_MEM=4096
|
|
|
|
# RTC I2C timeout: default 500 cycles is too short for real I2C transactions.
|
|
# At 17.5 MHz ULP clock, the first RX_DATA interrupt arrives after ~1140 cycles.
|
|
CONFIG_ULP_RISCV_I2C_RW_TIMEOUT=5000
|