Commit Graph

34230 Commits

Author SHA1 Message Date
harshal.patil
003b54ebfe feat(esp_psram): XIP from PSRAM can be used only when SPIRAM_BOOT_INIT=y for ESP32P4
In case of ESP32-P4, if SPIRAM memory initialisations are not performed during
boot-up, XIP PSRAM can be setup because of different virtual range of PSRAM and Flash
2025-04-29 11:48:28 +05:30
harshal.patil
c67901fc07 ci(esp_psram): Add a test to validate non-bootup PSRAM initialisation
- Also adds a test for the newly added PSRAM helper APIs:
esp_psram_get_heap_pool_size() and esp_psram_get_effective_mapped_size()
2025-04-29 11:48:28 +05:30
harshal.patil
f58c78b644 fix(esp_psram): Fix loading PSRAM XIP segments after PMP split has been configured 2025-04-29 11:48:27 +05:30
harshal.patil
ab229a34b3 feat(cpu_region_protect): Enable basic memory protection for SPIRAM 2025-04-29 11:48:27 +05:30
harshal.patil
49f253361e feat(esp_psram): Add the gap created due to alignment of XIP segments in heap 2025-04-29 11:48:27 +05:30
harshal.patil
0f628496c8 feat(esp_psram): Add some helper APIs to get usable PSRAM memory size 2025-04-29 11:48:27 +05:30
harshal.patil
46225a4026 feat(esp_psram): Add a new API to just detect and enable the PSRAM
- esp_psram_chip_init() just detects and does basic initialisations of PSRAM
- esp_psram_init() initialises and maps/loads the PSRAM pages
2025-04-29 11:48:27 +05:30
Jiang Jiang Jian
0be704f5dc Merge branch 'doc/add_soc_support_coexistence_for_esp32c5' into 'master'
docs(coex): add soc_support_coexistence for esp32c5

See merge request espressif/esp-idf!38378
2025-04-29 14:18:14 +08:00
Sudeep Mohanty
1e616eeb84 fix(newlib): Fixed an issue where usleep() could consume more CPU cycles
The following changes are made in this commit:

1. This commit updates the implementation of usleep() to now always yield
   CPU time if undergoing a multi-tick sleep. This reduces the accuracy of
   usleep() but in turn allows the scheduler to schedule different tasks.

2. The commit also updates the MCPWM unit test which fails due to the
   change in the behavior of usleep().

Closes: https://github.com/espressif/esp-idf/pull/15132
2025-04-29 08:15:16 +02:00
Xu Si Yu
bdf0ccaa74 Merge branch 'feat/add_a_callback_to_handle_rcp_reset_failure' into 'master'
feat(openthread): add a callback to handle rcp reset failure

See merge request espressif/esp-idf!38551
2025-04-29 14:00:33 +08:00
Zhang Wen Xu
211074d702 Merge branch 'feat/enable_ot_dns_server_platform_udp' into 'master'
feat(openthread): dns server of border router bind unspecified netif

See merge request espressif/esp-idf!38696
2025-04-29 12:21:11 +08:00
Mahavir Jain
f3b4050a9f fix: Secure boot (ECDSA) build failure for C6 rev0 target
Closes https://github.com/espressif/esp-idf/issues/15856
2025-04-29 12:05:22 +08:00
Tan Yan Quan
3cc4702f7a feat(openthread): enable parent search function for MTD 2025-04-29 11:47:26 +08:00
C.S.M
bb03892461 feat(uhci): Add length receive threshold support 2025-04-29 11:12:38 +08:00
Jiang Jiang Jian
c508207349 Merge branch 'bugfix/fix_tbtt_interrupt_timing_error' into 'master'
fix(pm): fix tbtt interrupt timing error when BLE RTC is configured to use...

Closes WIFIBUG-1151

