636 Commits

Author SHA1 Message Date
Marius Vikhammer 4d18240744 fix(esp_intr_dump): sync esp32s31 expected output
Keep the esp32s31 fixture aligned with the assist_debug reservation on interrupt 27.
2026-04-16 11:35:43 +08:00
Alexey Gerenkov 8c4897f62e Merge branch 'fix/coredump_fake_stack_range' into 'master'
fix(coredump): fix fake stack address range overlapping esp32s31 DRAM

Closes IDFCI-10393, IDFCI-10395, IDFCI-10396, IDFCI-10405, IDFCI-10402, IDFCI-10401, IDFCI-10403, IDFCI-10389, IDFCI-10406, IDFCI-10390, IDFCI-10391, IDF-14673, and IDF-14675

See merge request espressif/esp-idf!47480
2026-04-13 23:13:26 +08:00
nilesh.kale a6a2696972 fix(cpu_region_protect): set DROM mask PMP entry to read-only
PMP entry 3 (SOC_DROM_MASK_HIGH, TOR mode) in the memprot path
was incorrectly granted RW permission on esp32h21 and esp32c61.
The mask ROM data region is inherently read-only; remove the W bit.

Also added necessary tests to check voilations and re-enabled
tests for ESP32P4
2026-04-13 10:27:58 +05:30
Erhan Kurubas 54287a574b test(panic): update multi-core target list in panic_dut 2026-04-10 19:58:56 +02:00
Erhan Kurubas 85a717f0a3 Merge branch 'esp32s31-assist-debug' into 'master'
feat(esp32s31): add assist_debug stack monitoring support

See merge request espressif/esp-idf!47282
2026-04-10 19:58:21 +02:00
Marius Vikhammer c1e5a95755 Merge branch 'ci/panic_tests_p4_s31' into 'master'
test(system): enable panic tests for P4 and S31

Closes IDF-14348

See merge request espressif/esp-idf!47442
2026-04-10 15:03:39 +08:00
Marius Vikhammer c216628442 test(system): enable panic tests for P4 and S31 2026-04-10 08:35:25 +08:00
Erhan Kurubas f6ae009f40 feat(esp32s31): add assist_debug stack monitoring support 2026-04-09 21:20:51 +08:00
Alexey Lapshin 08b423a06b feat(soc): ESP32-S31: enable SOC_ASYNCHRONOUS_BUS_ERROR_MODE
- Enable SOC_ASYNCHRONOUS_BUS_ERROR_MODE to correct MEPC value when debugging.
- Enable gdbstub test_hwloop_jump and test_coproc_registers
2026-04-09 10:39:17 +08:00
Marius Vikhammer 82c1f71d96 ci(esp_intr_dump): add expected output for esp32s31 2026-04-08 09:43:21 +08:00
C.S.M 152b5ccb4c ci(esp32s31): Add ci target test for esp32s31 2026-04-03 11:38:45 +08:00
Fu Hanxi e93cda6391 Merge branch 'ci/apply-idf-ci-1.x' into 'master'
ci: upgrade idf-ci to 1.x

Closes CII-108

See merge request espressif/esp-idf!46623
2026-03-30 19:31:53 +02:00
Fu Hanxi 9ecd3ecad4 ci: apply idf-ci 1.x 2026-03-27 15:12:31 +01: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
Marius Vikhammer 25a2747dfd ci: restore runnable pytest configs
Use real CI config names and minimal config aliases so these tests are
collected and built again instead of silently being skipped.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Made-with: Cursor
2026-03-16 13:45:26 +08:00
Evgeny Torbin d0f062c018 ci: remove unused test cases 2026-03-12 12:02:10 +01: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
Ivan Grokhotkov cb4b3da877 Merge branch 'feature/add-api-compatibility-ci-job' into 'master'
ci: add API compatibility check job for merge requests

Closes IDF-8483

