Jiang Jiang Jian
8346b7596e
Merge branch 'feat/sec_esp_drivers_v6.1' into 'release/v6.1'
...
fix(drivers): harden multiple peripheral drivers against local DoS and memory corruption (v6.1)
See merge request espressif/esp-idf!50555
2026-07-16 11:33:01 +08:00
morris
a28640f417
fix(i2c): remove unused but set variables
2026-07-13 14:40:45 +08:00
morris
cd28383088
fix(i2c): release platform mutex on intr/pm_lock delete failure
...
ESP_RETURN_ON_ERROR inside the s_i2c_platform.mutex critical section
returns without releasing the mutex, permanently blocking all I2C
bus operations. Replace with ESP_GOTO_ON_ERROR that jumps to a
cleanup label releasing the mutex before return.
2026-07-13 11:16:54 +08:00
wanckl
130d3be783
fix(ci): h4 and s31 enable multi_board test
2026-05-22 11:50:19 +08:00
Chen Chen
84ca614368
fix(i2c): fix i2c pd management leak & resource recycle
2026-05-19 17:14:34 +08:00
Chen Chen
e147ac51c0
refactor(lp_io): switch LP I2C/LP I2S to lp_gpio_matrix_input/output APIs
2026-05-14 16:34:10 +08:00
Chen Chen
e3adfc2648
Merge branch 'contrib/github_pr_18569' into 'master'
...
fix(i2c_master): yield from ISR when no matching device is found (GitHub PR)
Closes IDFGH-17648
See merge request espressif/esp-idf!48382
2026-05-12 14:39:32 +08:00
DatanoiseTV
5e21717fed
fix(i2c_master): yield from ISR when no matching device is found
...
`i2c_master_isr_handler_default()` may set HPTaskAwoken to pdTRUE via
`xQueueSendFromISR()` (event_queue), `xSemaphoreTakeFromISR()` and
`xSemaphoreGiveFromISR()` on `bus_lock_mux`. When the device list lookup
returns no matching device, the function returned directly, skipping
the `portYIELD_FROM_ISR()` at the bottom of the handler. A higher-
priority task waiting on the bus mux or the event queue would then have
to wait for the next scheduler tick instead of being preempted into
immediately, inflating worst-case event latency.
Replace the early return with a goto to the existing yield check at the
end of the ISR.
Merges https://github.com/espressif/esp-idf/pull/18569
2026-05-12 10:38:55 +08:00
Chen Jichang
3c3b9a6a4e
ci(esp32h4): disable tests which cannot pass
2026-05-11 16:48:58 +08:00
wuzhenghui
d3c5129050
fix(driver): fix retention unsupported mouldes TOP pd test
2026-05-07 12:02:05 +08:00
Chen Jichang
6e206dd173
refactor(clk_tree): use general api to enable the clk
2026-04-16 20:03:06 +08:00
Chen Chen
0e785af44f
feat(i2c): support hp & lp i2c on esp32s31
2026-04-14 11:37:51 +08:00
Chen Chen
2a07c2efe7
Merge branch 'doc/i2c_master_probe_comment_update' into 'master'
...
docs(i2c): update i2c_master_probe parameter comment
Closes IDFGH-17502
See merge request espressif/esp-idf!47454
2026-04-13 15:13:25 +08:00
Chen Chen
60ecf2adc7
docs(i2c): update i2c_master_probe parameter comment
...
closes https://github.com/espressif/esp-idf/issues/18442
2026-04-10 14:12:43 +08:00
Chen Chen
c513f95ebb
fix(i2c): reset master before bus clear on chips without HW FSM reset
...
Reorder s_i2c_hw_fsm_reset() so i2c_ll_reset_register and interrupt
masking run before s_i2c_master_clear_bus(). Avoids ISR firing when
i2c_common_set_pins reconnects GPIOs to a stuck FSM (IDFGH-17497).
Closes https://github.com/espressif/esp-idf/issues/18438
Made-with: Cursor
2026-04-10 11:21:48 +08:00
C.S.M
152b5ccb4c
ci(esp32s31): Add ci target test for esp32s31
2026-04-03 11:38:45 +08:00
Hu Rui
9f412d6026
fix(i2c): add NULL check and correct log
2026-03-16 19:13:28 +08:00
Hu Rui
74e7004065
test(i2c): with malloc comes from PSRAM by default
2026-03-06 17:40:31 +08:00
Chen Chen
eea66f2d58
fix(i2c_slave): filter out fake request for esp32
...
Closes https://github.com/espressif/esp-idf/issues/18268
2026-02-28 09:27:00 +08:00
morris
fe436d881e
feat(ci): remove common_components dependencies from peripheral drivers
...
Replace *common_components with specific driver dependencies across all
peripheral driver test apps and examples to prevent unnecessary CI
triggers
when common_components change.
This follows the same pattern established in TWAI driver commit:
6d21cc6c29
Changes made:
- 26 component test apps updated
(esp_driver_*/test_apps/.build-test-rules.yml)
- 1 driver test app updated
(components/driver/test_apps/.build-test-rules.yml)
- Key examples updated in examples/peripherals/.build-test-rules.yml
- Established standard dependency pattern: esp_hal_xxx, esp_hw_support,
soc
- Added esp_driver_gpio for GPIO-dependent drivers
2026-01-29 16:33:17 +08:00
Igor Udot
f4cb052666
Merge branch 'ci/base_components' into 'master'
...
ci: use common_components in depends_components
See merge request espressif/esp-idf!45070
2026-01-26 09:08:11 +08:00
morris
0469db2f83
refactor(rcc): unify the usage of clock control macros for peripherals
...
- Removed conditional definitions for various RCC_ATOMIC macros across
multiple files, replacing them with a unified PERIPH_RCC_ATOMIC() macro.
- Updated instances where specific RCC_ATOMIC macros were used to ensure
consistent usage of PERIPH_RCC_ATOMIC().
- Deleted unused uart_share_hw_ctrl.h file as its functionality is now
integrated into the new structure.
2026-01-23 18:28:13 +08:00
Song Ruo Jing
8baea2e4a0
feat(uart): add glitch filter functionality for UART
...
Closes https://github.com/espressif/esp-idf/issues/17847
2026-01-23 11:36:32 +08:00
igor.udot
4c26ab876b
ci: update build-test-rules to use common_components
2026-01-23 10:14:09 +08:00
Chen Chen
17d2041821
refactor(i2c): cleanup I2C definitions in soc_caps.h
2026-01-12 17:07:04 +08:00
Michael (XIAO Xufeng)
a3f7bda136
Merge branch 'fix/i2c_redundant_local_level' into 'master'
...
fix(i2c): fix LOG_LOCAL_LEVEL redefinition error when CONFIG_I2C_ENABLE_DEBUG_LOG is enabled
Closes IDFGH-16800
See merge request espressif/esp-idf!43859
2025-12-12 01:54:47 +08:00
wanckl
4fe7e6ac18
ci(p4): p4 eco5 enable parts of special tests
2025-12-08 13:59:25 +08:00
Chen Chen
d2a95ea102
fix(i2c_master): Add i2c master timeout range check
...
Closes https://github.com/espressif/esp-idf/issues/17930
2025-12-02 17:00:28 +08:00
Xiao Xufeng
bb504716ad
fix(i2c): fix LOG_LOCAL_LEVEL redefinition error when CONFIG_I2C_ENABLE_DEBUG_LOG is enabled
...
- Move LOG_LOCAL_LEVEL definition before including esp_check.h
- Fixes compilation error: 'LOG_LOCAL_LEVEL' redefined [-Werror]
Closes https://github.com/espressif/esp-idf/issues/17877
2025-11-30 02:00:41 +08:00
Song Ruo Jing
1862fdec74
refactor(gpio): split GPIO HAL into separate component
...
cleaned up some includes in GPIO peripheral files
2025-11-26 15:35:07 +08:00
morris
aa1fd9c611
refactor: avoid function calls inside MIN/MAX macros
2025-11-17 22:17:54 +08:00
armando
b25ba4a0c1
ci(p4): disable p4 rev3 invalid tests temporarily
2025-11-17 12:11:39 +08:00
Chen Jichang
4989cc9266
feat(hal): move i2c_periph.h to hal folder
2025-11-13 16:52:47 +08:00
C.S.M
e898c7ef39
fix(i2c): Add check for buffer place when iram safe enabled,
...
Closes https://github.com/espressif/esp-idf/issues/12613
2025-11-07 16:45:38 +08:00
Chen Chen
23b76aaf92
Merge branch 'refactor/i2c_op_array_type' into 'master'
...
refactor(i2c_master): Change member type of i2c_operation_job_t
Closes IDFGH-16453
See merge request espressif/esp-idf!42036
2025-10-22 10:29:05 +08:00
Chen Chen
3d73884ae8
refactor(i2c_master): Change member type of i2c_operation_job_t
...
Closes https://github.com/espressif/esp-idf/issues/17585
2025-10-21 14:52:57 +08:00
morris
f4ba6279f1
fix(i2c): remove notfix(i2c): disable open drian mode on deinit
...
Closes https://github.com/espressif/esp-idf/issues/17737
2025-10-17 13:08:25 +08:00
morris
e5da8951b3
fix(uart): always add NOP workaround for UART FIFO read on esp32
2025-10-17 13:08:25 +08:00
Chen Chen
260443fe73
Merge branch 'fix/i2c_lp_test' into 'master'
...
fix(i2c/gpio): Add error checks to the i2c driver & Fix errors in gpio
Closes IDF-13942
See merge request espressif/esp-idf!41527
2025-10-16 13:51:18 +08:00
Wu Zheng Hui
dfeae969a4
Merge branch 'feat/support_esp32p4_eco5_pmu' into 'master'
...
feat(esp_hw_support): Update esp32p4 eco5 lowpower features support
See merge request espressif/esp-idf!41162
2025-10-15 19:47:43 +08:00
Chen Chen
29f8fcf7b7
fix(i2c/gpio): Add error checks to the i2c driver
...
Add more checks to i2c driver, as well as fixed some GPIO issues
together with it.
2025-10-15 10:38:59 +08:00
Chen Chen
a8ace9db09
Merge branch 'feat/i2c_slave_reset_tx_fifo' into 'master'
...
feat(i2c_slave): Add API to perform slave tx buffer reset
Closes IDFGH-15612
See merge request espressif/esp-idf!42091
2025-10-14 19:00:57 +08:00
wuzhenghui
065dd70056
change(esp_hw_support): move ESP_SLEEP_POWER_DOWN_CPU to Kconfig
2025-10-14 16:33:30 +08:00
C.S.M
2523fee9cd
fix(i2c): Fix the potential wdt might happen after nack,
...
Closes https://github.com/espressif/esp-idf/issues/17720
2025-10-13 16:07:22 +08:00
morris
cd41b6a640
refactor: remove unnecessary driver dependencies from build rules
2025-10-11 14:02:29 +08:00
Chen Chen
8b8b5df141
feat(i2c_slave): Add API to perform slave tx buffer reset
...
Closes https://github.com/espressif/esp-idf/issues/16241
2025-10-09 16:08:19 +08:00
Nebojsa Cvetkovic
298bd047f6
fix(i2c): Don't print developer notes to ESP_LOG,
...
Closes https://github.com/espressif/esp-idf/pull/13963
2025-09-22 11:55:40 +08:00
C.S.M
5ce39e8878
refactor(i2c): Make i2c hal layer independent
2025-09-15 11:26:48 +08:00
Chen Chen
91d00fbbd7
docs(i2c_master): Fix a typo in description
...
Closes https://github.com/espressif/esp-idf/issues/17475
2025-08-29 11:22:41 +08:00
C.S.M
23f09d2617
test(i2c): fix i2c test failure
2025-08-20 16:33:00 +08:00