Commit Graph
53543 Commits
Author SHA1 Message Date
morris 9636c5a05c Merge branch 'refactor/jpeg_encoder_example' into 'master'
feat(jpeg): simplify encode example and add pytest coverage

See merge request espressif/esp-idf!49667
2026-06-20 22:49:24 +08:00
Samuel Obuch a555e67f0b fix(lp_core): fix build for CONFIG_ULP_NORESET_UNDER_DEBUG=n 2026-06-19 13:09:18 +02:00
Astha Verma 5f58bb5e5e fix(nimble): Added l2cap_coc throughput examples 2026-06-19 11:48:18 +05:30
Alexey Lapshin f4d87b69fd feat(soc): enable zb* extensions for esp32p4 greater v3 2026-06-19 11:54:44 +07:00
Martin Vychodil 2573bf3988 Merge branch 'feat/bdl_ioctl_checker' into 'master'
feat(esp_blockdev): add build-time ioctl command reservation overlap checker

Closes IDF-15799

See merge request espressif/esp-idf!49670
2026-06-19 12:40:28 +08:00
Renz Bagaporo 1fdd4c7258 fix(heap): reset alloc_stat before realloc lookup
Closes https://github.com/espressif/esp-idf/issues/18723
Closes https://github.com/espressif/esp-idf/pull/18724
2026-06-19 10:19:51 +09:00
Rahul Tank dd43cc3b7b Merge branch 'bugfix/fix_log_performance' into 'master'
fix(nimble): Gaurd ble_hs_log_mbuf/flat_buf against non-DEBUG log level

See merge request espressif/esp-idf!49653
2026-06-18 21:39:15 +05:30
Martin VychodilandCursor ddc9c5fc40 fix(test_build_system): require components in ioctl overlap checker tests
Wire esp_blockdev, comp_a, and comp_b into the test app dependency graph
so ioctl def files are registered and the POST_BUILD overlap checker runs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-18 15:57:04 +02:00
Frantisek Hrbata f2c3fd3966 feat(cmakev2): Export public API in the generated build system v2 reference
Promote the build system v2 functions and macros used by the
examples/build_system/cmakev2 examples to the generated API reference,
document the component-scope and version variables, the public build
properties, and the public component properties, and add cmakev2
build_property and component_property directives with dedicated Build
Properties and Component Properties sections to the esp-docs extension.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2026-06-18 14:48:26 +02:00
Mahavir Jain 3c40268442 Merge branch 'feat/psa_its_custom_backend' into 'master'
Support custom storage backend for persistent PSA keys

Closes IDF-15506

See merge request espressif/esp-idf!47106
2026-06-18 18:13:09 +05:30
Xu Si Yu 251d10f6d2 fix(openthread): use spi slave tx_length/rx_length and remove rx DMA bounce buffer 2026-06-18 19:21:52 +08:00
Mahavir Jain 2d95d621b7 Merge branch 'fix/fault-assert-volatile-survive' into 'master'
Make ESP_FAULT_ASSERT survive optimization

Closes IDF-15794

See merge request espressif/esp-idf!49644
2026-06-18 16:27:53 +05:30
Jiang Jiang Jian 8b2a97b6be Merge branch 'bugfix/fix_cache_access_error_in_wifi_interrupt' into 'master'
fix(wifi): fix cache access error in wifi interrupt with psram enabled

Closes WIFIBUG-1964 and WIFIBUG-1970

See merge request espressif/esp-idf!49645
2026-06-18 18:07:17 +08:00
Xu Si Yu 57ec08b1cf fix(openthread): replace all malloc calls with calloc to avoid hidden uninitialized memory issues 2026-06-18 17:57:53 +08:00
Island 982ba320db Merge branch 'fix/esp-ble-uart-bridge-opencode-demo-fix' into 'master'
feat(ble): add vibe_indicator support and fix OpenCode bridge for v1.17+

See merge request espressif/esp-idf!49779
2026-06-18 17:33:14 +08:00
Wang Meng Yang 63e9bfc9b8 Merge branch 'bugfix/ag_unknown_codec' into 'master'
fix(bt): skip unknown codecs when parsing AT+BAC

Closes BT-4384

See merge request espressif/esp-idf!49244
2026-06-18 17:22:03 +08:00
Jiang Jiang Jian 5a1adbfb1c Merge branch 'change/ble_update_lib_20260612' into 'master'
change(ble): [AUTO_MR] 20260612 - Update ESP BLE Controller Lib

Closes BLERP-2888

See merge request espressif/esp-idf!49605
2026-06-18 17:20:25 +08:00
jiminxiang 114fd4a9bc feat(ble): add vibe_indicator device support to OpenCode bridge
Detect and drive the display-only ble_uart_vibe_indicator sample alongside
the interactive MiaoBan companion device, and let multiple OpenCode instances
each bind their own indicator channel.

