Commit Graph
35642 Commits
Author SHA1 Message Date
Martin Vychodil 8240eea180 fix(fatfs): Fixed VFS adapter early return paths 2026-04-07 13:12:42 +02:00
Zhou Xiao a9b93ca0e5 fix(ble_log): ensure BLE Log IRAM functions are placed in IRAM on ESP32C2
On ESP32C2 with BT_CTRL_RUN_IN_FLASH_ONLY, the bt_default linker scheme
routes .iram1 sections to flash_text, causing BLE_LOG_IRAM_ATTR functions
to end up in flash instead of IRAM. Define a dedicated .ble_log_iram1
section for ESP32C2 and route it to iram0_bt_text unconditionally.
2026-04-07 19:02:14 +08:00
Martin Vychodil 26ceedb5f8 fix(fatfs): Fixed uninitialized FATFS pointer for already mounted path 2026-04-07 12:08:49 +02:00
Martin Vychodil 23298ce2df Merge branch 'feature/fatfs_bdl' into 'master'
feat(fatfs): Add BDL support to FatFS component

Closes IDF-13492

See merge request espressif/esp-idf!46864
2026-04-07 17:49:25 +08:00
Rahul Tank b1050c5a9e fix(nimble): Fix DTM test end packet count parsing 2026-04-07 14:56:00 +05:30
armando 61eb179368 feat(cache): support cache msync driver and cache panic driver 2026-04-07 07:48:45 +00:00
Zhou Xiao 59536316c9 fix(ble_log): improve robustness with atomics, macro hygiene, and IRAM
- Use __atomic_fetch_add for stat_mgr counters to prevent lost updates
  under concurrent ISR/task access (H1)
- Use __atomic_load_n with ACQUIRE ordering for ref_count spin-loops (L1)
- Remove unnecessary BLE_LOG_IRAM_ATTR from ble_log_rt_task since it
  calls flash-resident functions and cannot run during flash ops (L3)
- Add parentheses to BLE_LOG_TRANS_FREE_SPACE and BLE_LOG_MAKE_FRAME_META
  macro parameters to prevent operator precedence bugs (M6)
2026-04-07 15:31:50 +08:00
Zhou Xiao 1275b78ad6 fix(ble_log): fix deinit race and concurrent flush deadlock
- Reorder deinit: stop RT task before destroying peripheral driver to
  prevent sending transports to a NULL dev_handle on dual-core (H2)
- Drain remaining queue items in rt_deinit to clean up transport state
- Add atomic flush_in_progress guard to prevent two concurrent
  ble_log_flush() callers from deadlocking on ref_count spin-wait (H5)
2026-04-07 15:31:40 +08:00
Zhou Xiao 3f8cfc5b1d fix(ble_log): fix crash and resource issues in peripheral drivers
- Handle scheduler-suspended and ISR context in UART redirect path
  to prevent xSemaphoreTake crash during light sleep (C1)
- Check uart_driver_install return value before setting inited flag (M1)
- Always clean up SPI device handle in deinit even if acquire_bus fails (M4)
2026-04-07 15:31:32 +08:00
Zhou Xiao 92979706d7 fix(ble_log): handle scheduler-suspended state in ble_log_rt_queue_trans
During light sleep transitions, the FreeRTOS scheduler is suspended but
xPortInIsrContext() returns false, causing xQueueSend with portMAX_DELAY
to hit a configASSERT. Add a check for taskSCHEDULER_SUSPENDED and use
a non-blocking send with rollback on queue-full to avoid resource leaks.
2026-04-07 15:15:31 +08:00
houhaiyan 033b1ff7ce feat(esp32p4): add H264 REGDMA link and sleep retention module 2026-04-07 14:47:46 +08:00
morris 43bc8c2fe5 feat(etm): add ETM LL and GPIO ETM support on esp32s31
Enable ETM caps and add S31 ETM/GPIO LL and retention support for
GPTimer ETM builds.
2026-04-07 14:47:36 +08:00
Igor Udot 953c40c9aa Merge branch 'fix/remove_useless_ci_config_mspi' into 'master'
fix(mspi): removed useless ci config

See merge request espressif/esp-idf!47311
2026-04-07 14:36:48 +08:00
Zhang Wen Xu 0ae2a23090 Merge branch 'feat/update_h4_etm_reg_for_154' into 'master'
feat(802.15.4): update h4 etm reg for 154

