1243 Commits

Author SHA1 Message Date
Marius Vikhammer 5f4161b710 Merge branch 'feature/lockup_debug' into 'master'
feat(esp_system): add CPU lockup debug support for esp32h4 and esp32s31

See merge request espressif/esp-idf!47630
2026-04-22 17:52:36 +08:00
Marius Vikhammer 8e2b416c38 feat(esp_system): add CPU lockup debug support for esp32h4 and esp32s31 2026-04-22 11:11:02 +08:00
Marius Vikhammer 1af2cc08bb Merge branch 'feature/ulp_esp32s31' into 'master'
feat(ulp): add support for ulp on esp32s31

Closes IDF-14640

See merge request espressif/esp-idf!47268
2026-04-20 19:19:35 +08:00
Marius Vikhammer 10637dbf5e feat(ulp): add support for ulp on esp32s31 2026-04-20 14:45:23 +08:00
C.S.M 92fb47524f Merge branch 'feat/flash_support_s31' into 'master'
feat(spi_flash): Add spi_flash support for esp32s31

Closes IDF-14652, IDF-14777, and IDF-14778

See merge request espressif/esp-idf!47627
2026-04-20 10:57:59 +08:00
Xorlent 51d059232b Fix output bit range in bitscrambler documentation
Destination bit range incorrect in `Sub-instructions` example
2026-04-17 17:20:28 +08:00
C.S.M e678d76251 feat(brownout): Add brownout support for esp32h4 2026-04-16 16:21:17 +08:00
Alexey Lapshin 1735ec860d Merge branch 'feat/refactor_bootloade_linker_scripts' into 'master'
feat(bootloader): split linker scripts into memory and sections

Closes IDF-14119

See merge request espressif/esp-idf!47250
2026-04-08 16:47:14 +04:00
morris ae8acf82e7 feat(rmt): enable RMT support on esp32s31
Enable esp32s31 RMT caps and clock source definitions for
esp_driver_rmt.

Add esp32s31 RMT LL/periph hooks, sleep retention metadata, and RMTMEM
linker symbol.
2026-04-08 10:17:10 +08:00
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
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
Song Ruo Jing 50051b74a5 feat(clk): support for esp32s31 clock tree 2026-04-02 20:39:59 +08:00
Konstantin Kondrashov 545f9522a9 Merge branch 'feature/update_efuse_table_esp32h4' into 'master'
feat(efuse): Update efuse table for ESP32-H4

Closes IDF-12322

See merge request espressif/esp-idf!47181
2026-04-01 21:20:08 +03:00
Mahavir Jain 1a4ad657be Merge branch 'docs/update_doc_for_fe_dev_mode_to_release_mode_transition' into 'master'
docs: added guide to transit from dev mode to release mode of FE

Closes IDF-15376

See merge request espressif/esp-idf!45919
2026-04-01 19:08:00 +05:30
Konstantin Kondrashov 8701705ec3 feat(efuse): Update efuse table for ESP32-H4 2026-04-01 16:15:45 +03:00
Frantisek Hrbata 32d31d72a3 Merge branch 'feat/cmakev2_bootloader' into 'master'
feat(cmakev2): build bootloader using the cmakev2 build system

Closes IDF-15433

See merge request espressif/esp-idf!46465
2026-04-01 10:29:05 +02:00
nilesh.kale f43d0dbadc docs: added guide to transit from dev mode to release mode of FE 2026-04-01 13:55:12 +05:30
armando 2b582796d3 feat(mmu): s31 support 2026-04-01 11:49:22 +08:00
armando 4bea0ccb22 fix(cache): fixed cache sys clk not on issue 2026-03-31 15:58:27 +08:00
armando ebbd9cdb59 feat(psram): support psram device driver 2026-03-31 13:56:43 +08:00
Marius Vikhammer 735f2e2e19 fix(bootloader): keep esp32s31 cache path clocks enabled
Keep the ESP32-S31 cache/MSPI clock path ungated during boot so the
bootloader avoids random illegal-instruction failures while the hardware
issue is still under investigation.