- plugin: after connect, probe the device over the daemon's generic /request
  path and classify it as vibe_indicator / generic / unknown — a vibe_indicator
  answers the indicator_count capability query, a 502 marks a generic device,
  and a transport failure stays unknown for retry on a later refresh. The daemon
  stays a generic transport and is unchanged; detection is a demo concern.
- plugin: route by device_type. The vibe_indicator mirrors OpenCode activity
  as four lamp states on its bound channel — executing (green blink),
  success (green solid), waiting-for-user (yellow solid, on permission
  prompts, decision left to the TUI), and error (red solid, on session.error
  and the following idle). Other devices keep the existing session.status /
  permission round-trip.
- plugin: add indicator_bind_channel / indicator_unbind_channel /
  indicator_show_binding tools. Each channel has at most one live owner:
  binding a channel owned by another running instance fails (force to take
  over), and stale claims are reclaimed via process-liveness checks. The
  per-directory binding is persisted and re-claimed across restarts
  (OPENCODE_BLE_BINDING_FILE).
- docs: document device detection, lamp effects, and channel binding.
2026-06-18 17:12:36 +08:00
Wu Zheng Hui 7e4773ef38 Merge branch 'feat/support_esp32s31_icg_control' into 'master'
feat(esp_hw_support): support PMU clock ICG management for esp32s31

Closes PM-760

See merge request espressif/esp-idf!48863
2026-06-18 16:21:32 +08:00
Wu Zheng Hui 344edcd13f Merge branch 'feat/skip_spinlock_in_sleep_process_thread_safe_area' into 'master'
feat:skip spinlock in sleep process thread safe context

Closes PM-779

See merge request espressif/esp-idf!49246
2026-06-18 15:57:32 +08:00
luoxu c0286b25fa feat(ble): reorganize log compression Kconfig and add ISO
Move sub-Kconfig files into categorized directories (profile/mesh/,
host/, iso/audio/) and create the missing ISO/Audio compression
Kconfig with COMPRESSION + PRESERVE pairs for all 4 log levels,
matching the existing cmake tag definitions.
2026-06-18 15:28:10 +08:00
luoxu 8d4f1cb608 fix(ble): fix Bluedroid log compression for newly added modules 2026-06-18 15:28:10 +08:00
luoxu d88b964c8d feat(ble): split log compression Kconfig into separate mesh and host files 2026-06-18 15:28:10 +08:00
Wang Meng Yang 371f92bf8a Merge branch 'bugfix/bbp_517' into 'master'
fix(bt/bluedroid): fixed possible OOB read in btc_a2dp_sink_handle_inc_media

Closes BT-4398

See merge request espressif/esp-idf!49673
2026-06-18 15:14:47 +08:00
Wang Meng Yang 3963be89f4 Merge branch 'bugfix/bbp_515' into 'master'
fix(bt/bluedroid): fixed possible OOB read/write in process_l2cap_cmd

Closes BT-4397

See merge request espressif/esp-idf!49672
2026-06-18 14:39:05 +08:00
zhuanghang 0dcb1e6a9f feat(802.15.4): avoid missing abort reason for multievents in 154 debug 2026-06-18 14:25:09 +08:00
Marius VikhammerandCursor d74d5959da test(ulp): check LP core apps avoid soft-float helpers
Inspect generated LP core ELF files so accidental floating-point helper linkage is caught in CI.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-18 14:08:14 +08:00
Renz Christian Bagaporo a6ff3c6a78 Merge branch 'fix/esp_psram_init_fix' into 'master'
fix(esp_psram): repeated call to init should return invalid state error

Closes IDFGH-17814

See merge request espressif/esp-idf!49784
2026-06-18 13:34:58 +08:00
morris 7cd2fd4cde Merge branch 'feat/avoid_using_esp_private_feature_in_examples' into 'master'
refactor(examples): avoid using esp_private headers in examples

See merge request espressif/esp-idf!49756
2026-06-18 13:30:43 +08:00
harshal.patil d6f41cac35 feat(mbedtls/psa_esp_rsa_ds): Expose persistent key buffer format/parse helpers 2026-06-18 09:42:54 +05:30
harshal.patil 505bab1267 feat(examples/security): Add example to demonstrate the usage of custom key storages with PSA 2026-06-18 09:42:54 +05:30
harshal.patil 3494df8c85 feat(mbedtls): Support custom storage backend for persistent PSA keys 2026-06-18 09:37:15 +05:30
Mahavir Jain bf51d194fe Merge branch 'update/update_cmn_crt_authorities_csv' into 'master'
Update common cert authorities csv

