Commit Graph

34594 Commits

Author SHA1 Message Date
Cao Sen Miao
b8855fbd03 fix(i2c_slave): Fixed the isr_flags not really parse to the intr_allocate,
Closes https://github.com/espressif/esp-idf/issues/13374
2024-04-07 15:18:06 +08:00
Cao Sen Miao
3ac6c10d11 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-04-07 15:17:48 +08:00
Cao Sen Miao
7c233ebc80 feat(i2c_master): Add parameter to config I2C scl await time 2024-04-07 15:06:31 +08:00
wuzhenghui
fe6f4ce916
fix(esp_pm): update CPU frequency immediately after updating pm_config
Closes https://github.com/espressif/esp-idf/issues/13492
2024-04-07 14:45:40 +08:00
Cao Sen Miao
4502621282 fix(usb_serial_jtag): Increase stack size on serial_jtag example,
Closes https://github.com/espressif/esp-idf/issues/13245
2024-04-07 11:24:30 +08:00
Rahul Tank
ae152ca84e fix(nimble): Remove extra code in reattempt connection 2024-04-05 21:36:27 +05:30
Alexey Gerenkov
602573933c Merge branch 'feature/update-openocd-to-v0.12.0-esp32-20240318_v5.2' into 'release/v5.2'
feat(tools): update openocd version to v0.12.0-esp32-20240318 (v5.2)

See merge request espressif/esp-idf!30045
2024-04-05 23:31:39 +08:00
David Čermák
0440a63cb6 Merge branch 'bugfix/eth_l2_test_conn_wait_tmo_v5.2' into 'release/v5.2'
ci(esp_eth): increased L2 test wait for connection timeout (v5.2)

See merge request espressif/esp-idf!29881
2024-04-05 15:19:08 +08:00
Alexey Gerenkov
9a6b151c41 feat(tools): update openocd version to v0.12.0-esp32-20240318 2024-04-04 22:41:19 +03:00
Mahavir Jain
8a151a51cf Merge branch 'fix/pmp_idcache_prot_c6_h2_v5.2' into 'release/v5.2'
fix(esp_hw_support): Fix the flash I/DROM region PMP protection (v5.2)

See merge request espressif/esp-idf!30022
2024-04-04 12:20:07 +08:00
Alexey Lapshin
fc7a2a7af7 fix(gcov): fix exceptions on gcov task_tick_hook
Closes https://github.com/espressif/esp-idf/issues/13511
2024-04-03 15:28:18 +04:00
Laukik Hase
17ffe58051
fix(esp_hw_support): Fix the flash I/DROM region PMP protection 2024-04-03 15:48:46 +05:30
Jiang Jiang Jian
c722d8aab6 Merge branch 'bugfix/aud-5252_v5.2' into 'release/v5.2'
backport v5.2: fix the issue of modem hang caused by incorrect configuration of power and isolate signals

See merge request espressif/esp-idf!30007
2024-04-03 17:40:43 +08:00
Cao Sen Miao
3bd63654c8 change(usb_serial_jtag): Add a usb_serial_jtag echo example for how to use usb_serial_jtag APIs,
Closes https://github.com/espressif/esp-idf/issues/12620,
Closes https://github.com/espressif/esp-idf/issues/12605
2024-04-03 17:10:03 +08:00
Cao Sen Miao
8b2b9140ac fix(usb_serial_jtag): Fix issue that buffer seems not flush when TX buffer is full and flush slow,
Closes https://github.com/espressif/esp-idf/issues/12628
2024-04-03 17:06:53 +08:00
Jeroen Domburg
bf15a29e18 fix(driver): Add docs and driver fix for the case where a full EP does not cause the host to pickup the data 2024-04-03 17:04:59 +08:00
morris
1158811fbd Merge branch 'bugfix/fix_batch_issue_i2c_v5.2' into 'release/v5.2'
fix(i2c_master): fix bunch of I2C issues on v5.2 (backport v5.2)

See merge request espressif/esp-idf!29724
2024-04-03 17:04:39 +08:00
Marius Vikhammer
a00717803a Merge branch 'bugfix/log_wrap_around_cache_generation_counter_v5.2' into 'release/v5.2'
fix(log): Fix wrap-around of cache generation counter (v5.2)

See merge request espressif/esp-idf!29938
2024-04-03 16:33:02 +08:00
Island
4c96e523a3 Merge branch 'feat/adjust_ble_log_init_order_v5.2' into 'release/v5.2'
Feat/adjust ble log init order v5.2

See merge request espressif/esp-idf!30003
2024-04-03 12:40:06 +08:00
Jiang Jiang Jian
83bd62fb7c Merge branch 'bugfix/variable_length_rsnxe_v52' into 'release/v5.2'
Expands maximum size of RSNXE IE to 255(v5.2)

See merge request espressif/esp-idf!29936
2024-04-03 11:32:57 +08:00
Li Shuai
2d0ac9208e fix(esp_hw_support): fixed modem hang caused by incorrect configuration of power and isolate signals 2024-04-03 10:43:13 +08:00
Jiang Jiang Jian
d34b0242ba Merge branch 'fix/rd_stored_link_key_error_v5.2' into 'release/v5.2'
fix(bt): fix some issues in bt controller(backport v5.2)

See merge request espressif/esp-idf!29978
2024-04-03 10:29:47 +08:00
Shreyas Sheth
c3f819289d fix(esp_wifi): Fix crash when assoc req comes before confirm is processed 2024-04-02 23:03:29 +05:30
Jiang Jiang Jian
2152112ff8 Merge branch 'bugfix/fix_coex_ld_issue_v5.2' into 'release/v5.2'
fix(wifi): fix coex ld issue (v5.2)