See merge request espressif/esp-idf!45963
2026-03-09 09:12:50 +01:00
Ivan Grokhotkov (bot) 20b9e06e92 ci: add API compatibility check job for merge requests
Add a check_api_compatibility CI job that uses esp-api-check to detect
breaking API changes in merge requests. The job compares API
declarations between the MR base and head commits using libclang, and
posts a discussion thread on the MR if WARNING or BREAKING changes are
found.

- Add CI job in host-test.yml with clang toolchain and allow_failure
- Add test_api_check project for CMake configuration with all
  components enabled
- Define __DOXYGEN__ and IDF_DOC_BUILD so the checker can see
  declarations behind these guards

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 17:12:40 +01:00
Alexey Lapshin 867f0303a5 Merge branch 'feature/gdbstub_support_watchpoint_reason' into 'master'
feat(esp_gdbstub): support watchpoint trigger reason

Closes IDF-7306

See merge request espressif/esp-idf!45938
2026-03-02 12:26:32 +04:00
Alexey Lapshin cba0956463 feat(esp_gdbstub): support watchpoint trigger reason 2026-02-18 12:17:12 +07:00
Alexey Lapshin ca5b578b1c Merge branch 'feature/test-next-command-for-gdbstub-runtime' into 'master'
fix(tests): gdbstub: test 'next' command for every target

Closes IDF-7927 and IDF-7268

See merge request espressif/esp-idf!45799
2026-02-13 19:14:33 +04:00
Alexey Lapshin e93a9f05ca fix(gdbstub): fix task lookup by frame 2026-02-11 17:50:31 +07:00
Alexey Lapshin b0729fec31 fix(tests): gdbstub: test 'next' command for every target 2026-02-10 17:18:32 +07:00
Samuel Obuch db80c39a4e Merge branch 'feat/esp32h21_debug_assist' into 'master'
feat(esp32h21): add assist_debug support

See merge request espressif/esp-idf!45345
2026-02-10 16:28:37 +08:00
Samuel Obuch 9014eade4f feat(esp32h21): add assist_debug support 2026-02-06 12:51:29 +01:00
Chen Chen eeb24057c4 refactor(hal): graduate systimer hal driver into esp_hal_systimer 2026-02-06 18:08:57 +08:00
Erhan Kurubas 97491dae35 Merge branch 'feat/coredump_extram_attr' into 'master'
feat(coredump): add coredump_extram attribute

Closes IDFGH-14687

See merge request espressif/esp-idf!45506
2026-02-04 12:59:50 +01:00
Alexey Lapshin fff49a4555 Merge branch 'fix/gdbstub_xtensa_fpu_registers' into 'master'
fix(gdbstub): xtensa: fix FPU registers read and write

See merge request espressif/esp-idf!44624
2026-02-03 09:44:16 +04:00
Erhan Kurubas 5ba3e9df98 feat(coredump): add coredump_extram attribute
Closes https://github.com/espressif/esp-idf/issues/15429
2026-02-02 10:25:03 +01:00
Alexey Lapshin c57443c2b6 fix(gdbstub): xtensa: fix FPU registers read and write
Closes https://github.com/espressif/esp-idf/issues/17944
2026-02-02 10:49:16 +07:00
Marius Vikhammer 1a0ed26104 Merge branch 'bugfix/core_esp32s31_wrong_jira_id' into 'master'
fix(core): fixed misc wrong jira references

Closes IDF-14685 and IDF-14655

See merge request espressif/esp-idf!45457
2026-01-29 01:19:02 +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
Marius Vikhammer 961626e016 fix(core): fixed misc wrong jira references 2026-01-28 11:05:13 +08:00
igor.udot 4c26ab876b ci: update build-test-rules to use common_components 2026-01-23 10:14:09 +08:00
Xiao Xufeng 8dbf23630a refactor(spi_flash): reorganize header files and improve API encapsulation
This commit reorganizes SPI flash header files to better reflect their
visibility and intended usage:

