Commit Graph

137 Commits

Author SHA1 Message Date
Erhan Kurubas 14c16bee61 feat(coredump): add coredump_noinit attribute 2026-01-11 18:57:37 +03:00
Ashish Sharma 457e7df33e feat: migrates esp_coredump to PSA APIs 2025-12-30 09:31:49 +05:30
Erhan Kurubas 267ebaf902 fix(espcoredump): support ESP32P4 ECO5 unified memory layout 2025-12-09 18:03:33 +01:00
Song Ruo Jing 1862fdec74 refactor(gpio): split GPIO HAL into separate component
cleaned up some includes in GPIO peripheral files
2025-11-26 15:35:07 +08:00
Erhan Kurubas 083999290e fix(espcoredump): prevent double exception during int_wdt panic with custom stack 2025-11-20 11:14:42 +01:00
Sudeep Mohanty bb0f072c7a refactor(freertos): Make task snapshot debug API public
This commit makes the task snapshot related API public under the header
freertos_debug.h.
2025-09-15 16:13:29 +02:00
Erhan Kurubas 0d97c63885 change(coredump): make conditional build in cmake based on config options 2025-09-10 05:23:20 +08:00
Erhan Kurubas 55c60e1c34 fix(coredump): implement CONFIG_ESP_COREDUMP_MAX_TASKS_NUM limitation
Closes https://github.com/espressif/esp-idf/issues/14407
2025-08-07 17:17:01 +03:00
Erhan Kurubas 50ab1bff4b fix(coredump): do not build sources when coredump is not enabled 2025-08-07 17:13:44 +03:00
Erhan Kurubas a877a070cb change(coredump): return ESP_ERR_NOT_FOUND for blank partition
Closes https://github.com/espressif/esp-idf/issues/15153
2025-07-29 22:31:40 +03:00
Erhan Kurubas fb53d6e719 change(coredump): drop binary format and crc checksum 2025-07-29 22:31:40 +03:00
Nebojsa Cvetkovic d0ceef20f4 refactor(xtensa): Rename specreg.h register macros
This commit renames all registers in xtensa/specreg.h to by adding the
prefix XT_REG_. This is done to avoid naming collisions with similar
variable names. A new register file, viz., xt_specreg.h is created. The
previous names are still available to use but have been deprecated.

Closes https://github.com/espressif/esp-idf/issues/12723
Merges https://github.com/espressif/esp-idf/pull/16040
2025-06-17 15:37:33 +02:00
Erhan Kurubas 86bffdf23b fix(coredump): make sure consistency with uart data and calculated checksum
Closes https://github.com/espressif/esp-idf-monitor/issues/23
2025-03-26 10:00:12 +01:00
Erhan Kurubas 287e55a1c6 fix(coredump): disable uart txd pullup using gpio hal 2025-02-05 22:32:19 +08:00
Erhan Kurubas e58763c777 fix(coredump): fix note section alignments 2025-02-05 22:32:19 +08:00
Erhan Kurubas 81a5f7dc80 fix(coredump): only clear high bit in PC when set 2025-02-05 22:32:19 +08:00
Erhan Kurubas 1456fec98c change(coredump): include coredump own stack into coredump file 2024-12-18 10:19:39 +03:00
Erhan Kurubas 7da66fb098 change(coredump): make sure consistency with written data and calculated checksum 2024-12-18 10:19:39 +03:00
Erhan Kurubas dc3c5956b1 fix(espcoredump): fix incorrect pointer usage in checksum update call 2024-12-04 18:43:30 +08:00
Alexey Lapshin 10115792ac fix(espcoredump): fix GCC-14 analyzer warnings for coredump 2024-12-04 18:43:30 +08:00
morris aebf700919 refactor(freertos): rename SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY and move to freertos 2024-10-09 13:32:03 +08:00
Erhan Kurubas 2d7807f839 fix(esp-coredump): fix build error when mbedtls hardware sha disabled 2024-09-26 10:32:11 +02:00
Erhan Kurubas ee01c2c524 fix(coredump): fix array out of the bounds error
Closes https://github.com/espressif/esp-idf/issues/14117
2024-07-04 14:44:19 +02:00
Erhan Kurubas 002faf3b0a ci(panic): extend extram_stack tests 2024-05-27 14:51:30 +02:00
Erhan Kurubas 1dd4b95349 fix(coredump): properly save task's stack when stack is located in PSRAM 2024-05-27 13:55:14 +02:00
harshal.patil 3eb6487bb5 fix(bootloader_support): Make esp_flash_encrypt.h independent of spi_flash_mmap.h header 2024-05-13 16:54:45 +05:30
gaoxu 1138d7d56a feat(gpio): update c5 mp gpio docs 2024-05-13 16:19:28 +08:00
morris 6a57c26469 Merge branch 'feature/esp32c5_mp_gpio_support' into 'master'
esp32c5 mp gpio support

