Commit Graph

34230 Commits

Author SHA1 Message Date
Song Ruo Jing
6bfdc93593 feat(uart): add DTR and DSR signals support for UART 2025-08-05 16:45:46 +08:00
Astha Verma
6a2d105bf0 fix(nimble): Updating the count parameter when fetching the gatt db 2025-08-05 14:14:53 +05:30
morris
b8a5ebfa01 refactor(i2c): clean up i2c driver header file
remove unnecessary dependencies
2025-08-05 15:11:07 +08:00
morris
b4e39631d3 refactor(i2c_lcd): test app in cxx environment 2025-08-05 15:09:40 +08:00
morris
414dba5009 refactor(lcd)!: remove deprecated types 2025-08-05 15:09:40 +08:00
wanckl
37c6608ab3 feat(driver_spi): support esp32h4 spi driver 2025-08-05 15:08:02 +08:00
laokaiyao
c415c060bd feat(i2s): add PLL240M clock source on S3 and C6
Closes https://github.com/espressif/esp-idf/issues/17056
2025-08-05 15:01:04 +08:00
laokaiyao
f7439317f0 fix(i2s_pdm): fixed pdm multi slot clock issue
Fixed the sample rate slow down issue when using more than 4 slots in  pdm rx mode.
2025-08-05 15:01:04 +08:00
Sudeep Mohanty
471a659e84 remove(freertos): Removed freertos_compatibility.c
The freertos_compatibility.c file has been removed and appropriate
guidelines have been added to hints.yml and the migration guide to use
alternatives for the backward compatibility functions that have been
removed.
2025-08-05 08:41:47 +02:00
JinCheng
54f1f22e69 fix(esp_phy): update esp32 librtc.a for coex problems
- ESP32 phy_version: 4861, b71b5ad, Aug, 5 2025
- ESP32 librtc version: 6758f983, Mar 22 2024, 13:39:26
2025-08-05 12:08:57 +08:00
morris
8b41a42372 refactor(lcd)!: use gpio_num_t to define gpio numbers used by LCD driver 2025-08-05 11:51:09 +08:00
Chen Jichang
4957e09e5e fix(dma): add burst size check when dma access psram 2025-08-05 11:36:24 +08:00
Armando (Dou Yiwen)
72cb973022 Merge branch 'feat/cache_panic_h4' into 'master'
cache: panic support on h4

Closes IDF-12288

See merge request espressif/esp-idf!41023
2025-08-05 03:23:56 +00:00
Armando (Dou Yiwen)
ebab455d4d Merge branch 'feat/p4_eco5_soc_part4' into 'master'
feat(soc): p4 hw ver2 registers (part 4, final)

Closes IDF-13573

See merge request espressif/esp-idf!40887
2025-08-05 03:07:11 +00:00
Jiang Jiang Jian
07db7c3ca5 Merge branch 'bugfix/fix_scan_done_event_miss_issue' into 'master'
fix(wifi): fix scan done event miss issue

Closes WIFI-6965

See merge request espressif/esp-idf!40983
2025-08-05 10:05:24 +08:00
Marius Vikhammer
d8f40df79c ci(system): enable usb-serial-jtag console tests for p4 and c5 2025-08-05 09:56:38 +08:00
Ashish Sharma
414397c048 fix(esp_http_client): fix possible double memory free 2025-08-05 09:48:22 +08:00
Song Ruo Jing
df5bff7a07 Merge branch 'contrib/github_pr_17047' into 'master'
change(esp32): Calling gpio_reset_pin on an input only pin should not produce an error message. (GitHub PR)

Closes IDFGH-16106

See merge request espressif/esp-idf!40975
2025-08-04 21:27:48 +08:00
muhaidong
a349edaf76 fix(wifi): fix scan done event miss issue 2025-08-04 21:04:29 +08:00
Samuel Obuch
b59bc28553 Merge branch 'feat/esp32c5_lp_debug_example' into 'master'
feat(ulp): esp32c5 and esp32p4 support in debugging example