Made-with: Cursor
2026-03-30 17:35:33 +08:00
C.S.M edc387e571 Merge branch 'feat/bod_bringup_h21' into 'master'
feat(bod): Add support for bod on esp32h21

Closes IDF-11530

See merge request espressif/esp-idf!46812
2026-03-30 10:59:33 +08:00
Fu Hanxi 12cc3a92af Merge branch 'feat/parametrize-pytest-cli-args' into 'master'
ci: move test cli args alongside test scripts

Closes IDFCI-1951 and IDFCI-2940

See merge request espressif/esp-idf!46966
2026-03-28 08:04:25 +01:00
Frantisek Hrbata 9204ed63e0 fix(bootloader_support/cmake): initialize priv_include_dirs variable
For the bootloader build, the `priv_include_dirs` variable is
uninitialized, but it is used in the common call to
`idf_component_register`.

Using uninitialized variables is not allowed in cmakev2 because a
component may be evaluated in the context of another component’s
variable scope.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2026-03-27 19:18:11 +08:00
Fu Hanxi ddc7e0cdf7 ci: move qemu test cli args alongside test scripts
remove redundant host_test marker
2026-03-26 10:56:15 +01:00
Song Ruo Jing 7b1d576416 Merge branch 'feature/esp32s31_regi2c_support' into 'master'
feat(regi2c): add support for ESP32S31

Closes IDF-14680

See merge request espressif/esp-idf!46469
2026-03-26 17:31:13 +08:00
C.S.M f491e94863 feat(bod): Add support for bod on esp32h21 2026-03-25 19:38:20 +08:00
Song Ruo Jing 7cbafcf1c6 feat(regi2c): add support for ESP32S31 2026-03-25 16:17:12 +08:00
hebinglin 474d89b4c2 fix(clk): update H21 ECO1 to use 64MHz clock for mspi 2026-03-25 15:38:49 +08:00
Meet Patel c4e2fe2c8b refactor(system): guard WDT with SoC capability macros
Wrap MWDT-related code under SOC_WDT_SUPPORTED so targets without a main
watchdog can compile.

Add SOC_RTC_WDT_SUPPORTED for RTC watchdog usage (bootloader, slow-clock
paths) and regenerate Kconfig.soc_caps.in. Bootloader RWDT setup stays
under SOC_RTC_WDT_SUPPORTED; MWDT flashboot teardown stays under
SOC_WDT_SUPPORTED.

ESP_INT_WDT, ESP_TASK_WDT_EN, and BOOTLOADER_WDT_ENABLE depend on
SOC_WDT_SUPPORTED where applicable. Build xt_wdt.c only when
SOC_XT_WDT_SUPPORTED. Provide no-op panic WDT helpers when
SOC_WDT_SUPPORTED is disabled.
2026-03-24 14:57:43 +05:30
Marius Vikhammer 655d7a0c79 Merge branch 'bugfix/s31_system_chip_back' into 'master'
fix(esp32s31): fix super WDT reset and systimer hang during startup

See merge request espressif/esp-idf!46701
2026-03-19 10:37:55 +08:00
Marius Vikhammer e8ba294bd2 fix(bootloader): enable super WDT auto-feed on ESP32-S31
The super WDT was firing during bootloader init because auto-feed was
not enabled, causing continuous resets with rst:0x12 (SUPER_WDT_RESET).

Made-with: Cursor
2026-03-17 15:41:14 +08:00
armando c60ed4b338 fix(spm): rename scp (scratchpad) to spm (scratchpad memory) 2026-03-17 01:29:34 +00:00
armando c96f69faef change(mem): deprecated tcm and added scp memory utils 2026-03-11 11:18:15 +08:00
Song Ruo Jing 600bf5b6d7 refactor(esp_hal_regi2c): move regi2c implementation from esp_rom to esp_hal_regi2c 2026-03-10 15:08:51 +08:00
Mahavir Jain d8df5d32fe Merge branch 'fix/add_ecdsa_curve_validation_during_secure_boot' into 'master'
fix(bootloader_support): added ecdsa curve validation during secure boot