See merge request espressif/esp-idf!49372
2026-06-18 09:30:11 +05:30
Marius VikhammerandCursor dd5533e911 fix(ulp): use RC_FAST approximation for LP core fallback
Use the shared SoC RC_FAST approximation when the target has no RTC_FAST source option.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-18 11:58:40 +08:00
Marius VikhammerandCursor 7b1da65f95 fix(ulp): use SoC RC_FAST frequency for LP core delay
Use the target RC_FAST approximation for LP core delay conversion.
This prevents ESP32-S31 from under-delaying when running from RC_FAST.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-18 11:46:23 +08:00
Renz Bagaporo ccce50a254 fix(esp_psram): repeated call to init should return invalid state error
Closes https://github.com/espressif/esp-idf/issues/18722
2026-06-18 12:42:38 +09:00
zhiweijian f1d9c994d2 feat(bt/ble_uart): Support ble uart more interfaces
- Added tagged event API (ble_uart_evt_t / on_event)
- Added bond management APIs
- Supported custom adv_data / scan_rsp_data
- Validate device_name length synchronously
- Added ble_uart_close_async() and EVT_CLOSED
- Added granular security config (security struct)
- Supported Passkey Entry and Numeric Comparison
2026-06-18 11:13:02 +08:00
Zhou Xiao de87877f39 fix(ble): fix OpenCode BLE UART bridge plugin for v1.17+ compatibility
- Add type assertion for event.type to bypass strict TS compilation errors
- Accept both 'permission.asked' and 'permission.updated' event types
- Add normalizePermissionEvent() to handle internal vs SDK event property
  format differences (pattern vs patterns, type vs permission fields)
- Add RawPermissionEvent type for loose event property parsing
- Add troubleshooting section and subdirectory auto-loading note to README
2026-06-18 11:03:18 +08:00
morris 3b5f3bb672 refactor(peripherals): avoid using esp private feature in examples 2026-06-18 10:34:25 +08:00
Gao Xu 3b3b62adee Merge branch 'ci/move_adc_runner_to_generic' into 'master'
ci(adc): move all ADC runners to generic

See merge request espressif/esp-idf!49581
2026-06-18 10:32:02 +08:00
gaoxu b856c54e38 ci(adc): remove ADC runner and move ADC tests to generic 2026-06-18 09:45:09 +08:00
wuzhenghui bbfde331f1 fix(esp_hw_support): fix s31 sleep CPU retention state atomic declaration 2026-06-18 09:41:41 +08:00
wuzhenghui 0c7caf79b5 feat(esp_hw_support): implement software CPU retention synchronization for SMP sleep modes 2026-06-18 09:41:41 +08:00
wuzhenghui d4e3109c1b feat(esp_hw_support): claim thread-safe in sleep process to avoid deadlock and fastup process 2026-06-18 09:41:41 +08:00
wuzhenghui 90f6eeb327 feat(freertos): introduce thread-safe context management functions 2026-06-18 09:41:39 +08:00
Alexey Lapshin e389f3e4df Merge branch 'feature/upgrade_toolchain_to_16.1.0_20260609' into 'master'
Upgrade GNU toolchain to 16.1.0_20260609

See merge request espressif/esp-idf!49523
2026-06-18 00:55:07 +04:00
Meet Patel d72bdfedc9 fix(ulp): force SW channel control in ULP-RISC-V ADC read
On ESP32-S2/S3 the ULP-RISC-V ADC shares the RTC SAR controller with the
main CPU. ulp_adc_init() sets sar1_en_pad_force = 1 so software selects
the channel, but deep-sleep entry resets it to 0 (ULP/HW control). After
that, the per-read channel selection in ulp_riscv_adc_read_channel() is
ignored and every channel returns the same stale value. Single-channel
worked only because the channel never changed.

Re-assert RTC controller (sar1_en_pad_force = 1) before selecting the
channel on each read so multi-channel sampling works after deep sleep.
2026-06-17 21:57:10 +05:30
Jiang Jiang Jian a602e67b0b Merge branch 'feat/update_s31_wifi_lower_power' into 'master'
feat: update_s31_wifi_low_power

See merge request espressif/esp-idf!49753
2026-06-17 20:06:56 +08:00
Jiang Jiang Jian 41a7095015 Merge branch 'feat/support_usb_wakeup_from_light_sleep' into 'master'
feat: support usb wakeup from light sleep

Closes IDF-7212

See merge request espressif/esp-idf!48988
2026-06-17 19:50:11 +08:00
harshal.patil 6b417e9d47 fix(esp_common/esp_fault): make ESP_FAULT_ASSERT survive optimization
ESP_FAULT_ASSERT(C) was silently deleted by the optimizer when C is a cached
flag/status already proven by a preceding `if (!C) return/goto`: the compiler
folds C to a constant and drops all three checks, removing the fault-injection
protection with no warning.
2026-06-17 16:45:29 +05:30