Commit Graph

53327 Commits

Author SHA1 Message Date
Island
bf08ef8b50 Merge branch 'feat/ble_log_compression_module_cfg_update' into 'master'
Feat/ble log compression module cfg update

See merge request espressif/esp-idf!48467
2026-06-22 14:15:26 +08:00
Marius Vikhammer
ecd0b36adb Merge branch 'fix/lp-core-rc-fast-delay' into 'master'
fix(ulp): use SoC RC_FAST frequency for LP core delay

Closes IDFCI-10618

See merge request espressif/esp-idf!49797
2026-06-22 14:00:28 +08:00
Meet Patel
a75231d458 Merge branch 'feat/ulp_adc_multi_channel' into 'master'
feat(ulp): add multi-channel ADC init for ULP

Closes IDFGH-9831 and IDF-15815

See merge request espressif/esp-idf!49671
2026-06-22 10:09:16 +05:30
Kapil Gupta
fb14a3e7f4 Merge branch 'bugfix/mbedtls_rsa_base_reduction_hw_crt' into 'master'
fix(mbedlts): Enable hardware CRT for RSA-4096 via base reduction

Closes WIFIBUG-1789

See merge request espressif/esp-idf!49641
2026-06-21 09:59:18 +05:30
Kapil Gupta
66752f0942 fix(mbedtls): Fix cached Rinv size mismatch under private exponent blinding
Prevent signature verification failures on targets that do not round hardware words
to 16-word boundaries (e.g. ESP32-S3, ESP32-C6, and ESP32-P4), where exponent blinding
can cause `num_words` to vary between calls, leading to reuse of an incorrectly sized
cached `Rinv`.
2026-06-21 09:29:49 +05:30
Kapil Gupta
cf7a80aa01 fix(mbedtls): Enable hardware CRT for RSA-4096 via base reduction
Perform modulo reduction on the base before size checks to allow RSA-4096
CRT (2048-bit exponentiations) to use the hardware accelerator instead of
falling back to software. Fix input validation, negative zero sign issues,
and early memory cleanup paths in esp_mpi_exp_mod()
2026-06-21 09:29:37 +05:30
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
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
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 Vychodil
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
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
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
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
Marius Vikhammer
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 Vikhammer
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 Vikhammer
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
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
Island
ed750fc647 Merge branch 'idf/ble_audio_docs_misc_update' into 'master'
docs(ble_audio): Adopt SIG product name and add LE Audio API guide entry

See merge request espressif/esp-idf!49577
2026-06-17 18:50:43 +08:00
Jan Beran
fa61d8c902 Merge branch 'fix/remove-menuconfig-curses' into 'master'
Cleanup after dropping curses from menuconfig

See merge request espressif/esp-idf!48246
2026-06-17 18:24:53 +08:00
Alexey Lapshin
00ec8187b4 feat(build): add COMPILER_CXX_TRIVIAL_AUTO_VAR_INIT to keep C++26 behavior after toolchain upgrade 2026-06-17 17:24:25 +07:00