See merge request espressif/esp-idf!39471
2025-08-04 17:43:00 +08:00
armando
e179056b7c fix(rtc): fixed rtc_clk.c not in iram issue 2025-08-04 17:03:34 +08:00
armando
7a1e5f540e feat(cache): supported cache panic driver on h4 2025-08-04 17:03:34 +08:00
armando
2a586022c4 fix(system): fixed wrong CPU_LOCKUP reset reason value 2025-08-04 17:03:34 +08:00
zwx
6b9e4405a6 feat(openthread): add option to dump 802.15.4 MAC debug info on assert 2025-08-04 06:31:42 +00:00
harshal.patil
60ff4bca9b refactor(esp_system): Update all references of the memory protection configs 2025-08-04 11:43:01 +05:30
harshal.patil
abaef73667 refactor(esp_system): Place all memory protection options under one option 2025-08-04 11:43:01 +05:30
harshal.patil
5c6c73ece4 change(riscv): Remove redundant definition of MEMPROT_ISR 2025-08-04 11:43:01 +05:30
harshal.patil
d70b5000cc remove(esp_hw_support): Remove redundant and unsupported memprot mentions 2025-08-04 11:43:01 +05:30
harshal.patil
55e0730a8d change(esp_hw_support): Move security-related modules to the esp_security component
- Also adds support to whitelist target specific expected dependency violations
in check_dependencies.py
2025-08-04 11:43:01 +05:30
Olivér Remény
9317ecb4ea fix(gpio): Avoid error message when calling reset on an input only pin.
The `gpio_reset_pin` function attempted to enable internal pullup on pins which does not have one. This change adds a guard to `gpio_reset_pin` for calling `gpio_pullup_en` - the same guard that makes `gpio_pullup_en` print the error.
2025-08-04 12:16:31 +08:00
Alexey Lapshin
019dc93ae0 feat(esp_system): switch to standard __libc_init_array initialization
Initially, ESP-IDF used the do_global_ctors() function to run global
constructors. This was done to accommodate Xtensa targets that emit
.ctors.* sections, which are ordered in descending order.

For RISC-V, compilation used .init_array.* sections, which are designed
to have ascending order. Priority constructors in .init_array.* sections
were correctly processed in ascending order. However, non-priority
.init_array section was processed in descending order, as it was done
for Xtensa .ctors.

Starting with ESP-IDF v6.0, the implementation switched to the standard
LibC behavior (__libc_init_array()), which processes both priority and
non-priority constructors in ascending order.

To achieve this, a breaking changes were introduced:
  - Xtensa .ctors.* priority entries converted to .init_array.* format
    (ascending), to be passed to __libc_init_array().
  - Processing order of non-priority .init_array and .ctors sections was
    changed from descending to ascending.

Also, this change introduces .preinit_array for linking. This may be
needed for some C++ or sanitizer features.

Related to https://github.com/espressif/esp-idf/issues/15529
2025-08-04 11:33:44 +08:00
armando
9956a6230e feat(soc): p4 hw ver2 registers 2025-08-04 02:14:10 +00:00
muhaidong
f1d55e162d feat(phy): update 11ax rate for cert test 2025-08-03 17:07:28 +08:00
muhaidong
8a425253d1 feat(phy): add 11ax rate for cert test 2025-08-03 17:07:28 +08:00
Gao Xu
819970f439 Merge branch 'fix/correct_adc_periph_num_on_c2' into 'master'
fix(adc): fix ESP32-C2/P4 wrong adc periph num

See merge request espressif/esp-idf!40542
2025-08-03 14:45:23 +08:00
Jiang Jiang Jian
397c273ec0 Merge branch 'feat/chip_esp32c61_update_libphy' into 'master'
feat(phy): update libphy for esp32c61/esp32c5/esp32h2

See merge request espressif/esp-idf!40907
2025-08-02 01:29:55 +08:00
Jiang Jiang Jian
47c0e262e0 Merge branch 'bugfix/fix_bt_hci_not_effective' into 'master'
Fixed bt hci event was not report to host when hci command was sent(master)