Closes IDF-9649

See merge request espressif/esp-idf!30474
2024-05-11 22:50:23 +08:00
gaoxu 6e4b50511e feat(coredump): replace fun sel function 2024-05-11 10:51:16 +08:00
Erhan Kurubas 8e524d708c fix(coredump): fix buffer overflow inside esp_core_dump_get_summary
Closes https://github.com/espressif/esp-idf/issues/13754
2024-05-07 06:49:28 +02:00
Erhan Kurubas 551d91ea8a ci(coredump): fix capture dram tests 2024-05-06 15:43:43 +02:00
Erhan Kurubas 60a99a9f97 fix(coredump): don't allow mapping of non-encrypted coredump partition 2024-05-06 15:39:12 +02:00
Erhan Kurubas e6effa2be3 fix(coredump): increase sanity check before get summary
Closes https://github.com/espressif/esp-idf/issues/13594
2024-04-24 06:29:44 +03:00
Erhan Kurubas 3b8191cf5d feat(coredump): save .bss, .data and .heap sections to the elf file 2024-04-23 19:07:51 +03:00
Erhan Kurubas 1503b5fcf2 fix(coredump): fix build error with the custom stack config
Closes https://github.com/espressif/esp-idf/issues/13551
2024-04-09 13:36:30 +08:00
Konstantin Kondrashov 3f89072af1 feat(all): Use PRIx macro in all logs 2024-03-12 11:15:53 +02:00
Omar Chebib 9046bf1645 fix(espcoredump): Reconfigure the stack guard when using custom coredump stack 2024-03-08 17:25:42 +08:00
Erhan Kurubas 434b096c72 refactor(espcoredump): simplify uart/flash write flow 2024-03-07 16:10:50 +08:00
Erhan Kurubas 91586bbc85 refactor(espcoredump): replace uart and flash callbacks with aliases 2024-03-07 16:10:50 +08:00
Erhan Kurubas 18fc19faf2 refactor(espcoredump): keep checksum context in coredump stack 2024-03-07 16:10:50 +08:00
Erhan Kurubas f4acf0b378 refactor(espcoredump): format coredump component with astyle 2024-02-19 21:57:28 +01:00
Erhan Kurubas 0d22b99946 feat(coredump): move esp_core_dump_init into component 2024-02-07 19:39:36 +08:00
Erhan Kurubas f1d5f97719 feat(coredump): use SHA ROM functions for all targets except ESP32
For ESP32, continue using mbedtls due to a required ROM patch for the SHA implementation.
For other targets, we can now leverage the ROM functions.
2024-01-25 15:13:56 +01:00
Erhan Kurubas 029a0582e1 feat(coredump): improve the probability of accessing healthy TCBs 2024-01-22 00:18:28 +08:00
Erhan Kurubas c3916927c9 feat(esp-coredump): add esp32p4 chip support and doc update 2024-01-03 12:05:34 +01:00
Erhan Kurubas 58ee206c99 feat(coredump): save twdt panic output to coredump elf file 2023-12-05 13:28:51 +01:00
Darian Leung a5d5ee7445 change(xtensa): Deprecate ".../xtensa_context.h" include path
This commit deprecates the "freertos/xtensa_context.h" and "xtensa/xtensa_context.h"
include paths. Users should use "xtensa_context.h" instead.

- Replace legacy include paths
- Removed some unnecessary includes of "xtensa_api.h"
- Add warning to compatibility header
2023-11-30 21:58:52 +08:00
Erhan Kurubas a7bbf0d3aa feat(coredump): save isr context to coredump elf file 2023-11-27 16:46:42 +01:00
Sudeep Mohanty d38f100223 change(freertos/idf): Deprecate some FreeRTOS IDF addition functions
This commit deprecates xTaskGetAffinity(), xTaskGetCurrentTaskHandleForCPU()
and xTaskGetIdleTaskHandleForCPU() APIs for IDF-FreeRTOS kernel.
Instead, users are directed to use alternatives. All other
components in IDF using these functions have been updated accordingly.
2023-11-03 14:54:06 +01:00
Omar Chebib ff2a492002 Merge branch 'staging/espcoredump_move_strings_flash' into 'master'
change(espcoredump): save RAM space by placing constants in flash

See merge request espressif/esp-idf!26872
2023-11-03 12:20:25 +08:00