esp-idf/components/ulp
Sudeep Mohanty 08600cb1a3 ulp-riscv-i2c: Add ULP RISC-V I2C read/write timeout config option
The commit 88e4c06028 introduced a loop timeout for all ULP RISC-V I2C
transactions to avoid getting stuck in a forever loop. The loop timeout
was set to 500 msec by default. This commit improves on the concept by
making the loop timeout configurable via a Kconfig option in terms of
CPU ticks. If the timeout is set to -1 value then the transaction loops
will never timeout, therefore restoring the driver behavior before the
timeout was introduced.

The commit also updates the I2C Fast mode timings for esp32s2 which need
to be adjusted due to bus timing constraints.

Closes https://github.com/espressif/esp-idf/issues/11154
2023-05-09 15:07:50 +02:00
..
cmake ulp: added sleep support for lp core 2023-04-27 09:51:41 +08:00
ld ulp: added basic support for building and running a binary in the lp core 2023-03-09 10:12:23 +08:00
lp_core ulp: added sleep support for lp core 2023-04-27 09:51:41 +08:00
test_apps Merge branch 'ci/fix_overwrite_pytest_configs_v5.1' into 'release/v5.1' 2023-05-06 17:40:58 +08:00
ulp_common ulp: fix and re-enable no-format warnings 2023-03-12 21:47:24 +01:00
ulp_fsm ulp: fix and re-enable no-format warnings 2023-03-12 21:47:24 +01:00
ulp_riscv ulp-riscv-i2c: Add ULP RISC-V I2C read/write timeout config option 2023-05-09 15:07:50 +02:00
.build-test-rules.yml ulp: added sleep support for lp core 2023-04-27 09:51:41 +08:00
CMakeLists.txt ulp: added sleep support for lp core 2023-04-27 09:51:41 +08:00
component_ulp_common.cmake ulp: added basic support for building and running a binary in the lp core 2023-03-09 10:12:23 +08:00
esp32ulp_mapgen.py ulp: esp32ulp_mapgen: remove the special case for RISC-V, cleanup 2022-08-30 02:34:28 +02:00
Kconfig ulp-riscv-i2c: Add ULP RISC-V I2C read/write timeout config option 2023-05-09 15:07:50 +02:00
project_include.cmake ulp: added basic support for building and running a binary in the lp core 2023-03-09 10:12:23 +08:00
sdkconfig.rename.esp32 soc: moved kconfig options out of the target component. 2022-04-21 12:09:43 +08:00
sdkconfig.rename.esp32s2 soc: moved kconfig options out of the target component. 2022-04-21 12:09:43 +08:00