Commit Graph

38053 Commits

Author SHA1 Message Date
gaoxu
daad26433d fix(isp): initialize Color defaults for RGB DMA output 2026-08-10 15:15:22 +08:00
Rahul Tank
1690e355cb Merge branch 'bugfix/fix_pawr_prph_conn' into 'master'
fix(nimble): deliver PAwR peripheral connection events

See merge request espressif/esp-idf!51410
2026-08-07 09:20:34 +05:30
Gao Xu
c7a146ea24 Merge branch 'fix/update_trng_workflow_for_esp32s31' into 'master'
fix(rng): update TRNG bringup for esp32s31 runtime use

See merge request espressif/esp-idf!48579
2026-08-07 11:32:46 +08:00
Marius Vikhammer
81f6360e4d Merge branch 'feat/optimize_bootloader_size' into 'master'
change(bootloader): optimize bootloader size

See merge request espressif/esp-idf!51573
2026-08-06 22:06:38 +08:00
Frantisek Hrbata
0e68539658 Merge branch 'fix/cxx_libgcc_cxx_self_reference' into 'master'
fix(cxx): avoid self-referential generator expression in libgcc_cxx

See merge request espressif/esp-idf!48945
2026-08-06 15:33:03 +02:00
Rahul Tank
70f451fab7 fix(nimble): deliver PAwR peripheral connection events
Route legacy PAwR peripheral completion events through the active periodic
    sync callback and accept the controller-established link without normal
    advertising state.
2026-08-06 18:53:18 +05:30
Rahul Tank
faa9d09760 Merge branch 'bugfix/fix_iso_double_free' into 'master'
fix(nimble): Remove extra free to avoid double free

See merge request espressif/esp-idf!51446
2026-08-06 18:49:57 +05:30
Mahavir Jain
846b17f1bd Merge branch 'fix/fix_esp_mbedtls_read_return_code' into 'master'
fix(esp-tls): correct return codes and harden TLS 1.3 ticket handling

Closes SEC-237, SEC-359, and SEC-360

See merge request espressif/esp-idf!48720
2026-08-06 16:10:05 +05:30
Erhan Kurubas
cc6cc219f8 Merge branch 'esp32s31_trace_encoder' into 'master'
feat(esp_riscv_trace): add ESP32-S31 support

See merge request espressif/esp-idf!51350
2026-08-06 12:38:03 +02:00
Alexey Lapshin
366ce3ebed Merge branch 'fix/kasan_heap_alignment' into 'master'
fix(heap): preserve aligned allocation with KASAN

See merge request espressif/esp-idf!51186
2026-08-06 14:06:58 +04:00
Rahul Tank
fd7dacb9bc fix(nimble): Remove extra free to avoid double free 2026-08-06 15:16:02 +05:30
Ondrej Kosta
4d9524b308 Merge branch 'fix/ethernet_init_ver' into 'master'
ci(esp_eth): use fixed version of eth_test_app

See merge request espressif/esp-idf!51555
2026-08-06 16:51:05 +08:00
Marius Vikhammer
47262f8e6b change(bootloader): optimize bootloader size
Trim bootloader size by moving some logs to DEBUG. Allows
compiling bootloader on P4 with CONFIG_ESPTOOLPY_FLASHMODE_QIO
without changing partition table offset
2026-08-06 10:01:36 +02:00
sibeibei
2b528716be fix(scan): prioritize if1_conn check for home channel return logic 2026-08-06 15:39:06 +08:00
Song Ruo Jing
1f2ea33cd8 Merge branch 'fix/h4_s31_enable_multi_board_test' into 'master'
fix(ci): re-enable some LEDC/UART tests for H4, S31

Closes IDF-15610 and IDF-15619

See merge request espressif/esp-idf!51529
2026-08-06 15:27:38 +08:00
Ondrej Kosta
fb07be93ba ci(esp_eth): use fixed version of eth_test_app 2026-08-06 15:03:08 +08:00
Mahavir Jain
2495e37a48 Merge branch 'feat/pma_pmp_lock_policy' into 'master'
Stop locking PMP in the bootloader and freeze the entry layout

See merge request espressif/esp-idf!50326
2026-08-06 11:31:39 +05:30
Ashish Sharma
06f2672046 fix(esp-tls): correct return codes and harden TLS 1.3 ticket handling 2026-08-06 13:52:21 +08:00
Erhan Kurubas
3dfd8f0154 feat(esp_riscv_trace): add ESP32-S31 support
ESP32-S31 uses the same trace encoder IP as ESP32-P4. Of the E-Trace v2.0
parameters the two targets report, only privilege_width_p differs (1 on P4,
2 on S31), and it affects both the sync packet layout and the filter's
privilege selector.

- Add the SOC_RISCV_TRACE_* caps for ESP32-S31 along with the esp32s31 LL, and
  declare TRACE0/TRACE1 in the target's trace_struct.h.