Closes BTQABR2023-538 and BTQABR2023-548

See merge request espressif/esp-idf!40992
2025-08-02 00:56:07 +08:00
Jiang Jiang Jian
97c4eed16a Merge branch 'bugfix/fixed_ble_dtm_err' into 'master'
Bugfix/fixed ble dtm err

Closes BLERP-2129

See merge request espressif/esp-idf!40935
2025-08-01 22:48:56 +08:00
yinqingzhao
5eea5464c4 feat(phy): update libphy for esp32c61/esp32c5/esp32h2 2025-08-01 20:12:54 +08:00
zhanghaipeng
155c32be20 fix(bt/ble): Update esp32 libbtdm_app.a (722c907a)
- Fixed bt hci event was not report to host when hci command was sent
2025-08-01 19:21:28 +08:00
Marius Vikhammer
978f2e9720 Merge branch 'bugfix/test_utils_comp_missing' into 'master'
test(system): fixed missing test_utils component dependency

See merge request espressif/esp-idf!40969
2025-08-01 16:17:18 +08:00
Chen Ji Chang
ee779a0b72 Merge branch 'feat/support_twai_on_h21' into 'master'
feat(twai): support twai on esp32h21

Closes IDF-11574 and IDF-11575

See merge request espressif/esp-idf!40888
2025-08-01 15:35:35 +08:00
Jiang Jiang Jian
84b4605ffa Merge branch 'fix/wpsreg_crash_due_to_double_reset' into 'master'
fix(wifi): Fix crash in WPS-registrar due to nested 'eap_wsc_reset()' calls

Closes WIFIBUG-1342

See merge request espressif/esp-idf!40751
2025-08-01 13:55:17 +08:00
Marius Vikhammer
73bd521d7a test(system): fixed missing test_utils component dependency 2025-08-01 13:40:47 +08:00
C.S.M
142a8301e8 Merge branch 'fix/make_bootloader_flash_size_correct' into 'master'
fix(bootloader_flash): Make bootloader flash size accurate

See merge request espressif/esp-idf!40847
2025-08-01 12:02:42 +08:00
Armando (Dou Yiwen)
1b22d58779 Merge branch 'feat/h4_mmu' into 'master'
mmu: h4 support

Closes IDF-12305

See merge request espressif/esp-idf!40565
2025-08-01 03:58:33 +00:00
Marius Vikhammer
4065fb20f3 Merge branch 'feature/esp_test_utils_component' into 'master'
change(test_utils): moved test_utils out of unit-test-app project

See merge request espressif/esp-idf!40678
2025-08-01 11:04:37 +08:00
Jiang Jiang Jian
2bbf9b6160 Merge branch 'fix/chip_esp32c5_eco2_supp' into 'master'
Get operating class in dual band

Closes IDF-10613

See merge request espressif/esp-idf!38892
2025-08-01 10:27:34 +08:00
Sarvesh Bodakhe
8631f5dafd fix(wifi): prevent crash in WPS-registrar due to nested 'eap_wsc_reset()' calls
When a WPS handshake is already in progress and the enrollee sends another EAPOL-Start
(e.g., due to missed packets or timeout), the registrar resets its state by calling
'eap_wsc_reset()'. This function frees 'sm->eap_method_priv' and then calls
'esp_wifi_ap_wps_disable()', which internally triggers another call to 'eap_wsc_reset()'.

This results in a double reset where the second invocation accesses the already freed
'sm->eap_method_priv', leading to a crash.

This fix sets 'sm->eap_method_priv' to NULL immediately after freeing it to ensure
any subsequent calls to eap_wsc_reset() do not access an invalid pointer.
2025-08-01 10:27:08 +08:00
Marius Vikhammer
96512006c0 Merge branch 'ci/core_tests_use_caps' into 'master'
ci(system): update system pytest apps to use SOC_CAPs

See merge request espressif/esp-idf!40865
2025-08-01 10:25:16 +08:00