1. Rename `esp_flash_port/` to `esp_flash_chips/`:
   - Better reflects that these headers are for chip driver implementations
   - All chip driver headers moved to `esp_flash_chips/` directory
   - Added README.md explaining semi-public nature of these headers

2. Move internal headers to `esp_private/`:
   - `esp_flash_internal.h` -> `esp_private/esp_flash_internal.h`
   - `memspi_host_driver.h` -> `esp_private/memspi_host_driver.h`

3. Move chip driver related headers to `esp_flash_chips/`:
   - `esp_private/esp_flash_types.h` -> `esp_flash_chips/esp_flash_types.h`
   - `spi_flash/spi_flash_defs.h` -> `esp_flash_chips/spi_flash_defs.h`
   - `spi_flash_override.h` -> `esp_flash_chips/spi_flash_override.h`
   - All `spi_flash_chip_*.h` headers moved to `esp_flash_chips/`

4. Code improvements:
   - Remove unused includes (e.g., `spi_flash_override.h` from `cache_utils.c`)
   - Use public API `esp_flash_get_size()` instead of direct member access
   - Add `esp_flash_is_quad_mode` to linker.lf for IRAM placement

5. Documentation updates:
   - Add README.md in `esp_flash_chips/` explaining semi-public headers
   - Update programming guide with warnings about internal headers
   - Update both English and Chinese documentation

6. Update all references across the codebase:
   - Update includes in `spi_flash` component
   - Update `bootloader_support`, `app_update`, `esp_tee`, `espcoredump`
   - Update example projects

Breaking changes:
- Headers moved to new locations require include path updates
- `custom_flash_driver` example temporarily disabled until external
  components are updated
2026-01-23 03:38:54 +08:00
morris 35bdd8c651 feat(dma): graduate the dma driver from esp_hw_support to esp_driver_dma 2026-01-22 14:14:14 +08:00
Aditya Patwardhan eb4a871eca refactor(esp_hal_security): Updated esp_hal_security build and includes 2026-01-21 10:02:44 +05:30
Erhan Kurubas caa0697240 test(panic): add retry logic to espcoredump subprocess call 2026-01-20 10:32:18 +03:00
Song Ruo Jing 62511d61e9 refactor(clk): split clock HAL into separate component 2026-01-13 15:50:20 +08:00
Erhan Kurubas 392dfed30b Merge branch 'feat/coredump_rtc_noinit' into 'master'
Add a new attribute COREDUMP_NOINIT_ATTR

See merge request espressif/esp-idf!44843
2026-01-13 08:24:11 +01:00
Erhan Kurubas 14c16bee61 feat(coredump): add coredump_noinit attribute 2026-01-11 18:57:37 +03:00
yinqingzhao 80ee62d104 test(system): add esp32c61 eco4 build test 2026-01-09 17:24:59 +08:00
Erhan Kurubas 82643a03c8 test(espcoredump): fix test for corrupted TCB handling in coredump 2026-01-05 22:16:43 +03:00
Erhan Kurubas 85e7ef753d test(panic): improve stack dump capture to return full hex content 2026-01-05 22:11:23 +03:00
Wu Zheng Hui dcca718908 Merge branch 'refactor/independent_rtc_timer_hal' into 'master'
feat(hal): graduate rtc_cntl_timer/lp_timer hal/ll  into a new component: esp_hal_rtc_timer and unify naming

Closes IDF-15045

See merge request espressif/esp-idf!44573
2025-12-31 05:22:06 +08:00
Ashish Sharma 345844cd58 feat: migrates tools/test_apps to PSA APIs 2025-12-30 09:31:49 +05:30
wuzhenghui 0d93c29143 feat(esp_hal_rtc_timer): introduce new RTC timer component and refactor existing timer functions 2025-12-30 10:33:34 +08:00
armando 4777ce6e8c ci(intr_dump): added mspi intr 2025-12-26 01:04:45 +00:00
Song Ruo Jing 74aeb3f41f refactor(uart): split UART HAL into separate component 2025-12-25 14:41:28 +08:00