See merge request espressif/esp-idf!47086
2026-04-07 06:29:44 +00:00
Island ac588e91b0 Merge branch 'ble_dev/esp32h4eco1_chip_20260403_iso' into 'master'
fix(ble): support ble iso for esp32h4 eco1

Closes IDF-12243 and IDF-12248

See merge request espressif/esp-idf!47260
2026-04-07 14:28:31 +08:00
Armando (Dou Yiwen) cc3808e3fe fix(mspi): removed useless ci config
Signed-off-by: Armando (Dou Yiwen) <douyiwen@espressif.com>
2026-04-07 13:32:42 +08:00
Martin Vychodil 7043fb0d14 feat(fatfs): Added BDL support to FatFS component 2026-04-07 07:11:21 +02:00
Laukik Hase 145ba4c42d fix(esp_tee): Add missing input validation checks for TEE service calls
- MULTI_HEAP_ASSERT for TEE now aborts on failure, instead of ignoring the condition
- Prevent potential TEE OTA write bounds overflow
2026-04-07 10:05:06 +05:30
Marius Vikhammer 6ab1721056 Merge branch 'feature/esp_timer_s31' into 'master'
test(esp_timer): enable ESP32-S31 target tests

Closes IDF-14693

See merge request espressif/esp-idf!47270
2026-04-07 11:01:50 +08:00
morris 0b4e08c0a6 Merge branch 'fix/fixed_esp32h4_kconfig_issue' into 'master'
fix(ble): fixed esp32h4 kconfig CI warning

See merge request espressif/esp-idf!47280
2026-04-07 10:38:35 +08:00
Marius Vikhammer a4b817d0fe fix(cpu): fix CSR_PRV_MODE not defined for S31 2026-04-07 09:37:39 +08:00
Marius Vikhammer 63d18fad59 test(esp_hw_support): add esp_cpu api test app
Add a dedicated esp_cpu test app that covers the supported helper APIs,
interrupt helpers, debug helper validation, and destructive trigger cases.

Made-with: Cursor
2026-04-07 09:37:39 +08:00
Martin Vychodil 4eb97bb84d Merge branch 'feature/bdl_nand_extensions' into 'master'
feat(esp_blockdev): Updated BDL documentation

Closes IDF-15513

See merge request espressif/esp-idf!47192
2026-04-04 19:50:14 +08:00
morris 1333ca8d17 Merge branch 'feat/gdma_intr_priority' into 'master'
feat(gdma): expose interrupt priority as a configurable option

Closes IDF-7968

See merge request espressif/esp-idf!47187
2026-04-03 23:02:53 +08:00
ShenWeilong 583a8c441d fix(ble): fixed esp32h4 kconfig CI warning 2026-04-03 21:31:26 +08:00
Island d227dc7f23 Merge branch 'bugfix/fix_privacy_callback_trigger_multipe_times' into 'master'
Bugfix/fix privacy callback trigger multiple times

See merge request espressif/esp-idf!47205
2026-04-03 20:35:47 +08:00
Wang Meng Yang bb597ede48 Merge branch 'bugfix/btm_sec_free_dev' into 'master'
fix(bt): avoid deleting device record on partial transport cleanup

Closes BT-4248

See merge request espressif/esp-idf!45753
2026-04-03 19:18:13 +08:00
Island 51bbd5257a Merge branch 'dev/ble-log-202603' into 'master'
dev: BLE Log 202603

See merge request espressif/esp-idf!46934
2026-04-03 18:10:47 +08:00
wangjialiang ca8354932c fix(ble): support ble iso for esp32h4 eco1 2026-04-03 17:11:04 +08:00
Marius Vikhammer b057a76d28 test(esp_timer): enable ESP32-S31 target tests 2026-04-03 16:11:41 +08:00
Rahul Tank 57102610a0 Merge branch 'bugfix/gatts_stop_null_conn_aware_states' into 'master'
fix(nimble): fix null dereference of ble_gatts_conn_aware_states after gatts stop

Closes BLERP-2624

See merge request espressif/esp-idf!46454
2026-04-03 12:37:38 +05:30
Armando (Dou Yiwen) bb941df032 Merge branch 'feat/psram_100m' into 'master'
psram: support psram 100mhz

Closes IDF-15524

See merge request espressif/esp-idf!47249
2026-04-03 06:20:33 +00:00
C.S.M f7031990f2 Merge branch 'ci/enable_s31_target_test' into 'master'
ci(esp32s31): Add ci target test for esp32s31