- Carry privilege_width_p as SOC_RISCV_TRACE_PRIV_WIDTH so the sync packet
  decoder can locate the address field, which starts one bit later on targets
  that implement supervisor mode.
- Use the RISC-V architectural privilege encoding (0 user, 1 supervisor,
  3 machine) in the public filter enum so the values do not change per target,
  and let each LL narrow them to its own register field.
- Add riscv_trace_ll_priv_is_supported() per target, so a privilege level the
  selector cannot represent is rejected with ESP_ERR_NOT_SUPPORTED rather than
  being silently narrowed to a different level. It lives next to the narrowing
  code so the two cannot drift apart.
- Fix trace buffer allocation on targets whose internal RAM is not reached
  through a cache. esp_cache_get_alignment() reports 0 there, which underflowed
  the size check and failed every allocation. Align base and size to the larger
  of the reported cache line and the encoder's 4-byte write granularity.
2026-08-06 13:08:26 +08:00
Jiang Jiang Jian
a063a8440f Merge branch 'fix/fix_scan_and_connect_issue' into 'master'
fix(wifi): fix wifi scan and wps connect issue

Closes WIFIBUG-2051

See merge request espressif/esp-idf!51528
2026-08-06 10:56:41 +08:00
Frantisek Hrbata
841faa3614 fix(cxx): avoid self-referential generator expression in libgcc_cxx
The cxx component re-injects its own archive late on the link line so its
stack-unwind wrappers take precedence over libgcc's (when C++ exceptions
are disabled). It does this through an INTERFACE helper, libgcc_cxx, that
carries `$<TARGET_FILE:${cxx}>`. That helper was linked back into the cxx
target with PUBLIC, which places it in the cxx archive's own
LINK_LIBRARIES, so the cxx target ends up transitively referencing its
own output file.

When CMake computes the cxx target's sources it walks the target's own
link implementation, encounters `$<TARGET_FILE:${cxx}>`, and to resolve the
file it needs the target's link language, which in turn needs its
sources. This loop makes generation fail with:

    The SOURCES of "..." use a generator expression that depends on the
    SOURCES themselves.

CMake only hits this when it reaches the cxx target standalone before the
target has been pulled into a link by a consumer, and whether that
happens depends on the project layout and target evaluation order. That
is why it surfaces only in some projects, while the examples build fine.

Link libgcc_cxx as INTERFACE instead of PUBLIC. A static archive is not
linked, so its private LINK_LIBRARIES are inert; consumers still receive
libgcc_cxx through INTERFACE_LINK_LIBRARIES, so the intended link order is
preserved. Removing the self-reference makes generation independent of
evaluation order.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2026-08-05 20:59:11 +08:00
Sudeep Mohanty
9b35fd4405 Merge branch 'fix/ulp_full_build_test_fix' into 'master'
fix(cxx): skip flag setup for custom-toolchain subprojects

Closes IDFCI-13457

See merge request espressif/esp-idf!51545
2026-08-05 12:25:37 +02:00
Sudeep Mohanty
39f757ebce fix(cxx): skip flag setup for custom-toolchain subprojects
Skip processing cxx/project_include.cmake when building subprojects such
as ULP as they use custom toolchain and IDF toolchain helpers are not
available.
2026-08-05 11:14:05 +02:00
Sudeep Mohanty
cbc4dff964 Merge branch 'feat/ulp_custom_linker_support' into 'master'
ULP: Support custom LP Core linker layouts via the LINKER option

Closes IDF-12902

See merge request espressif/esp-idf!49991
2026-08-05 10:10:32 +02:00
Mahavir Jain
c9095b026f Merge branch 'feat/disable_constant_time_rsa_key_gen' into 'master'
fix(mbedtls): revert to non constant time rsa key gen

See merge request espressif/esp-idf!51026
2026-08-05 12:52:27 +05:30
gaoxu
5a2658edb4 fix(rng): fix esp_random failed beacuse do not enable RNG clock 2026-08-05 14:43:24 +08:00
Gao Xu
db9e5b4d31 Merge branch 'feat/rng_support_h21' into 'master'
H21 RNG support

Closes IDF-11503

See merge request espressif/esp-idf!50061
2026-08-05 14:15:43 +08:00
Mahavir Jain
d9f42b3fc6 Merge branch 'update/update_certs_bundle' into 'master'
Update esp_crt_bundle certificates

See merge request espressif/esp-idf!50852
2026-08-05 10:42:06 +05:30
Mahavir Jain
5e9ca673ac Merge branch 'contrib/github_pr_18880' into 'master'
fix(esp_https_ota): Add missing requirement to `bootloader_support` component (GitHub PR)

Closes IDFGH-18024

See merge request espressif/esp-idf!51505
2026-08-05 10:05:20 +05:30
Island
2720caabb1 Merge branch 'idf/ble_audio_fixes' into 'master'
fix(ble_audio): Miscellaneous fixes for ISO & LE Audio (stage 2)

