Commit Graph

34230 Commits

Author SHA1 Message Date
Mahavir Jain
28472cc6b7 Merge branch 'feature/enable_aes_sha_support_for_h21' into 'master'
feat: enabled aes and sha support for esp32h21

Closes IDF-11501 and IDF-11504

See merge request espressif/esp-idf!37072
2025-03-11 13:16:27 +08:00
Armando (Dou Yiwen)
b0f834256e Merge branch 'fix/pr_15513_psram_bss_noinit_calc_issue' into 'master'
psram: correct .bss and .noinit vaddr calculation

Closes IDFGH-14775 and IDFGH-14814

See merge request espressif/esp-idf!37633
2025-03-11 11:40:04 +08:00
Shu Chen
27fddbbc26 Merge branch 'support/ieee802154_set_txon_delay_using_phylib_impl' into 'master'
feat(802.15.4): configure tx on delay using phylib implementation

See merge request espressif/esp-idf!37475
2025-03-11 11:35:14 +08:00
wuzhenghui
795dedba33 feat(eap_hw_support): disable power glitch detector in PD_TOP lightsleep for c5&c61 2025-03-11 11:31:02 +08:00
C.S.M
6c3d67b234 fix(spi_flash): Add suspend check on esp32c6 and esp32h2 for some reason 2025-03-11 11:11:39 +08:00
C.S.M
ae50c71222 fix(spi_flash): Return false directly in suspend caps check 2025-03-11 11:11:39 +08:00
Ivan Grokhotkov
f7b977b405 test(sdmmc): add test for high-prio task busy while writing
Related to https://github.com/espressif/esp-idf/issues/13934
2025-03-11 10:51:06 +08:00
Ivan Grokhotkov
335027b731 fix(sdmmc): move DMA descriptor refilling into the ISR
Previously, as DMA descriptors were processed, the task performing
SDMMC transfer would get woken up and would refill the descriptors.
This design didn't work correctly when higher priority tasks occupied
the CPU for too long, resulting in SDMMC transfer timing out.

This change moves DMA descriptor refilling into SDMMC ISR. Now the
"DMA done" interrupt is delivered back to task context only when
the entire transfer is completed.

Closes https://github.com/espressif/esp-idf/issues/13934
2025-03-11 10:51:06 +08:00
Shen Weilong
892b3a0b0e feat(ble): tell controller if vhci is enabled for ESP32-C2 2025-03-11 09:51:50 +08:00
Marius Vikhammer
20bbd2af42 feat(newlib): add option for placing newlib lock API into flash 2025-03-11 09:33:58 +08:00
Erhan Kurubas
b29472c7ff Merge branch 'update_freertos_openocd_params' into 'master'
feat(freertos): add list offsets to the openocd_params

See merge request espressif/esp-idf!37537
2025-03-11 06:59:28 +08:00
Kapil Gupta
3d1ea229d5 Merge branch 'bugfix/wps_reconnect_failure' into 'master'
fix(wpa_suppplicant): Fix for issue in wps reconnection

Closes WIFI-6810, WIFIBUG-1086, and WIFIBUG-1067

See merge request espressif/esp-idf!37320
2025-03-10 22:26:42 +08:00
Shen Weilong
981e5ba260 feat(ble): tell controller if vhci is enabled for ESP32-C5 2025-03-10 20:40:01 +08:00
Shen Weilong
ac2b67d6c5 feat(ble): tell controller if vhci is enabled for ESP32-C6 and ESP32-H2 2025-03-10 20:34:36 +08:00
Sarvesh Bodakhe
baba98ec32 fix(wifi): Resolved WPS connectivity issue with pre-connected stations
This fixes the issue where station was not able connect using WPS if it was
already in connected state.