See merge request espressif/esp-idf!29915
2024-04-02 14:29:40 +08:00
Rahul Tank
8599ec33d5 Merge branch 'bugfix/revamp_reconn_scheme_v5.2' into 'release/v5.2'
fix(nimble): Cleanup code in connection reconnection implementation (v5.2)

See merge request espressif/esp-idf!29964
2024-04-02 14:26:39 +08:00
cjin
510ae698e2 feat(ble): add cca related config in c6, h2 and c2 2024-04-02 12:16:56 +08:00
cjin
27d360127d change(ble): support ble light sleep using ext 32k xtal on C2 2024-04-02 12:16:56 +08:00
zwl
2ce39a857f ble: update esp32c2 lib to 7a428d35 2024-04-02 12:16:56 +08:00
zwl
b0b6d190ff ble: update esp32h2 and esp32c6 lib to 39c6e050 2024-04-02 12:16:56 +08:00
zhaoweiliang
d4327c47a1 ble : adjust the log initialization sequence of ESP32C6 and ESP32H2 2024-04-02 12:16:56 +08:00
gongyantao
c08a831f17 fix(bt): fix some issues in bt controller
1: fixed the incorrect timeing in reporting HCI_Link_Key_Type_Changed.
2: fixed the incorrect iv value during resuming encryption.
3: fixed the incorrect return with hci command rd_stored_link_key.
2024-04-02 09:33:51 +08:00
Jiang Jiang Jian
2c64d8d302 Merge branch 'bugfix/fix_call_to_header_event_callback_v5.2' into 'release/v5.2'
fix: Fix call to event_handler on on_header state of HTTP Client (v5.2)

See merge request espressif/esp-idf!29954
2024-04-01 19:50:34 +08:00
Rahul Tank
06d18ca0d6 fix(nimble): Change reconnection scheme 2024-04-01 16:06:55 +05:30
Harshit Malpani
8d494a8d03
Revert "fix(esp_http_client): Call event_handler after header value is received"
This reverts commit 04ac8e43db.

Fixes https://github.com/espressif/esp-idf/issues/13497
Fixes https://github.com/espressif/esp-idf/issues/13097
2024-04-01 13:18:56 +05:30
Jiang Jiang Jian
a70bb45c48 Merge branch 'bugfix/sdp_remove_record_no_evt_v5.2' into 'release/v5.2'
fix(bt/bluedroid): Fixed the crash caused by using illegal pointers during SDP deinit(v5.2)

See merge request espressif/esp-idf!29942
2024-04-01 14:53:09 +08:00
Jiang Jiang Jian
77920038f6 Merge branch 'change/add_convt_from_hci_state_to_esp_state_v5.2' into 'release/v5.2'
change(bt/bluedroid): Use BTC util to convert HCI status to ESP status (v5.2)

See merge request espressif/esp-idf!29921
2024-04-01 14:39:31 +08:00
Jiang Jiang Jian
c920d2ed64 Merge branch 'bugfix/esp_timer_test_fail_v5.2' into 'release/v5.2'
fix(esp_timer): Force test to go light sleep ignoring ESP_ERR_SLEEP_REJECT (v5.2)

See merge request espressif/esp-idf!29871
2024-04-01 14:39:10 +08:00
liuning
cc13237746 fix(wifi): fix coex ld issue 2024-04-01 14:23:08 +08:00
Marius Vikhammer
016b27c132 Merge branch 'bugfix/coredump_switch_stack_v5.2' into 'release/v5.2'
fix(espcoredump): Reconfigure the stack guard when using custom coredump stack (backport v5.2)

See merge request espressif/esp-idf!29525
2024-04-01 12:05:21 +08:00
xiongweichao
dfeeaf386e fix(bt/bluedorid): Fixed crash caused by using illegal pointer 2024-04-01 11:33:23 +08:00
xiongweichao
2da016575f fix(bt/bluedorid): Fixed no event when removing an invalid SDP record 2024-04-01 11:33:17 +08:00
Marius Vikhammer
23540fa90d Merge branch 'feature/freertos_enable_app_task_tag_v5.2' into 'release/v5.2'
feat(freertos): Add application task tag support (V5.2)

See merge request espressif/esp-idf!29587
2024-04-01 11:20:04 +08:00
Cao Sen Miao
ae94c0134b fix(i2c_master): Fix issue that i2c clock got wrong after reset,
Closes https://github.com/espressif/esp-idf/issues/13397
2024-04-01 10:55:39 +08:00
Omar Chebib
0f852fcd5f fix(espcoredump): Reconfigure the stack guard when using custom coredump stack 2024-04-01 10:53:13 +08:00
Cao Sen Miao
2291ded9a1 fix(i2c): Use hardware fsm reset on esp32c6/h2/p4 2024-04-01 10:15:50 +08:00
Cao Sen Miao
90afc33cd8 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-04-01 10:15:47 +08:00
Cao Sen Miao
8567102be4 fix(i2c_master): Fix issue that use callback may cause memory leak,
Closes https://github.com/espressif/esp-idf/issues/12878
2024-04-01 10:15:45 +08:00
Cao Sen Miao
f93ebedcb6 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-04-01 10:15:42 +08:00
Eric Wheeler
27690e0990 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-04-01 10:15:39 +08:00
Darian Leung
31883c9a64
feat(freertos): Add application task tag support
This commit enables support for application task tag.

- Added CONFIG_FREERTOS_USE_APPLICATION_TASK_TAG option
- Added basic unit test
2024-03-30 17:44:38 +08:00