C.S.M
d6de1df245
test(i2c): Add test for customize i2c transaction interface for un-standard i2c device
2025-02-19 17:43:50 +08:00
C.S.M
c6161380d3
feat(i2c): Add api for customize i2c transaction interface for un-standard i2c device
2025-02-19 17:43:50 +08:00
C.S.M
82903b0bc6
fix(i2c): Add bus handle check so that it will not be panic when there is no free bus,
...
Closes https://github.com/espressif/esp-idf/issues/14819
2024-12-05 13:22:43 +08:00
C.S.M
36834f34cd
fix(i2c_slave): Fix the wrong semaphore take in isr
2024-12-04 19:29:05 +08:00
C.S.M
2803aed082
fix(i2c): Enhance lp clock source and avoid deadlock,
...
Closes https://github.com/espressif/esp-idf/issues/14908 ,
Closes https://github.com/espressif/esp-idf/issues/14906
2024-12-04 19:28:18 +08:00
C.S.M
122b579024
test(i2c): Enhance the stability for i2c tests
2024-12-04 19:28:10 +08:00
morris
85e86626ff
refactor(i2c): rename some LL functions according to TRM descriptions
2024-11-22 10:14:22 +08:00
C.S.M
e27594efc1
test(i2c_slave): Add some new tests for i2c slave version 2
2024-11-14 18:02:27 +08:00
C.S.M
56625cda88
feat(i2c_slave): refactor i2c slave api to version 2 inorder to solve some existing problem
2024-11-14 18:02:15 +08:00
C.S.M
d7e090476c
fix(i2c): Fix i2c gpio configuration and move i2c_platform public
2024-10-24 11:38:32 +08:00
C.S.M
3f061bd557
feat(i2c_master): Support i2c sleep retention on esp32c5/p4/c61
2024-10-08 15:55:48 +08:00
C.S.M
fb95332a22
fix(i2c_master): Fix the memory leak in the async transaction
2024-09-26 18:54:43 +08:00
C.S.M
3ccdd8b397
fix(i2c): Fix possible error state in clear the bus,
...
Closes https://github.com/espressif/esp-idf/issues/13647
2024-09-06 14:28:26 +08:00
C.S.M
f3eec83421
test(i2c): Support test for esp32p4 lp i2c
2024-09-03 11:23:02 +08:00
C.S.M
89c808c26c
Merge branch 'bugfix/i2c_master_stretch_to' into 'master'
...
fix(i2c_master): Fix an I2C issue that slave streth happen but master timeout seems not work
Closes IDFGH-13191 and IDFGH-13508
See merge request espressif/esp-idf!33014
2024-08-29 17:29:30 +08:00
C.S.M
acda9ad8bf
test(i2c): Enable all i2c test on esp32p4, esp32c5
2024-08-26 10:43:22 +08:00
C.S.M
8aee667873
fix(i2c_master): Fix an I2C issue that slave streth happen but master timeout set seems doesn't work
...
Closes https://github.com/espressif/esp-idf/issues/14129
Closes https://github.com/espressif/esp-idf/issues/14401
2024-08-22 18:28:57 +08:00
laokaiyao
1397e5421e
feat(i2c): support i2c on esp32-c61
2024-08-14 11:25:31 +08:00
C.S.M
4606003655
fix(i2c_master): Fix potential concurrency issue with task and interrupt when nack happens
2024-07-30 13:28:20 +08:00
laokaiyao
cb22b8aaf7
ci(esp32c5): enable c5 target test
2024-07-02 16:45:49 +08:00
C.S.M
992d8bc5f2
feat(i2c_master): Add an api for retrieveing handle via port,
...
Closes https://github.com/espressif/esp-idf/issues/13968
2024-06-24 16:06:34 +08:00
C.S.M
8e1698aa05
fix(i2c): Fix i2c not release semaphore in command send loop
2024-06-20 19:22:49 +08:00
morris
ba364d486f
Merge branch 'feat/ci_check_ll_rw_register_half_word' into 'master'
...
feat(ci): check if the LL function read write the register by half-world
See merge request espressif/esp-idf!31501
2024-06-18 20:38:15 +08:00
morris
dd46392a66
feat(ci): check LL functions not read write register by half word
2024-06-18 14:58:41 +08:00
C.S.M
b0f2205f70
feat(i2c): Add i2c support on esp32c5 mp
2024-06-18 10:37:36 +08:00
Marius Vikhammer
21c111465a
Merge branch 'docs/c61_support' into 'master'
...
docs(c61): add docs build for C61
Closes IDF-9287
See merge request espressif/esp-idf!31182
2024-06-04 18:13:38 +08:00
Marius Vikhammer
2eb4cd3d84
docs(c61): add docs build for C61
2024-06-03 10:24:27 +08:00
Frantisek Hrbata
fbe8bf89ee
fix: properly resolve component dependencies
...
There is currently a bug in the __build_resolve_and_add_req function in
tools/cmake/build.cmake where the check for registered component
requirements is incorrectly applied to the component itself rather than
its dependencies. This issue likely originated from a typo, using
component_target instead of _component_target. To prevent further
confusion, _component_target has been renamed to _req_target.
Fixing this revealed multiple incorrect dependencies for the Linux
target, which have now been resolved by explicitly specifying the
dependencies for the Linux target.
Closes https://github.com/espressif/esp-idf/issues/13447
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-05-30 22:01:55 +08:00
wuzhenghui
ffd08ac41b
change(esp_hw_support): use union retention link priority definiation
2024-05-28 15:19:27 +08:00
C.S.M
133bda4966
test(i2c_master): makeup a write-large read-small test for known reason
2024-05-16 19:14:59 +08:00
C.S.M
2e591cf3f7
test(i2c_master): Add test for transmit multi buffer in one transaction
2024-05-16 19:14:59 +08:00
C.S.M
af1524e7bb
feat(i2c_master): Add feature for transmit multi buffer in one transaction,
...
Closes https://github.com/espressif/esp-idf/pull/13635
2024-05-16 19:14:59 +08:00
C.S.M
4a94f9b27c
Merge branch 'fix/i2c_pin_short_cut' into 'master'
...
fix(i2c_master): Modify the behavior from ISR WDT to return timeout when circut get shortcut
See merge request espressif/esp-idf!30188
2024-04-15 19:15:35 +08:00
Cao Sen Miao
4ba3a4e482
fix(i2c_master): Fix the issue that probe cannot work properly after a general call,
...
Closes https://github.com/espressif/esp-idf/issues/13547
2024-04-15 11:29:13 +08:00
Cao Sen Miao
a69c6e8f41
fix(i2c_master): Modify the behavior from ISR WDT to return timeout when circut get shortcut,
...
Closes https://github.com/espressif/esp-idf/issues/13587
2024-04-15 11:05:43 +08:00
Lou Tianhao
4061e282dd
draft(i2c): need to support regdma_i2c for esp32c5beta3
2024-04-12 14:14:06 +08:00
Cao Sen Miao
1fe7cc8d13
test(i2c_master): Add test for lp_i2c support in i2c master driver
2024-04-03 11:39:07 +08:00
Cao Sen Miao
0985bfbe27
feat(i2c_master): Add lp_i2c support in i2c master driver
2024-04-03 11:39:04 +08:00
Li Shuai
fc308a4234
change(driver/i2c): modify i2c sleep retention test case to fix memory leakage issue
2024-03-30 11:51:52 +08:00
Li Shuai
91bb0e7276
change(driver/i2c): use new retention api to implement i2c retention
2024-03-30 11:51:52 +08:00
wuzhenghui
38fe4e136a
feat(esp_hw_support): support esp32p4 sleep peripheral retention
2024-03-28 19:18:25 +08:00
morris
c0289ee6eb
fix(drivers): fix typos found by codespell
...
codespell components/esp_driver*
2024-03-28 10:01:27 +08:00
Cao Sen Miao
ede1df51b0
feat(i2c_master): Add parameter to config I2C scl await time
2024-03-27 10:35:11 +08:00
Cao Sen Miao
c0e5f2b73a
fix(i2c_master): Fix issue that i2c clock got wrong after reset,
...
Closes https://github.com/espressif/esp-idf/issues/13397
2024-03-21 13:13:53 +08:00
Cao Sen Miao
016877b7ce
fix(i2c_master): Fix issue that initialize esp32 and using i2c_master_probe issue,
...
and probe might failed.
Fixed I2C cannot return err code when nack detected
Closes https://github.com/espressif/esp-idf/issues/13213 ,
Closes https://github.com/espressif/esp-idf/issues/12929 ,
Closes https://github.com/espressif/esp-idf/issues/13398 ,
2024-03-19 11:07:13 +08:00
C.S.M
812d197011
Merge branch 'bugfix/i2c_slave_bugs' into 'master'
...
fix(i2c_slave): Fix multiple issues on i2c slave
Closes IDFGH-12343 and IDFGH-12319
See merge request espressif/esp-idf!29566
2024-03-15 19:36:56 +08:00
Cao Sen Miao
60419a4892
fix(i2c_slave): Fixed the isr_flags not really parse to the intr_allocate,
...
Closes https://github.com/espressif/esp-idf/issues/13374
2024-03-15 14:40:55 +08:00
Cao Sen Miao
7b731cae39
fix(i2c_slave): Fix bugs on i2c slave,
...
1. Fixed read data number smaller than master has sent it will fail
2. Disable interrupt when destroy bus
Closes https://github.com/espressif/esp-idf/issues/13354
2024-03-15 14:40:52 +08:00
Eric Wheeler
6e1bba7430
fix(i2c_master): fix deadlock on s_i2c_transaction_start failure
...
As pointed out in PR #13134 by @MatthiasKunnen, there is a deadlock in
`s_i2c_synchronous_transaction()` if `s_i2c_transaction_start()` should fail
because, on error, s_i2c_synchronous_transaction() returns before releasing the
lock.
This commit fixes the deadlock without any other changes.
Closes : #13387
Signed-off-by: Eric Wheeler <esp-idf@z.ewheeler.org>
2024-03-15 14:13:13 +08:00
Cao Sen Miao
1517d61add
fix(i2c): Fix I2C synchronous transaction cost so much CPU source,
...
Closes https://github.com/espressif/esp-idf/issues/13137 ,
Closes https://github.com/espressif/esp-idf/pull/13322
2024-03-07 17:51:23 +08:00