See merge request espressif/esp-idf!38771
2025-04-29 11:12:30 +08:00
luoxu
ad1073693e fix(ble_mesh): fixed issue with insufficient link close transmit cnt 2025-04-29 10:45:52 +08:00
Xu Si Yu
e89eafd211 feat(openthread): add a callback to handle rcp reset failure 2025-04-29 10:24:30 +08:00
nilesh.kale
f19e8e6970 fix: re-enabled ecdsa support for esp32c5-eco2 2025-04-28 20:58:09 +05:30
nilesh.kale
8c67e3e998 fix: update efuse register files for esp32c5 eco2 2025-04-28 20:58:06 +05:30
Xiao Xufeng
1a55ea7e2c feat(soc): add config option for c6 v0.2 2025-04-28 21:18:29 +08:00
Yin Qing Zhao
7141b9558b Merge branch 'feat/chip_esp32c5_eco2_support_wifi' into 'master'
feat/chip esp32c5 eco2 support wifi

Closes IDF-10602, IDF-10616, IDF-10592, IDF-10590, IDF-10605, IDF-10604, IDF-10618, IDF-10617, IDF-10588, IDF-10598, IDF-10609, IDF-10610, IDF-10600, IDF-10589, IDF-10607, IDF-10608, IDF-10596, IDF-12857, IDF-11002, IDF-10601, IDF-10579, IDF-8641, IDF-8640, IDF-8639, IDF-8638, PM-403, AX-1139, AX-1151, AX-1153, AX-1155, WIFIBUG-1159, and WIFIBUG-1146

See merge request espressif/esp-idf!38566
2025-04-28 21:06:18 +08:00
Rahul Tank
b20122ca4c Merge branch 'bugfix/blufi_add_missing_adv_stop' into 'master'
fix(nimble): Added code for missing adv stop in blufi

Closes FCS-1701

See merge request espressif/esp-idf!38211
2025-04-28 19:19:06 +08:00
Mahavir Jain
604957d4f7 Merge branch 'fix/async_handler_example_not_working' into 'master'
Fix double freeing issue in Async handler example

See merge request espressif/esp-idf!37987
2025-04-28 17:36:39 +08:00
Marius Vikhammer
112a955111 Merge branch 'feature/h21_reset_reason' into 'master'
feat(system): updated reset reasons for H21

Closes IDF-11542

See merge request espressif/esp-idf!38774
2025-04-28 17:35:30 +08:00
C.S.M
f566b500dd feat(uhci): Add uhci (uart-dma) support on esp32c5, esp32h2 2025-04-28 16:24:42 +08:00
dhb
141700ade5 feat(tcp_transport): add API to configure SSL cipher suites
Add new API esp_transport_ssl_set_ciphersuites_list() to allow configuring custom
TLS cipher suites in SSL transport layer. This enables users to:
- Set specific cipher suites for SSL/TLS connections
2025-04-28 16:10:56 +08:00
armando
00e256d343 fix(psram): fixecd wrong ap density check 2025-04-28 16:10:18 +08:00
Guillaume Souchere
826c69f13b Merge branch 'feat/heap-get-size-from-any-pointer' into 'master'
feat(heap): add API to get allocated size from any pointer

Closes IDF-12764

See merge request espressif/esp-idf!34531
2025-04-28 15:53:37 +08:00
hrushikesh.bhosale
b6d4fa2c2e fix(async_handler): Async handler example scratch buffer fix
1. In httpd_req_async_handler_begin, the httpd_req_aux is locally malloced
and data is  done memcpy to local httpd_req_aux from request'ss httpd_req_aux for
async request use-case, this causes scartch pointer from these two structs
pointing to same memory address.
2. In current workflow, the request's sratch buffer is freed in httpd_parse.c
httpd_req_cleanup api. Therefore if the user try to fetch the data (like headers)
from the scratch buffer, data will be not available.
3. Each request should have the deep copy of the scratch buffer. To retrive
the data later.

Closes https://github.com/espressif/esp-idf/issues/15587
2025-04-28 14:57:21 +08:00
chenjianhua
f0d5227735 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(edf923e)
- Fixed ble lib linkage issue
2025-04-28 13:25:10 +08:00
laokaiyao
a1fff25880 fix(esp32c5): update efuse reg base macro 2025-04-28 12:42:13 +08:00
Mahavir Jain
26f631e0dc Merge branch 'feat/c5_eco2_ecc' into 'master'
feat(hal): add support for ESP32-C5 ECO2 ECC peripheral

