Commit Graph

32201 Commits

Author SHA1 Message Date
wuzhenghui
ddd2c5b418
fix(esp_hw_support): fix pmu power domain initialize order 2024-04-10 10:07:58 +08:00
morris
4a497e1212 feat(gptimer): check the alarm config is not in flash
related to https://github.com/espressif/esp-idf/issues/13543
2024-04-09 17:33:26 +08:00
Mahavir Jain
d1c17f96f6 Merge branch 'fix/pmp_idcache_prot_c6_h2_v5.1' into 'release/v5.1'
fix(esp_hw_support): Fix the flash I/DROM region PMP protection (v5.1)

See merge request espressif/esp-idf!30023
2024-04-08 17:52:23 +08:00
Guillaume Souchere
2c794ee423 fix(heap): Wrong size propagated in alloc fail callback
Propagate `n * size` as the size of the failed allocation
instead of just `size` when heap_caps_calloc() fails since
`n * size` is the actual number of bytes that the heap
component tried to allocate.
2024-04-08 08:42:49 +02:00
morris
491f4af657 fix(rmt): fix the counting clock used by rx filter on esp32/s2
is always APB, independent to the channel clock selection

Closes https://github.com/espressif/esp-idf/issues/13510
2024-04-08 11:50:37 +08:00
xiongweichao
67137791cd fix(bt/bluedorid): Fixed crash caused by using illegal pointer 2024-04-07 19:08:41 +08:00
xiongweichao
75c0c89de3 fix(bt/bluedorid): Fixed no event when removing an invalid SDP record 2024-04-07 19:08:41 +08:00
wuzhenghui
4a754c735d
fix(esp_pm): update CPU frequency immediately after updating pm_config
Closes https://github.com/espressif/esp-idf/issues/13492
2024-04-07 14:46:48 +08:00
Cao Sen Miao
932d595256 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-07 11:59:35 +08:00
Cao Sen Miao
93b2297dc1 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-07 10:46:37 +08:00
Jeroen Domburg
28e2ab09ea 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-07 10:46:34 +08:00
Jiang Jiang Jian
46d402d22e Merge branch 'bugfix/wpa3_ap_ci_crash_v5.1' into 'release/v5.1'
fix(esp_wifi): Fix crash when assoc req comes before confirm is processed

See merge request espressif/esp-idf!29950
2024-04-07 10:35:12 +08:00
Jiang Jiang Jian
368b7eb3fc Merge branch 'fix/add_phy_private_dslp_callback_v5.1' into 'release/v5.1'
fix(esp_hw_support): move deepsleep phy callback before PLL disable (v5.1)

See merge request espressif/esp-idf!30014
2024-04-07 10:24:39 +08:00
Jiang Jiang Jian
581bcf46b5 Merge branch 'bugfix/fix_ble_power_save_ci_v5.1' into 'release/v5.1'
fix(ble): fix conn error of ble power save ci test(v5.1)

See merge request espressif/esp-idf!29823
2024-04-03 19:03:29 +08:00
Jiang Jiang Jian
a1471a9291 Merge branch 'bugfix/aud-5252_v5.1' into 'release/v5.1'
backport v5.1: fix the issue of modem hang caused by incorrect configuration of power and isolate signals

See merge request espressif/esp-idf!30008
2024-04-03 19:03:09 +08:00
Jiang Jiang Jian
54ad993fe9 Merge branch 'feature/add_cli_in_openthread_sleep_example_v5.1' into 'release/v5.1'
feat(openthread): add cli in openthread sleep example (backport v5.1)

See merge request espressif/esp-idf!29596
2024-04-03 19:02:32 +08:00
Laukik Hase
f839fa089a
fix(esp_hw_support): Fix the flash I/DROM region PMP protection 2024-04-03 15:51:39 +05:30
wuzhenghui
b0d7c5ac40
fix(esp_hw_support): move deepsleep phy callback before PLL disable 2024-04-03 14:11:18 +08:00
Li Shuai
4254953374 fix(esp_hw_support): fixed modem hang caused by incorrect configuration of power and isolate signals 2024-04-03 10:49:31 +08:00
Shreyas Sheth
a64d8b12c8 fix(esp_wifi): Fix crash when assoc req comes before confirm is processed 2024-04-03 00:04:14 +05:30
cjin
d7c4968d3c feat(ble): add cca related config in c6, h2 and c2 2024-04-02 19:55:37 +08:00
cjin
8e140779e7 change(ble): support ble light sleep using ext 32k xtal on C2 2024-04-02 19:55:36 +08:00
zwl
142af33ded ble: update esp32c2 lib to 7a428d35 2024-04-02 19:25:51 +08:00
zwl
056754317c ble: update esp32h2 and esp32c6 lib to 39c6e050 2024-04-02 19:25:37 +08:00
zhaoweiliang
90cf9c42d7 ble : adjust the log initialization sequence of ESP32C6 and ESP32H2 2024-04-02 19:25:10 +08:00
Omar Chebib
4c896cbb3a fix(i2c): fix issues related to timeout and alive interval tick
Fixes https://github.com/espressif/esp-idf/issues/4999

Former usage of I2C_CMD_ALIVE_INTERVAL_TICK macro overrode the ticks_to_wait
parameter when the latter was too big
2024-04-02 10:43:00 +08:00
gongyantao
3796715228 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:37:45 +08:00
Jiang Jiang Jian
d1baafb8c0 Merge branch 'bugfix/fix_call_to_header_event_callback_v5.1' into 'release/v5.1'
fix: Fix call to event_handler on on_header state of HTTP Client (v5.1)

