Commit Graph
53291 Commits
Author SHA1 Message Date
Marius Vikhammer d00a3c1aa8 fix(ulp): fixes potential race-condition for lp-timer wakeup with lp-core
Reconfigure wakeup time before enabling the wakeup source to avoid
a wakeup from potentially stale values.

Closes https://github.com/espressif/esp-idf/issues/17009
2026-06-30 14:07:09 +08:00
gadget-man 422e5af61c Fix bug in logging for VFS start_select function
Resolves issue identified in https://github.com/espressif/esp-idf/issues/18398 by seperating logging when `vfs == NULL`

Closes https://github.com/espressif/esp-idf/pull/18400
Closes https://github.com/espressif/esp-idf/issues/18398
2026-06-30 14:06:55 +08:00
Jiang Jiang Jian b40a7e3e35 Merge branch 'fix/sd_freq_clamping_v6.1' into 'release/v6.1'
fix(sdmmc): Handle nonsensical max freq correctly (v6.1)

See merge request espressif/esp-idf!49530
2026-06-30 14:06:19 +08:00
Alexey Lapshin b645aee6f5 fix(libc): nano: add -lnosys to linking to avoid CMake configuration issues 2026-06-30 14:04:59 +08:00
Jiang Jiang Jian 2841ad761e Merge branch 'fix/add_remaining_vars_to_heap_v6.1' into 'release/v6.1'
fix(nimble): Change remaining vars from Static to Dynamic (v6.1)

See merge request espressif/esp-idf!49279
2026-06-30 14:02:41 +08:00
Abhik Roy 98e6e7a08f fix(lwip): update submodule for DNS buffer overflow fix and CI sync
Updates esp-lwip from 20f8b0739 to 6233a1561, bringing in:
* fix(dns): add addr_cnt to DNS resolution to fix multi-IP buffer overflow
* ci: Add jira sync github workflows
2026-06-30 14:02:14 +08:00
Jiang Jiang Jian c07459c1cd Merge branch 'feat/replace_click_witch_rich_click_v6.1' into 'release/v6.1'
feat(tools): Replaced click with rich_click (v6.1)

See merge request espressif/esp-idf!49020
2026-06-30 14:01:39 +08:00
Mahavir Jain 10f9230dfb Merge branch 'fix/sb_digest_revocation_workflow_v6.1' into 'release/v6.1'
change(bootloader): honor SECURE_BOOT_ALLOW_UNUSED_DIGEST_SLOTS during first boot (v6.1)

See merge request espressif/esp-idf!49712
2026-06-30 10:02:46 +05:30
morris fc14f1009b Merge branch 'ci/twai-runner-update-v.6.1' into 'release/v6.1'
ci: twai runner setup v6.1

See merge request espressif/esp-idf!49802
2026-06-30 12:02:03 +08:00
morris caf09a3c97 feat(dma2d): support RGB24 and BGR24 scramble conversion
Add async color convert coverage for direct RGB24/BGR24 byte-order swaps
and
thread both TX and RX CSC state through DMA2D transactions for future
extensibility.
2026-06-30 11:51:40 +08:00
morris ac5fcd73ef docs(dma2d): added async color convert programming guide 2026-06-30 11:51:40 +08:00
morris b0fc4b0e57 feat(dma2d): added async color converter example
illustrate how to use DMA2D convert a YUV422 image to RGB888 format
2026-06-30 11:51:40 +08:00
morris a035a90ef6 feat(mipi_dsi): replace the fbcopy driver by the async color conver driver 2026-06-30 11:51:40 +08:00
morris 3eddb7915f feat(dma2d): added async color convert driver 2026-06-30 11:51:40 +08:00
morris 25d10ea846 Merge branch 'bugfix/ppa_blend_yuv_hang_v6.1' into 'release/v6.1'
fix(ppa): fix hang if blend operation on a YUV format input background image (v6.1)

