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
Fu Hanxi
b111672f42
Merge branch 'fix/kconfig-optional-dependency' into 'master'
...
fix(build): pass sdkconfig.json during injection to add kconfig optional dependencies correctly
See merge request espressif/esp-idf!41470
2025-08-26 16:38:52 +02:00
Fu Hanxi
de098b9a5f
Merge branch 'fix/menuconfig-reload-sdkconfig-json' into 'master'
...
fix: make sure sdkconfig.json is updated after running the menuconfig
See merge request espressif/esp-idf!41495
2025-08-26 16:36:54 +02: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
Jakub Kocka
6a8e47baf8
ci(pre-commit): Enhanced ruff pre-commit check to show fixes for better debugging
2025-08-26 13:50:45 +02:00
Jakub Kocka
2affbb9509
refactor(tools): Updated tests to corespond with massage changes
2025-08-26 13:50:45 +02:00
Jakub Kocka
7b65c5e0b7
refactor(tools): Strings to f-strings conversion an other pre-commit issues
2025-08-26 13:50:45 +02:00
Jakub Kocka
f1143b0b93
fix(tools): Fixed click function usage to solve deprecation issue
2025-08-26 13:50:45 +02:00
Jakub Kocka
c568e3e3de
fix(tools): Avoided using the click's deprecated __version__
2025-08-26 13:50:45 +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
Lu Wei Ke
14f2d9e6cf
Merge branch 'docs/migration_guides_bt_classic' into 'master'
...
docs: Add SoC conditional flag for Bluetooth Classic in migration guides
Closes DOC-11554
See merge request espressif/esp-idf!41440
2025-08-26 14:37:45 +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 Ji Chang
f54046ae3a
Merge branch 'fix/fix_twai_pre_commit' into 'master'
...
fix(twai): fix cybergear pre-commit check
See merge request espressif/esp-idf!41507
2025-08-26 13:38:05 +08:00
Chen Jichang
2496588185
fix(twai): fix cybergear pre-commit check
2025-08-26 13:25:26 +08:00
Dai Zi Yan
95cd03c724
Merge branch 'docs/clarify_c2_esp8684_relation' into 'master'
...
docs: add clarification about the relationship between ESP32-C2 and ESP8684
See merge request espressif/esp-idf!41454
2025-08-26 04:23:19 +00:00
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
morris
c6d7d5d412
Merge branch 'feat/twai_xiaomi_motor_example' into 'master'
...
feat(twai): add cybergear example
Closes IDF-10549
See merge request espressif/esp-idf!40193
2025-08-26 11:37:04 +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
daiziyan
a536b2b9f3
docs: add clarification about the relationship between ESP32-C2 and ESP8684
2025-08-26 10:32:53 +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
Fu Hanxi
7b81a731e2
ci: increase build timeout
2025-08-25 17:02:34 +02:00
Alexey Lapshin
c433a76325
Merge branch 'feature/xtensa-size-optimize-mno-target-align' into 'master'
...
change(xtensa): Add -mno-target-align to size-optimized builds
Closes IDFGH-14980
See merge request espressif/esp-idf!39348
2025-08-25 18:50:01 +04:00
Fu Hanxi
d65e0e39c6
fix: make sure sdkconfig.json is updated after running the menuconfig
2025-08-25 14:48:58 +02:00
Fu Hanxi
60e9ec429d
fix: kconfig optional dependency in transitive dependency
2025-08-25 14:32:05 +02:00
Igor Masar
49ae853ddb
Merge branch 'docs/usb-external-phy' into 'master'
...
docs(usb): add section on external USB PHY configuration
Closes DOC-3308
See merge request espressif/esp-idf!40670
2025-08-25 19:37:09 +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
Ren Peiying
779698c755
Merge branch 'docs/improve_descr_on_language_standard' into 'master'
...
docs: Update description on C++ language standard
See merge request espressif/esp-idf!41426
2025-08-25 18:53:35 +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 Jichang
b39507bc30
feat(twai): add cybergear example
2025-08-25 18:30:33 +08:00