Marius Vikhammer
cb36cd3a94
Merge branch 'bugfix/esp_event_remove_freertos_header' into 'master'
...
change(esp_event): removed unnecessary freertos header includes
Closes IDF-5130
See merge request espressif/esp-idf!41476
2025-08-28 09:50:25 +08:00
Li Shuai
3549016311
Merge branch 'feat/static_sleep_cpu_retention_buffer_support' into 'master'
...
Support static sleep cpu retention
See merge request espressif/esp-idf!40778
2025-08-28 09:47:59 +08:00
Marius Vikhammer
1207e2cb7a
test(cpp): fixed cpp test case mem leak
2025-08-28 09:38:40 +08:00
Omar Chebib
686165a7fc
Merge branch 'fix/eh_frame_infinite_loop' into 'master'
...
fix(esp_system): prevent .eh_frame-based unwinding from looping indefinitely
Closes IDF-13814, BLERP-2140, BLERP-2152, BLERP-2153, and BLERP-2154
See merge request espressif/esp-idf!41164
2025-08-28 09:36:56 +08:00
Alexey Lapshin
c7db23458e
Merge branch 'feature/gdbstub_q_and_xesppie_registers_support' into 'master'
...
GDBStub: riscv: support f- and q-registers
Closes IDF-7279 and IDF-12552
See merge request espressif/esp-idf!37484
2025-08-28 04:45:47 +04:00
Konstantin Kondrashov
e2a1a7be35
Merge branch 'fix/coverity_console' into 'master'
...
fix(system): Fixes Coverity issues
Closes IDF-13862, IDF-13869, IDF-13872, IDF-13873, IDF-13910, IDF-13908, IDF-13863, IDF-13878, IDF-13903, IDF-13902, and IDF-13907
See merge request espressif/esp-idf!41414
2025-08-28 03:15:35 +08:00
zwl
eaf12518af
feat(ble): fixed ble rx pdu error issue on ESP32-C5
2025-08-27 19:58:45 +08:00
Konstantin Kondrashov
3ef17fe231
feat(esp_ringbuf): Fixes full no-split buffer frees item incorrectly
...
Closes https://github.com/espressif/esp-idf/issues/17466#issuecomment-3209730773
2025-08-27 14:02:20 +03:00
Erhan Kurubas
a4e06f0792
test(app_trace): add SystemView UART tracing tests for all targets
2025-08-27 13:44:16 +03:00
Marius Vikhammer
a791f7e85d
ci(ulp): fixed default config not running in CI
2025-08-27 17:13:46 +08:00
C.S.M
b191c34647
Merge branch 'fix/update_eco5_i3c_struct' into 'master'
...
fix(i3c): Update i3c master register struct
Closes IDF-13730
See merge request espressif/esp-idf!41508
2025-08-27 16:50:50 +08:00
Omar Chebib
11f3c47b95
fix(esp_system): prevent .eh_frame-based unwinding from looping indefinitely
2025-08-27 16:01:06 +08:00
laokaiyao
093a444d74
fix(modem_etm): fixed the compile issue
2025-08-27 15:48:35 +08:00
Alexey Lapshin
c8ff79a023
fix(gdbstub): remove unsupported options in qSupported packet
2025-08-27 14:45:10 +07:00
Alexey Lapshin
9958287a64
feat(gdbstub): add f- and q-registers support
2025-08-27 14:45:06 +07:00
Kevin (Lao Kaiyao)
a5bd9d2d13
Merge branch 'feature/i2s_support_merge_simplex_to_duplex' into 'master'
...
feat(i2s): support to lazy constitute full-duplex mode
Closes IDF-11696
See merge request espressif/esp-idf!39428
2025-08-27 14:46:56 +08:00
Alexey Lapshin
ecc37c12d7
feat(build): enable -mtune=esp-base option for RISC-V targets
...
The `-mtune=esp-base` option is identical to the default tuning profile,
except that `slow_unaligned_access` is set to false.
This reduces the instruction count for built-in `memcpy` and improves
performance, since our chips can handle misaligned access with minimal
penalty (without triggering exceptions).
Example:
void load(uint32_t *r, char* x) {
memcpy(r, x, sizeof(uint32_t));
}
void store(char* x, uint32_t v) {
memcpy(x, &v, sizeof(uint32_t));
}
Previously generated code:
load:
lbu a5,2(a1)
lbu a3,0(a1)
lbu a4,1(a1)
sb a5,2(a0)
sb a3,0(a0)
sb a4,1(a0)
lbu a5,3(a1)
sb a5,3(a0)
ret
store:
srli a3,a1,8
srli a4,a1,16
srli a5,a1,24
addi sp,sp,-16
sb a1,0(a0)
sb a3,1(a0)
sb a4,2(a0)
sb a5,3(a0)
addi sp,sp,16
jr ra
With `-mtune=esp-base`:
load:
lw a5,0(a1)
sw a5,0(a0)
ret
store:
sw a1,0(a0)
ret
Inlining behavior
=================
Without `-mtune=esp-base`:
- `memcpy()` is inlined only when the compile-time size is ≤ 12 bytes.
- Maximum cost: ~25 instructions
With `-mtune=esp-base`:
- `memcpy()` is inlined for all compile-time constant sizes.
- Maximum cost: ~14 instructions
As a result, some applications may see reduced code size, while others
may increase slightly. However, performance always improves because
extra `memcpy` calls are eliminated.
Performance results
===================
esp32p4 (Ethernet iperf):
- No noticeable difference
esp32c61 (Wi-Fi iperf):
- ~2 Mb/s increase for TCP and UDP TX (may be within measurement error)
NOTE
====
Applies only to RISC-V chips that do not have the hardware issue marked
by the SOC_CPU_MISALIGNED_ACCESS_ON_PMP_MISMATCH_ISSUE macro.
2025-08-27 12:46:41 +07:00
Chen Ji Chang
2044fba6e7
Merge branch 'feat/h4_mp_update_rom_linker' into 'master'
...
feat(h4mp): update rom linker (part3)
Closes IDF-13770
See merge request espressif/esp-idf!41213
2025-08-27 11:43:40 +08:00
morris
5efe1dbe33
Merge branch 'contrib/github_pr_17422' into 'master'
...
fix: I2C driver should use I2C_CLK_SRC_REF_TICK e (GitHub PR)
Closes IDFGH-16266
See merge request espressif/esp-idf!41188
2025-08-27 11:04:46 +08:00
Li Shuai
d208a27ef5
feat(sleep): Increased/modified files for static sleep cpu retention buffer support
2025-08-27 09:51:51 +08:00
Li Shuai
b43f0ddc70
feat(sleep): Modify the build system
2025-08-27 09:50:21 +08:00
Konstantin Kondrashov
91a2744d44
fix(rt): Fixes Coverity false positive in va_list initialization
2025-08-26 22:13:50 +08:00
Konstantin Kondrashov
1ca82baec3
fix(heap): Fixes Coverity false positive in va_list initialization
2025-08-26 22:13:50 +08:00
Konstantin Kondrashov
ca2ccf164c
fix(log): Fixes Coverity false positive in va_list initialization
2025-08-26 22:13:50 +08:00
Konstantin Kondrashov
9b11b69a46
fix(console): Fixes Coverity false positive in va_list initialization
2025-08-26 22:13:50 +08:00
Jiang Jiang Jian
e6a11ba88e
Merge branch 'fix/wrong_auth_mode_in_sta_connected_evt' into 'master'
...
fix(wifi): send correct wifi_auth_mode_t in WIFI_EVENT_STA_CONNECTED and logs
See merge request espressif/esp-idf!40769
2025-08-26 21:43:19 +08:00
sonika.rathi
b6956d7bc8
fix(fatfs): fix overflowed constant issue observed in mount_volume of ff.c
2025-08-26 13:58:56 +02:00
Wan Lei
fecbfdc84d
Merge branch 'fix/twai_legacy_zero_trans' into 'master'
...
fix(twai): twai legacy driver fixed zero dlc transmit
Closes IDFGH-16321
See merge request espressif/esp-idf!41425
2025-08-26 18:17:15 +08:00
laokaiyao
e3bf25de1c
feat(i2s): support to lazy constitute full-duplex mode
2025-08-26 15:49:29 +08:00
Chen Ji Chang
f160701c29
Merge branch 'fix/rmt_tx_loop_mode' into 'master'
...
fix(rmt): correct the condition for warnings in loop mode
See merge request espressif/esp-idf!41060
2025-08-26 14:49:32 +08:00
C.S.M
93e63944b5
fix(i3c): Update i3c master register struct
2025-08-26 14:27:48 +08:00
Aditya Patwardhan
cc37708f98
Merge branch 'feature/remove_ds_and_rsa_support_for_esp32h4' into 'master'
...
feat: remove ds and mpi support for esp32h4
Closes IDF-12443, IDF-12444, and IDF-12970
See merge request espressif/esp-idf!41339
2025-08-26 11:49:15 +05:30
Chen Chen
2ff0e32696
refactor(i2c_p4eco5): update i2c_struct.h on P4 ECO5
...
Update the i2c_struct.h file to support P4ECO5.
2025-08-26 12:10:59 +08:00
Sarvesh Bodakhe
f5ff4530a2
fix(wifi): send correct wifi_auth_mode_t in event WIFI_EVENT_STA_CONNECTED and logs
...
- Fixes the authmode sent in WIFI_EVENT_STA_CONNECTED for WPA3-Enterprise, which
was previously taken directly from the AKM field. This caused incorrect values in some cases.
- Updates the "security" log to show the correct wifi_auth_mode_t.
- Fixes wrong authmode strength used in the connection path.
2025-08-26 08:35:29 +05:30
Marius Vikhammer
1f0152dd3c
Merge branch 'feature/cdcacm_vfs_comp' into 'master'
...
feat(usb_cdc_console): moved usb-cdc ROM console to new component: esp_usb_cdc_rom_console
Closes IDF-13797
See merge request espressif/esp-idf!41040
2025-08-26 10:40:08 +08:00
Yin Qing Zhao
9b0733ba7d
Merge branch 'bugfix/fix_twt_beacon_timeout_and_bss_max_idle_not_enable' into 'master'
...
fix(wifi): fix twt beacon timeout and active scan on DFS channel
See merge request espressif/esp-idf!41341
2025-08-26 10:26:20 +08:00
morris
6fdaf37e16
Merge branch 'feat/twai_esp32h4' into 'master'
...
feat(twai): add driver support on esp32h4
Closes IDF-12352 and IDF-12354
See merge request espressif/esp-idf!41434
2025-08-25 23:30:11 +08:00
Aditya Patwardhan
646377c622
Merge branch 'fix/http_client_coverity_warnings' into 'master'
...
fix(esp_http_client): address coverity generated warnings
Closes IDF-13867, IDF-13881, and IDF-13886
See merge request espressif/esp-idf!41411
2025-08-25 17:02:07 +05:30
Konstantin Kondrashov
5c3d03cee4
fix(newlib): Fixes Coverity issues
2025-08-25 14:27:42 +03:00
Rahul Tank
4dd2694760
Merge branch 'bugfix/post_conn_failure' into 'master'
...
fix(nimble): Add code to post connection failure
See merge request espressif/esp-idf!41062
2025-08-25 16:49:45 +05:30
Jiang Jiang Jian
a23fad19df
Merge branch 'bugfix/fix_esp32_bt_sw_intr' into 'master'
...
fix(bt): fixed sw_intr issue with BT register or trigger error core on ESP32
Closes BT-3917
See merge request espressif/esp-idf!40365
2025-08-25 19:03:19 +08:00
wanckl
7e7f0c5e14
fix(twai): twai legacy driver fixed zero dlc transmit
...
Closes https://github.com/espressif/esp-idf/issues/17467
2025-08-25 18:52:38 +08:00
Chen Ji Chang
f522f9cf3d
Merge branch 'feat/h4_mp_breaking_reg_headers' into 'master'
...
feat(h4mp): update breaking soc headers(part2)
See merge request espressif/esp-idf!41212
2025-08-25 18:17:37 +08:00
Jiang Jiang Jian
610ca26be1
Merge branch 'bugfix/protect_sha_hal_api_call' into 'master'
...
fix(esp_wifi): skip call to esp_fast_psk() when hardware SHA is not supported
Closes WIFI-6959
See merge request espressif/esp-idf!40609
2025-08-25 16:35:21 +08:00
yinqingzhao
7a2d2a5b9c
fix(wifi): fix twt beacon timeout and active scan on DFS channel
2025-08-25 16:19:55 +08:00
JinCheng
fb04218563
fix(bt/bluedroid): update the COD before enabling inquiry scan
2025-08-25 15:53:48 +08:00
morris
5c97f96243
Merge branch 'features/twai_send_isr' into 'master'
...
features(twai): Added support for calling twai_node_transmit() from ISR contexts
See merge request espressif/esp-idf!41383
2025-08-25 15:19:18 +08:00
Alexey Lapshin
e5026b2e07
fix(gdbstub): fix segfault when a non-running task is selected
2025-08-25 11:58:27 +07:00
Alexey Lapshin
3f158e7ef2
fix(gdbstub): use separate running and selected tasks
...
'running' - task that was running when execution stopped
'selected' - task that was selected by used in GDB (command "thread <id>")
Note that initially, after the program is interrupted 'selected' == 'running'
2025-08-25 11:58:24 +07:00
Alexey Lapshin
b25cb2906c
fix(freertos): fix xesppie registers save/restore
2025-08-25 11:58:21 +07:00