See merge request espressif/esp-idf!49734
2026-06-30 11:32:27 +08:00
morris 2c4fb6634f Merge branch 'ci/move_adc_runner_to_generic_v6.1' into 'release/v6.1'
ci(adc): move all ADC runners to generic (v6.1)

See merge request espressif/esp-idf!49792
2026-06-30 11:31:40 +08:00
morris 201352b007 Merge branch 'fix/jpeg_over_size_v6.1' into 'release/v6.1'
fix(jpeg): Fix the jpeg size might exceed the buffer size (backport v6.1)

See merge request espressif/esp-idf!50025
2026-06-30 11:31:07 +08:00
morris 1660ff9993 Merge branch 'fix/twaifd_assert_fail_v6.1' into 'release/v6.1'
fix(driver_twai): fix driver assert fail when send frame (v6.1)

See merge request espressif/esp-idf!49939
2026-06-30 11:25:35 +08:00
morris 19249ab573 Merge branch 'refactor/jpeg_encoder_example_v6.1' into 'release/v6.1'
feat(jpeg): simplify encode example and add pytest coverage (v6.1)

See merge request espressif/esp-idf!50139
2026-06-30 11:17:08 +08:00
morris f959f695f1 Merge branch 'fix/p4_gpspi_with_dma_potential_crash_v6.1' into 'release/v6.1'
fix(driver_spi): fixed esp32p4 gpspi with dma potential crash or stuck (v6.1)

See merge request espressif/esp-idf!49934
2026-06-30 11:07:43 +08:00
morris 8a5362588b Merge branch 'ci/i2s_reopen_test_h4_v6.1' into 'release/v6.1'
ci(i2s): remove distable tags of h4&s31 for I2S tests (v6.1)

See merge request espressif/esp-idf!49963
2026-06-30 11:02:48 +08:00
morris 9880406bbf Merge branch 'bugfix/sdio_slave_buffer_size_limit_v6.1' into 'release/v6.1'
fix(sdio_slave): align buffer size checks with descriptor limits (v6.1)

See merge request espressif/esp-idf!49898
2026-06-30 10:59:51 +08:00
Mahavir Jain ebb5f4e965 Merge branch 'fix/rsa_ds_driver_constant_time_v6.1' into 'release/v6.1'
Fix/rsa ds driver constant time (v6.1)

See merge request espressif/esp-idf!49698
2026-06-30 07:16:59 +05:30
Mahavir Jain 124a38d1e4 Merge branch 'bugfix/fix_protocomm_sec2_double_free_decrypt_v6.1' into 'release/v6.1'
fix(protocomm): null output buffer pointer on crypto failure (v6.1)

See merge request espressif/esp-idf!49700
2026-06-30 07:16:28 +05:30
Mahavir Jain 7a2bb09375 Merge branch 'fix/secure_boot_bootloader_ecdsa_range_gate_v6.1' into 'release/v6.1'
Add ECDSA signature bounds check in bootloader before Secure Boot verify (v6.1)

See merge request espressif/esp-idf!49632
2026-06-30 07:15:59 +05:30
Mahavir Jain 64e1461683 Merge branch 'fix/esp_tee_heap_poison_v6.1' into 'release/v6.1'
fix(esp_tee): Prevent TEE from dispatching the REE heap poisoning callback (v6.1)

See merge request espressif/esp-idf!49910
2026-06-30 07:15:35 +05:30
Mahavir Jain 31607b5cf0 Merge branch 'fix/handle_return_code_304_during_ota_head_request_v6.1' into 'release/v6.1'
fix: handle return code 304 during HTTP HEAD request in partial OTA (v6.1)