See merge request espressif/esp-idf!46022
2026-03-04 15:38:55 +05:30
nilesh.kale 10cbacfb19 fix(bootloader_support): added ecdsa curve validation during secure boot
This commit added ECDSA key curve validation between
curve selected in menuconfig and key provided.
2026-03-03 12:53:27 +05:30
Marius Vikhammer 52952535bc feat(esp32s31): Add watchdog timer support
Made-with: Cursor
2026-03-02 10:16:38 +08:00
Wu Zheng Hui ad1f0f870b Merge branch 'feat/support_esp32s31_pmu_basic' into 'master'
feat(esp_hw_support): support esp32s31 pmu basic

Closes IDF-14642

See merge request espressif/esp-idf!45494
2026-02-24 14:11:27 +08:00
Sudeep Mohanty 01b6effcbe fix(bootloader_support): Require micro-ecc only for BOOTLOADER_BUILD
When CONFIG_APP_BUILD_TYPE_RAM is set (loadable ELF app build),
bootloader_support was adding micro-ecc to priv_requires. The micro-ecc
component lives in the bootloader subproject and is not available in
normal app builds with cmakev2, causing component resolution to fail
when built for a build system v2 project.

micro-ecc is only needed for secure boot sources built under
BOOTLOADER_BUILD (secure_boot_signatures_bootloader.c). For app builds
with CONFIG_APP_BUILD_TYPE_RAM we do not build those sources, so
only add micro-ecc to priv_requires when BOOTLOADER_BUILD is set.
2026-02-18 10:25:35 +01:00
Mahavir Jain aa471598cf Merge branch 'contrib/github_pr_18229' into 'master'
fix(bootloader): prevent unsigned overflow in partition table validation (GitHub PR)

Closes IDFGH-17230

See merge request espressif/esp-idf!45839
2026-02-12 17:45:38 +05:30
wuzhenghui 0b27301a09 feat(soc): support esp32s31 lp_aon & rtc_wdt & rtc_timer 2026-02-11 15:03:35 +08:00
Eun0us fc29190dba fix(bootloader): prevent unsigned overflow in partition table validation
The bounds check `pos->offset + pos->size > chip_size` can silently
wrap around when both offset and size are large uint32_t values,
bypassing the validation entirely.

Use `pos->size > chip_size - pos->offset` instead, which is safe
because pos->offset <= chip_size is already verified by the first
condition in the same expression.

Found via https://github.com/Eun0us/esp-fuzzer
2026-02-10 19:11:59 +01:00
Chen Ji Chang 7a8a5d8852 Merge branch 'test/parlio_flash_enc_test' into 'master'
test(parlio,rmt,lcd): add virtual flash encryption test

Closes IDF-15064, IDF-15065, and IDF-15069

See merge request espressif/esp-idf!45006
2026-02-06 19:26:22 +08:00
Chen Jichang b8c527a87c refactor(flash_enc): move esp_flash_encryption_enabled() to efuse component 2026-02-05 11:42:08 +08:00
C.S.M 879d74e298 fix(spi_flash): Fix esp32p4 120m flash suspend failed 2026-02-04 11:42:35 +08:00
wuzhenghui cf3c8cb77c feat(esp_hw_support): hold MSPI pins in pd_top lightsleep 2026-01-28 19:49:46 +08:00
wuzhenghui aaeec3228d fix(bootloader): fix bootloader bad spi pin drv config and clear all wpu/wpd by default 2026-01-28 19:49:46 +08:00
Michael (XIAO Xufeng) 5984b29af5 Merge branch 'refactor/spi_flash_private' into 'master'
refactor(spi_flash): reorganize header files, improve encapsulation and simplify ROM implementation

See merge request espressif/esp-idf!44347
2026-01-28 17:39:51 +08:00