Closes IDF-14694

See merge request espressif/esp-idf!47208
2026-04-03 13:23:47 +08:00
Astha Verma 3b0cfa5970 fix(nimble): fix null dereference of ble_gatts_conn_aware_states after gatts stop 2026-04-03 10:14:03 +05:30
Alexey Lapshin a1cbc20a91 feat(bootloader): split linker scripts into memory and sections
Replaced per-target bootloader.ld.in with bootloader.memory.ld.in and
bootloader.sections.ld.in.

Common code moved to file bootloader.sections.common.ld

Unify ESP32-P4 ECO4- and ECO4+ linker scripts into one shared script
Revision-specific code is selected with CONFIG_ESP32P4_SELECTS_REV_LESS_V3
2026-04-03 11:40:33 +07:00
Mahavir Jain b3bb9a2a91 Merge branch 'fix/fix_esp_local_ctrl_potential_double_free' into 'master'
fix(esp_local_ctrl): fixes a potential double free

See merge request espressif/esp-idf!46953
2026-04-03 09:36:48 +05:30
C.S.M 152b5ccb4c ci(esp32s31): Add ci target test for esp32s31 2026-04-03 11:38:45 +08:00
Song Ruo Jing 8f0e59fadf Merge branch 'feature/esp32s31_clock_support' into 'master'
feat(clk): support for esp32s31 clock tree

Closes IDF-14696 and IDF-14871

See merge request espressif/esp-idf!47048
2026-04-03 11:04:42 +08:00
Armando (Dou Yiwen) b533c6750e Merge branch 'feat/mmu_s31' into 'master'
mmu: s31 support for external mmu

Closes IDF-14669

See merge request espressif/esp-idf!47133
2026-04-03 02:42:20 +00:00
Island a6acf48f33 Merge branch 'ble_dev/esp32h4eco1_chip_20260326' into 'master'
feat(ble): added ble support for esp32h4 eco1

See merge request espressif/esp-idf!47100
2026-04-03 10:31:23 +08:00
armando 37e7808223 feat(psram): support psram 100mhz 2026-04-03 10:01:31 +08:00
Roland Dobai 6c6b1b8ae3 Merge branch 'feat/adopt_fast_reflashing' into 'master'
feat(idf_py): idf.py flash will reflash only changed data sectors by default

Closes IDF-11871

See merge request espressif/esp-idf!45542
2026-04-02 19:37:27 +02:00
Song Ruo Jing 50051b74a5 feat(clk): support for esp32s31 clock tree 2026-04-02 20:39:59 +08:00
Xu Si Yu 310e3caf31 Merge branch 'fix/fix_ot_cli_loop' into 'master'
fix(openthread): avoid ot_cli_loop busy loop by using select-based linenoise read

See merge request espressif/esp-idf!47091
2026-04-02 19:55:39 +08:00
Guillaume Souchere 25cb4d0196 Merge branch 'feat/esp-system-linux-support-update' into 'master'
feat(esp_system): Add linux support for freertos hooks and system init function

See merge request espressif/esp-idf!46570
2026-04-02 11:31:42 +02:00
Radim Karniš 38d37e5e9f feat(idf_py): idf.py flash will reflash only changed data sectors by default
idf.py flash -a is introduced to trigger a flash of all data (not just changed sectors).
2026-04-02 10:59:30 +02:00
Jiang Jiang Jian 03f7eba27a Merge branch 'bugfix/scan_issue_wpa3_enterprise' into 'master'
fix(wifi): forbid TKIP cipher suites for WPA3-Enterprise scan results

Closes WIFIBUG-949 and WIFIBUG-1813

See merge request espressif/esp-idf!45336
2026-04-02 16:58:49 +08:00
Radim Karniš c62515671d change(build): Rename Fast reflashing configuration to Minimize binary changes, make non-experimental 2026-04-02 10:53:32 +02:00
Island 5ad07fe0f3 Merge branch 'bugfix/fix_ble_pair_fail' into 'master'
fix(bt/bluedroid): fix BLE SMP pairing failure on BLE-only devices when using defalut param

Closes BLERP-2672

See merge request espressif/esp-idf!47167
2026-04-02 15:49:37 +08:00
Song Ruo Jing 7606db9e62 Merge branch 'refactor/ledc_ll_ng' into 'master'
refactor(ledc): refactored some LEDC LL functions

See merge request espressif/esp-idf!47191
2026-04-02 15:18:41 +08:00