See merge request espressif/esp-idf!49762
2026-06-30 07:14:20 +05:30
Sudeep Mohanty 19d69b61eb fix(cmakev2): wrap library archives with --start-group/--end-group
Attach the flags as the first and last entries of the library's
INTERFACE_LINK_LIBRARIES so the linker re-scans archives until all
symbols resolve.
2026-06-29 22:10:21 +08:00
Sudeep Mohanty f55b23fd98 ci(bootloader): silence expected SECURE_BOOT_SIGNING_KEY CMake warning
Reference SECURE_BOOT_SIGNING_KEY in the bootloader subproject so CMake
does not warn about a manually-specified-but-unused variable when the
sign-key consumers are in config-gated blocks. Ports the same fix the
v1 subproject CMakeLists already has at line 119-120.
2026-06-29 22:10:21 +08:00
Sudeep Mohanty 14e899410f fix(test_apps/rtc_custom_section): declare bootloader_support as a private requirement of main 2026-06-29 22:10:21 +08:00
Sudeep Mohanty 7d8b791fff fix(cmakev2/compat): auto-append IDF_TARGET_ARCH to overridden common-requires
When an app sets __COMPONENT_REQUIRES_COMMON before project(), the
explicit value used to bypass the default branch that includes
${idf_target_arch}, dropping the arch component from the build.
IDF_TARGET_ARCH isn't known pre-project(), so apps shouldn't have to
hand-roll a target -> arch map. Append it after the explicit list during
common-component initialization; empty on linux means no append.
2026-06-29 22:10:21 +08:00
Sudeep Mohanty 201b2c61ed fix(cmakev2): mirror sdkconfig CONFIG_* onto build properties
Read sdkconfig.cmake's CONFIG_* values and re-publish them on the
build-properties target so component CMakeLists.txt code that queries
Kconfig via idf_build_get_property(var CONFIG_FOO) returns the expected
value.
2026-06-29 22:10:21 +08:00
Sudeep Mohanty e23b1f585f fix(cmakev2): guard flash targets when esptool_py is excluded
Add a COMMAND check on esptool_py_flash_target before invoking it in
__init_project_flash_targets. Apps that restrict the build set without
esptool_py would otherwise hit "Unknown CMake command".
2026-06-29 22:10:21 +08:00
Sudeep Mohanty 4825985844 feat(cmakev2/compat): add idf_component_mock() for CMock-based test components 2026-06-29 22:10:21 +08:00
Sudeep Mohanty d2446422d4 fix(cmakev2): respect explicit SET_COMPILER_OPTIMIZATION values
Use a DEFINED check instead of a truthy check so explicit NO/OFF/FALSE
values are honored.
2026-06-29 22:10:21 +08:00
Sudeep Mohanty e7dca1a3f8 fix(cmakev2): integrate manager-injected dependencies with idf_component_register
Move managed-dependency injection and recursive inclusion to BEFORE the
component's add_subdirectory() call, so its CMakeLists.txt can resolve
managed-dep targets at register time. Inside idf_component_register,
union the manager-injected REQUIRES/PRIV_REQUIRES with what the
component author wrote instead of overwriting them.
2026-06-29 22:10:21 +08:00
Sudeep MohantyandFrantisek Hrbata 797d8deb5b feat(cmakev2): expose Build system v1 build properties under shim
Under __V1_COMPAT_SHIM, populate EXECUTABLE, EXECUTABLE_NAME, and
BUILD_COMPONENTS build properties in __project_default(), and propagate
project_elf to the caller scope. Relax the BUILD_COMPONENTS query gate
in build.cmake so component code that uses
idf_build_get_property(... BUILD_COMPONENTS) keeps working.

Co-authored-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2026-06-29 22:10:21 +08:00
Sudeep MohantyandFrantisek Hrbata 3b16b7a7fa feat(cmakev2/compat): main auto-dep under Build system v1 shim
Replicate Build system v1 behavior where the 'main' component implicitly
depends on the discovered components (or the app-restricted
__SHIM_COMPONENTS list) when no explicit REQUIRES/PRIV_REQUIRES is set.
Gated on __V1_COMPAT_SHIM so native Build system v2 projects retain
their explicit dependency contract.