wifi_wps_scan_done() issues an esp_wifi_disconnect() before
calling esp_wifi_connect() to associate with the newly discovered AP. This
behavior incorrectly triggered a failure event (WIFI_EVENT_STA_WPS_ER_FAILED)
even though the disconnection was part of the normal WPS flow. This commit
prevents sending the false failure event, ensuring expected WPS behavior.
2025-03-10 14:55:12 +05:30
zwx
a431fd9adc feat(802.15.4): configure tx on delay using phylib impl 2025-03-10 16:13:56 +08:00
Marius Vikhammer
2fc73a05b3 feat(newlib): removed some unecessary IRAM attributes for newlib functions 2025-03-10 15:31:30 +08:00
Island
bdd9077b6e Merge branch 'bugfix/disable_dbg_hci_cmd_on_esp32' into 'master'
Disable debug vendor hci command on ESP32

See merge request espressif/esp-idf!37600
2025-03-10 15:17:56 +08:00
armando
6866f375b6 refactor(psram): rename .bss .noinit segments to sections
Closes https://github.com/espressif/esp-idf/pull/15513
2025-03-10 14:44:11 +08:00
Erki Aring
c9ab9b8bb3 fix(psram): correct heap vaddr calculation
- fixes https://github.com/espressif/esp-idf/issues/15496

Signed-off-by: armando <douyiwen@espressif.com>
2025-03-10 14:44:11 +08:00
Mahavir Jain
87024c3da1 Merge branch 'bugfix/cleanup_aes_192_references_for_unsupported_chips' into 'master'
fix(esp_rom): Remove AES - 192 references for unsupported chips

See merge request espressif/esp-idf!37506
2025-03-10 14:06:25 +08:00
morris
54cfdce964 Merge branch 'bugfix/bitscrambler_eof_mode' into 'master'
BitScrambler: Fixed the inconsistent EOF mode setting between assembler and driver

See merge request espressif/esp-idf!37499
2025-03-10 13:22:56 +08:00
Wang Meng Yang
9ba552786d Merge branch 'bugfix/spp_free_server_slot_err' into 'master'
fix(bt/bluedroid): Fixed freeing spp server memory when disconnected

Closes BTQABR2023-455 and BTQABR2023-453

See merge request espressif/esp-idf!37547
2025-03-10 10:05:07 +08:00
chenjianhua
106ded1e8a fix(bt): Update bt lib for ESP32(e250cf1)
- Disable debug vendor hci command
2025-03-09 18:20:14 +08:00
Rahul Tank
b1effd0cb4 Merge branch 'feature/expose_ble_gap_wl_tx_add' into 'master'
fix(nimble): Exposed the ble_gap_wl_tx_add API to add a device in whitelist

See merge request espressif/esp-idf!34092
2025-03-09 11:24:35 +08:00
Jiang Jiang Jian
4f5bed28e7 Merge branch 'bugfix/provisioning_sec2_aes_iv_usage' into 'master'
fix(provisioning): fix incorrect AES-GCM IV usage in security2 scheme

See merge request espressif/esp-idf!37226
2025-03-08 14:03:53 +08:00
Jiang Jiang Jian
aa2f638e06 Merge branch 'fix/fix_esp32s3_reboot_cache_failure' into 'master'
fix(esp_system): fix esp32s3  possible cache_error triggered by another core accessing flash in esp_restart

See merge request espressif/esp-idf!37554
2025-03-07 20:26:19 +08:00
Jiang Jiang Jian
19bff0e40c Merge branch 'fix/sleep_cpu_mspi_freq_mismatch_issue_p4' into 'master'
mspi: fixed cpu and mspi freq mismatch issue when in dfs/sleep on p4

Closes IDF-12068 and PM-333

See merge request espressif/esp-idf!36499
2025-03-07 20:00:14 +08:00
Abhinav Kudnar
3758eb8c2e fix(nimble): Exposed the ble_gap_wl_tx_add API to add a device in whitelist 2025-03-07 17:14:37 +05:30
Island
01a20a17b1 Merge branch 'feature/move_tinycrypt_to_bt_common' into 'master'
Feature/move tinycrypt to bt common

Closes BLERP-1619

See merge request espressif/esp-idf!37479
2025-03-07 19:31:04 +08:00
morris
d87eb94604 Merge branch 'fix/parlio_tx_c5_test_failure' into 'master'
fix(parlio): fix non-free running test case