See merge request espressif/esp-idf!29955
2024-04-01 20:41:02 +08:00
Harshit Malpani
ce225dfc1a
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:19:57 +05:30
Jiang Jiang Jian
a355214a16 Merge branch 'bugfix/fix_coex_ld_issue_v5.1' into 'release/v5.1'
fix(wifi): fix coex ld issue (v5.1)

See merge request espressif/esp-idf!29916
2024-04-01 14:08:58 +08:00
Jiang Jiang Jian
92a184d482 Merge branch 'bugfix/dpp_example_init_error_v5.1' into 'release/v5.1'
fix(wifi/example): Fix dpp example init error (v5.1)

See merge request espressif/esp-idf!29860
2024-03-29 19:47:50 +08:00
liuning
6c015fd05e fix(wifi): fix coex ld issue 2024-03-28 21:19:27 +08:00
Rahul Tank
a0d6d5c714 fix(nimble): Handle missing free in application 2024-03-28 08:51:07 +05:30
Jin Cheng
1dc8ace8c7 change(bt/bluedroid): Use BTC util to convert HCI status to ESP status 2024-03-28 10:19:00 +08:00
sparker
c218c35439 fix(wifi/example): Fix dpp example init error
Set wifi mode before calling esp_supp_dpp_init.

Closes https://github.com/espressif/esp-idf/pull/12769

Signed-off-by: Shreyas Sheth <shreyas.sheth@espressif.com>
2024-03-27 11:21:20 +05:30
cjin
27b553eb38 fix(ble): fix ci ble powe save test addresss error 2024-03-25 15:59:32 +08:00
Darian Leung
5c2a003f91
refactor(soc): Remove soc/usb_types.h
This header has been removed for the following reasons:

- Header is misplaced. 'xxx_types.h' headers should be placed in the 'hal'
component.
- The 'usb_xxx_endpoint_t' should be placed in the 'xxx_struct.h' header.
2024-03-22 15:21:52 +08:00
Darian Leung
3073673669
refactor(soc): Rename usb_otg_periph to usb_dwc_periph
- Renamed usb_otg_periph.h/c to usb_dwc_periph.h/c to match naming convention
of other DWC OTG related files
- Added compatibility header for usb_otg_periph.h
2024-03-22 15:21:51 +08:00
Darian Leung
93e2cbcc77
refactor(soc): Deprecate usb pin mappings
usb_pins.h and usb_periph.h/c lists mappings of USB DWC signals to GPIOs used
to connect to external FSLS PHYs. However, those signals can be routed to any
GPIOs via the GPIO matrix. Thus, these mapping are meaningless and have been
deprecated.
2024-03-22 15:21:51 +08:00
Darian Leung
0205ed9dc6
refactor(hal): Remove usb_hal and usb_ll
This commit removes some legacy USB related HAL and LL files that are no longer
used.
2024-03-22 15:21:51 +08:00
Jiang Jiang Jian
d23b7a0361 Merge branch 'bugfix/wps_reg_regression_v5.1' into 'release/v5.1'
fix(esp_wifi): Fixed regression caused by 02d6704a when wpa_supplicant debug logs enabled (!29701)

See merge request espressif/esp-idf!29754
2024-03-22 13:53:44 +08:00
Jiang Jiang Jian
c642c72713 Merge branch 'bugfix/fix_softap_coex_start_issue_v5.1' into 'release/v5.1'
fix(wifi): fix softap coex start issue, no wifi request if wifi is not used at idle

See merge request espressif/esp-idf!29771
2024-03-22 10:46:26 +08:00
liuning
01548764f6 fix(wifi): fix softap coex start issue, no wifi request if wifi is not used at idle 2024-03-21 19:16:55 +08:00
Jakub Kocka
13fea024e5 refactor(idf_tools): IDF version is acquired only from version or header file
Closes https://github.com/espressif/esp-idf/issues/13385
2024-03-20 07:54:39 +01:00
Sarvesh Bodakhe
d2b674622c fix(esp_wifi): Fix regression caused by 02d6704a when supplicant logs enabled 2024-03-20 11:03:20 +05:30
morris
8bacd5aab3 feat(parlio_tx): support non-blocking transaction queue 2024-03-19 13:15:15 +08:00
Jiang Jiang Jian
9f7eacb089 Merge branch 'fix/ci_flash_counter_v5.1' into 'release/v5.1'
fix(spi_flash): Fix spi_flash counter test on CI (backport v5.1)

See merge request espressif/esp-idf!29710
2024-03-19 11:54:42 +08:00
Jiang Jiang Jian
29f78cea74 Merge branch 'feature/refactor_ftm_code_v5.1' into 'release/v5.1'
Refactor and improve FTM code (Backport v5.1)

See merge request espressif/esp-idf!29713
2024-03-19 11:39:48 +08:00
Nachiket Kukade
16a80db4d0 feat(esp_wifi): Refactor and improve FTM code
Enable FTM Responder mode for ESP32C6. Update wifi libs with below -

1. Break FTM State Machine code into separate functions
2. Use dynamic allocation for FTM session to save memory
3. Add API to get FTM report instead of event based mechanism
4. Add FTM Request retry and comeback support
2024-03-18 21:33:02 +05:30
Jiang Jiang Jian
aead2f3205 Merge branch 'bugfix/wps_crash_issue_v5.1' into 'release/v5.1'
fix(wpa_supplicant): Avoid dereferencing a dangling function pointer in WPS (Backport v5.1)

See merge request espressif/esp-idf!29701
2024-03-18 21:23:26 +08:00