See merge request espressif/esp-idf!38729
2025-04-28 12:34:07 +08:00
Marius Vikhammer
1256078ea2 feat(esp32h21): added support for misc core system features 2025-04-28 11:42:25 +08:00
morris
e981f0b70f Merge branch 'contrib/github_pr_15850' into 'master'
fix(temp-sens): return temperature_sensor function (GitHub PR)

Closes IDFGH-15178

See merge request espressif/esp-idf!38772
2025-04-28 11:39:48 +08:00
Mahavir Jain
f7724eedef Merge branch 'feature/enable_secure_boot_for_esp32h21' into 'master'
feat: enable secure boot support for esp32h21

Closes IDF-11500 and IDF-12161

See merge request espressif/esp-idf!36618
2025-04-28 11:37:37 +08:00
yinqingzhao
dd9f8bfcbc feat(wifi): chip esp32c5 eco2 support wifi 2025-04-28 10:52:55 +08:00
C.S.M
f66a750af9 Merge branch 'feat/uart_dma_support' into 'master'
feat(uhci): Add uhci(uart-dma) support on ESP32C3, ESP32P4, ESP32C6, ESP32S3🚴🏼‍♂️

See merge request espressif/esp-idf!37494
2025-04-28 00:42:42 +08:00
Kevin (Lao Kaiyao)
823785aa05 Merge branch 'bugfix/fixed_mismatch_of_tx_queue_statue' into 'master'
fix(i2s): fixed the false buf catenate while use preload

Closes IDFGH-15093

See merge request espressif/esp-idf!38633
2025-04-27 20:09:56 +08:00
C.S.M
0d031caa19 Merge branch 'bugfix/fix_i2c_coverity_issue' into 'master'
fix(i2c): Fix some i2c coverity issue

Closes IDF-11968, IDF-11970, and IDF-11969

See merge request espressif/esp-idf!38743
2025-04-27 19:36:02 +08:00
Jiang Jiang Jian
dc71ad33e8 Merge branch 'fix/comment_offchan_changes_ld_files' into 'master'
WiFi: Commented out few ld file functions corresponding to offchan changes

See merge request espressif/esp-idf!38113
2025-04-27 19:27:42 +08:00
wuzhenghui
fc58a6c116 fix(esp_hw_support): fix esp32p4 may get stuck when entering deepsleep 2025-04-27 19:27:24 +08:00
Rahul Tank
7a85e65a4c Merge branch 'bugfix/ios_hid_failure' into 'master'
fix(nimble): Update hid device example in nimble to work with iOS

See merge request espressif/esp-idf!35482
2025-04-27 18:35:58 +08:00
yinqingzhao
4ba9e7f8ae fix(wifi): update regdomain of US to support channel 169 2025-04-27 17:58:28 +08:00
Li Shuai
36776a15ef change(efuse): force return efuse controller state idle before efuse is supported 2025-04-27 17:58:28 +08:00
Li Shuai
75976706a6 change(esp_hw_support): update pmu sleep parameters for esp32c5 eco2 2025-04-27 17:58:28 +08:00
Li Shuai
8272cc86d4 change(esp_phy): update phy retention context for esp32c5 eco2 2025-04-27 17:58:28 +08:00
Li Shuai
9736ceac8f fix(esp_hw_support): fix empty item of system clock retention table for esp32c5 2025-04-27 17:58:28 +08:00
Li Shuai
ef619a4485 change(soc): update modem syscon and lpcon register and structure header files 2025-04-27 17:58:28 +08:00
C.S.M
dfe350e858 refactor(hci): Apply new ll function name to bt hci 2025-04-27 17:41:11 +08:00
C.S.M
6b988d8a07 test(uhci): Add tests for uhci 2025-04-27 17:41:11 +08:00