See merge request espressif/esp-idf!51158
2026-08-05 10:47:55 +08:00
Sudeep Mohanty
60dc69391b Merge branch 'feat/buildv2_kasan' into 'master'
feat(build): support KASAN in the build system v2 (cmakev2)

See merge request espressif/esp-idf!51408
2026-08-04 17:34:00 +02:00
Song Ruo Jing
28acedf295 fix(ci): re-enable some LEDC/UART tests for H4, S31 2026-08-04 21:23:44 +08:00
wangtao@espressif.com
bbccbd5b1d fix(wifi): fix wifi scan and wps connect issue 2026-08-04 20:33:34 +08:00
Alexey Gerenkov
72732994ef Merge branch 'feature/enable_atomic_lock_policy_on_riscv' into 'master'
feat(build): add CONFIG_COMPILER_CXX_ATOMIC_LOCK_POLICY option

See merge request espressif/esp-idf!49913
2026-08-04 20:05:40 +08:00
Jiang Jiang Jian
43b98a4fcc Merge branch 'bugfix/fix_disconnect_failure_issue' into 'master'
fix(wifi): fix disconnect failure issue

Closes WIFI-7510

See merge request espressif/esp-idf!51176
2026-08-04 19:45:45 +08:00
Alexey Lapshin
36586b15d6 Merge branch 'fix/newlib_builds' into 'master'
Fix: newlib compatibility with libraries built with picolibc headers

Closes IDF-15962

See merge request espressif/esp-idf!51013
2026-08-04 14:41:32 +04:00
Alexey Lapshin
3003d738eb Merge branch 'fix/heap_trace_stack_corruption' into 'master'
fix(heap): avoid stack smash when heap tracing stack depth is 0

See merge request espressif/esp-idf!51416
2026-08-04 14:28:47 +04:00
muhaidong
33d39c304f fix(wifi): fix disconnect failure issue 2026-08-04 15:42:39 +08:00
Jiang Jiang Jian
bcce5b96c1 Merge branch 'fix/add_workaround_for_s31_beacon_timestamp_issue' into 'master'
fix(wifi): add workaround for s31 beacon timestamp issue

Closes WIFI-7526 and WIFIBUG-2039

See merge request espressif/esp-idf!51264
2026-08-04 14:48:08 +08:00
Rahul Tank
b5ced8374f Merge branch 'bugfix/add_nimble_cve' into 'master'
fix(nimble): Fixes for various NimBLE CVEs

See merge request espressif/esp-idf!51159
2026-08-04 12:13:47 +05:30
Zhang Wen Xu
bcda63636a Merge branch 'feat/ot_rx_sensitivity' into 'master'
feat(openthread): use the actual receive sensitivity for link quality evaluation

See merge request espressif/esp-idf!51309
2026-08-04 06:31:35 +00:00
Liu Linyan
af9ae1c0aa fix(ble_audio): Miscellaneous fixes for ISO & LE Audio (stage 2) 2026-08-04 14:07:10 +08:00
Island
94cce227dc Merge branch 'fix/ble_mesh_added_gatt_err_rsp' into 'master'
fix(ble_mesh): align GATTS read/write response handling with ATT

See merge request espressif/esp-idf!51382
2026-08-04 10:44:55 +08:00
Shu Chen
52790bf4f5 feat(openthread): use the actual receive sensitivity for link quality evaluation 2026-08-04 02:39:08 +00:00
Sudeep Mohanty
9c778c954c feat(build): support KASAN in the build system v2 (cmakev2)
Mirror Kernel Address Sanitizer support into cmakev2 so that
CONFIG_COMPILER_KASAN instruments application code the same way build system v1
does.
2026-08-03 17:31:17 +02:00
yinqingzhao
ab8568f547 fix(wifi): add workaround for s31 beacon timestamp issue 2026-08-03 21:48:27 +08:00
Rahul Tank
e64735cbf6 fix(nimble): Fixes for various NimBLE CVEs 2026-08-03 16:47:17 +05:30
Island
cf4564ffe4 Merge branch 'fix/fix_on_rf_regdma_trigger' into 'master'
Fix/fix on rf regdma trigger

Closes BLERP-2995

See merge request espressif/esp-idf!51272
2026-08-03 18:01:13 +08:00
Steven (Yang Minghui)
8588a299ac Merge branch 'feat/tsens_intr_priority_configurable' into 'master'
feat(tsens): support configurable interrupt priority

Closes IDF-7960

See merge request espressif/esp-idf!51413
2026-08-03 17:20:14 +08:00
Alexey Lapshin
aecc6eab60 fix(heap): avoid stack smash when heap tracing stack depth is 0
On RISC-V without frame pointers, STACK_DEPTH defaults to 0, so
alloced_by[] is empty. Writing callers[0] still ran and overwrote the
caller's cm.push saved ra, causing an illegal-instruction fault after
the first traced malloc (e.g. with HEAP_TRACING on ESP32-S31).
2026-08-03 16:07:54 +07:00