Co-authored-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2026-06-29 22:10:21 +08:00
Sudeep MohantyandFrantisek Hrbata a6d5b04dab feat(cmake): add IDF_BUILD_V2 shim for transparent cmakev2 delegation
When IDF_BUILD_V2 evaluates to a CMake-truthy value, project.cmake
delegates to Build system v2 (cmakev2). The shim wraps project(),
forwards the app-declared COMPONENTS list via __SHIM_COMPONENTS, and
publishes __V1_COMPAT_SHIM so Build system v2 internals can gate Build
system v1 compatibility behavior. Existing app CMakeLists.txt files
build unchanged.

Co-authored-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2026-06-29 22:10:21 +08:00
Igor Udot 5f255020d4 Revert "Merge branch 'ci/reproducible-build-version-txt' into 'master'"
This reverts merge request !48593
2026-06-29 14:51:06 +02:00
Wei Yu Han 22dd3b06d4 Merge branch 'update/version_6_1_0' into 'release/v6.1'
Update version to 6.1.0

See merge request espressif/esp-idf!49953
2026-06-29 20:03:31 +08:00
morris c2db07dcaa feat(jpeg): simplify encode example and add pytest coverage
Embed a 720p BGR raw asset and stream the encoded JPEG over UART so
this example no longer depends on SD card setup.

Add pytest coverage that reconstructs the JPEG from base64 output and
compares it against a checked-in golden image.
2026-06-29 17:26:08 +08:00
JiangGuangMingandCursor b7ce090780 feat(docs): update docs for usb wakeup from light sleep example
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 16:08:35 +08:00
JiangGuangMingandCursor 5099acf16e feat(usb): add usb wakeup from light sleep example
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 16:08:35 +08:00
JiangGuangMingandCursor 0252365360 feat(esp_hal_usb): add usb suspend wakeup status in ll layer
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 16:08:35 +08:00
JiangGuangMingandCursor 4625335d93 feat(sleep/usb): support usb as wakeup source from light sleep
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 16:08:35 +08:00
yangfeng 9517a7b93b fix(bt): Fix the critical issues related to A2DP from AI review report
AVDT:
- Roll back CCB allocation when cmd/rsp queue creation fails
- Free media packet on invalid handle in AVDT_WriteReqOpt
- Zero-init timeout failure message before GETCAP callback
- Initialize lcid_tbl to 0xFF to avoid mapping to tc_tbl[0]
BTA/AVRCP:
- Use size_t for AVRC message copy buffer allocation
- Allocate before register in BTA_AvEnable
- Guard BTA_AvRegister callback when enable never completed
- Remove invalid free of inline Cover Art image_descriptor
A2DP BTC/API:
- Default g_a2dp_on_deinit to true before profile init
- Reject source audio send when A2DP is deiniting
- Add shutdown state check in btc_a2dp_sink_shutdown
- Guard A2DP source timer against freed dynamic local param
2026-06-29 14:57:22 +08:00
yangfeng 57f28af482 fix: Fix the critical issues of btu and bt_common from AI review report
- advance connect queue on synchronous connect_cb failure
- lock bta_alarm_hash_map in all BTA timer APIs
- free controller params after stack disable; cleanup on init fail
- handle BTE_InitStack failure and signal init future
- validate HCI remote name event length before parse
- drop stale L2CAP quick-timer alarm events
2026-06-29 14:45:46 +08:00
zhuanghang 9fb8f967b4 feat(802.15.4): avoid missing abort reason for multievents in 154 debug 2026-06-29 14:19:57 +08:00
zhanghaipeng c69d150565 fix(bt): update ESP32 libbtdm_app.a to 4a0f94d5
- Fix connection failure when using RPA with whitelist filtering
- Fix disconnect with reason 0x08 during full scan
- Fix peer RPA resolution failure when advertising with a local identity address
2026-06-29 10:38:51 +08:00