See merge request espressif/esp-idf!37571
2025-03-07 19:08:22 +08:00
Peter Marcisovsky
430bb9dc2c Merge branch 'fix/jpeg_driver_handle_invalid_marker' into 'master'
fix(jpeg_decoder): Correctly handle invalid 0xffff JPEG marker

Closes IDF-12204

See merge request espressif/esp-idf!36764
2025-03-07 17:21:54 +08:00
Chen Jichang
e3f27822ba fix(parlio): fix non-free running test case 2025-03-07 17:14:18 +08:00
Armando (Dou Yiwen)
6184bdaa7f Merge branch 'fix/fix_cam_iram_safe_compile_error' into 'master'
cam: fix cam iram safe compile error

Closes IDF-12593

See merge request espressif/esp-idf!37557
2025-03-07 17:07:54 +08:00
Konstantin Kondrashov
5417edbe24 fix(efuse): Fix Coverity warning for destroy_block func 2025-03-07 16:44:22 +08:00
morris
c011fc15d6 Merge branch 'feature/update_h21_etm_source' into 'master'
feat(esp32h21): update h21 soc_etm_source

See merge request espressif/esp-idf!37206
2025-03-07 16:28:25 +08:00
Mahavir Jain
00e8d1a832 fix(esp_local_ctrl): update for changes in protocomm security2 scheme 2025-03-07 13:49:12 +05:30
Mahavir Jain
3bd5a22f5a fix(provisioning): fix incorrect AES-GCM IV usage in security2 scheme
Using same IV in AES-GCM across multiple invocation of
encryption/decryption operations can pose a security risk. It can help
to reveal co-relation between different plaintexts.

This commit introduces a change to use part of IV as a monotonic
counter, which must be incremented after every AES-GCM invocation
on both the client and the device side.

Concept of patch version for a security scheme has been introduced here
which can help to differentiate a protocol behavior for the provisioning
entity. The security patch version will be available in the JSON
response for `proto-ver` endpoint request with the field
`sec_patch_ver`.

Please refer to documentation for more details on the changes required
on the provisioning entity side (e.g., PhoneApps).
2025-03-07 13:49:10 +05:30
Mahavir Jain
641f461346 fix(protocomm): memory leak issue for session command0 failure case 2025-03-07 13:49:09 +05:30
Song Ruo Jing
2fabe6ff9c Merge branch 'bugfix/lp_uart_baudrate_limitation' into 'master'
fix(uart): LP UART does not have the pre-divider for its clock source

Closes IDFGH-14685 and IDF-12524

See merge request espressif/esp-idf!37250
2025-03-07 16:05:54 +08:00
armando
ff38c0c329 test(cam): added cache-safe build test 2025-03-07 15:25:57 +08:00
armando
f0590c860e refactor(cam): rename IRAM-Safe to Cache-Safe 2025-03-07 15:25:57 +08:00
armando
c53fd5d985 fix(cam): fixed cam iram safe build error 2025-03-07 15:25:57 +08:00
Marius Vikhammer
12e9d6514a fix(console): fixed secondary console not working on all chips without VFS 2025-03-07 14:41:19 +08:00
wuzhenghui
14db879842 change(esp_hw_support): only do mpll disable in lightsleep process 2025-03-07 12:27:20 +08:00
Armando
d64ca3a5d1 fix(mspi): fixed cpu and mspi freq mismatch issue when in dfs/sleep on p4 2025-03-07 12:27:16 +08:00
morris
603566edee fix(spi): removed PERIPH_CTRL_FUNC_IN_IRAM dependency 2025-03-07 11:15:32 +08:00
Peter Marcisovsky
e12db42898 Merge branch 'feat/jpeg_dirver_default_huffman_table' into 'master'
feat(jpeg): Add support for default Huffman tables

See merge request espressif/esp-idf!36986
2025-03-07 02:46:58 +08:00
wuzhenghui
d418cb4a40 fix(esp_system): fix possible cache_error by another core accessing flash in esp_restart 2025-03-06 21:21:54 +08:00
Song Ruo Jing
1b09bb3037 fix(uart): LP UART does not have the pre-divider for its clock source
Closes https://github.com/espressif/esp-idf/issues/15427
2025-03-06 20:35:48 +08:00