Commit Graph
100 Commits
Author SHA1 Message Date
Erhan Kurubas e48023f388 docs(jtag-debugging): syncronize EN and CN versions 2026-09-01 08:45:18 +02:00
Erhan Kurubas ea6e93264c docs(esp_trace): fix dangling README link to the tracing guide 2026-09-01 08:45:18 +02:00
Erhan Kurubas bd09970094 docs(esp_trace): restructure tracing docs with esp_trace as master
Reorganize the tracing documentation so esp_trace is the master
component, with app_trace, SystemView, and Gcov referenced from it.

(cherry picked from commit 6c6490d54c)
2026-09-01 08:45:18 +02:00
Erhan Kurubas 74265eb43b test(coredump): fix psram memory range for esp32s31 and esp32p4 2026-08-27 10:23:12 +02:00
Erhan Kurubas 1b44f1ebdd ci(coredump): enable esp32h4 tests 2026-07-23 09:49:33 +03:00
Erhan Kurubas 431712be6a feat(hal): implement enable_debug/enable_record for ESP32-S31 CPU utility 2026-07-20 15:59:10 +02:00
Erhan Kurubas e1dfa2de0e test(sysview_tracing): wait for apptrace stop before validating capture 2026-07-15 22:48:42 +02:00
Erhan Kurubas ebdb83dfc6 test(sysview): trim trace capture to the STOP record to drop post-reset UART noise 2026-07-15 22:48:16 +02:00
Erhan Kurubas 1f580af991 test(usb_serial_jtag): pin console uart to ttyUSBx port 2026-07-15 22:48:16 +02:00
Erhan Kurubas ca8dfaa2cb fix(esp_trace): limit USB-Serial-JTAG trace flush timeout 2026-07-15 22:48:16 +02:00
Erhan Kurubas 3900dd04ca change(sysview_heap_log): use esp sysview_mcore command for the JTAG capture 2026-07-15 22:48:16 +02:00
Erhan Kurubas f69546847f change(sysview): use esp sysview_mcore command for sysview_tracing JTAG capture 2026-07-15 22:48:16 +02:00
Erhan Kurubas a7ac93829f fix(sysview): add prefix to the example sysview module desc 2026-07-15 22:48:16 +02:00
Erhan Kurubas ec44e536ca fix(sysview): handle variable-length timestamp in TRACE_STOP validation 2026-07-15 22:48:16 +02:00
Erhan Kurubas 6dd6f92809 change(ci): enable esp32s31 jtag tests 2026-07-15 22:48:16 +02:00
Erhan Kurubas b8fbf278c7 fix(esp_coredump): count only written tasks against MAX_TASKS_NUM limit 2026-07-08 08:49:41 +02:00
Erhan Kurubas 6ee2fd716c test(espcoredump): run test_tcb_corrupted with custom stack 2026-07-08 08:49:25 +02:00
Erhan Kurubas 543af63e1d fix(esp_coredump): fix unused-but-set-variable warnings 2026-07-08 08:49:12 +02:00
Erhan Kurubas 2d2d200ebd feat(esp_trace): add example to demonstrate external lib integration 2026-06-01 09:25:47 +03:00
Erhan Kurubas fbf57aeba1 feat(esp_trace): extend encoder interface
Add esp_trace_flush, esp_trace_start and esp_trace_stop APIs
2026-06-01 09:25:47 +03:00
Erhan Kurubas 613351e913 change(esp_trace): allow init without transport(none) 2026-06-01 09:25:47 +03:00
Erhan Kurubas 7aabb0155b Merge branch 'feature/update-openocd-to-v0.12.0-esp32-20260424' into 'master'
feat(tools): update openocd version to v0.12.0-esp32-20260424

Closes OCD-892, OCD-1371, and DOC-14459

See merge request espressif/esp-idf!48003
2026-05-07 09:09:13 +02:00
Erhan Kurubas d5bd42771c feat(tools): update openocd version to v0.12.0-esp32-20260424 2026-04-27 14:25:12 +00:00
Erhan Kurubas 54287a574b test(panic): update multi-core target list in panic_dut 2026-04-10 19:58:56 +02:00
Erhan Kurubas 6a713b97c6 fix(coredump): fix fake stack address range overlapping esp32s31 DRAM 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
Erhan Kurubas f6ae009f40 feat(esp32s31): add assist_debug stack monitoring support 2026-04-09 21:20:51 +08:00
Erhan Kurubas ed7c90c8aa Merge branch 'fix/psram_core_clk_enable' into 'master'
fix(mspi): enable PSRAM core clock in module clock init

See merge request espressif/esp-idf!46780
2026-03-20 20:44:33 +01:00
Erhan Kurubas 8a536eeda0 fix(mspi): enable PSRAM core clock in module clock init
psram_ctrlr_ll_enable_module_clock() was missing
reg_psram_core_clk_en, causing SPIMEM2 access faults
after system reset.
2026-03-19 15:24:27 +01:00
Erhan Kurubas 33e90fb10a feat(tools): update openocd version to v0.12.0-esp32-20260304 2026-03-16 21:14:45 +08:00
Erhan Kurubas 577e08602e Merge branch 'feat/esp_trace_usb_serial_jtag' into 'master'
Add usb serial jtag transport to the esp_trace

Closes IDF-13979

See merge request espressif/esp-idf!45622
2026-02-18 19:30:04 +01:00
Erhan Kurubas 53082cabe9 ci: skip esp32p4 jtag tests due to lack of eco6 runners 2026-02-18 13:11:23 +01:00
Erhan Kurubas 05010137f8 feat(esp_trace): add usb-serial-jtag as a transport channel 2026-02-18 12:01:40 +01:00
Erhan Kurubas 8260898d44 Merge branch 'fix/apptrace_uart_flush' into 'master'
Replace ISR based Uart TX with polling

See merge request espressif/esp-idf!45586
2026-02-09 19:57:50 +01:00
Erhan Kurubas 5cea09fbdc fix(app_trace): implement uart TX without using ISR 2026-02-09 15:46:43 +01: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
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
Erhan Kurubas bdbfd2a812 Merge branch 'docs_updates' into 'master'
docs: cleanup apptrace and coredump references

Closes IDF-10163, IDF-12153, IDF-12159, and IDF-12964

See merge request espressif/esp-idf!45316
2026-01-29 13:14:49 +01:00
Erhan Kurubas 2c28cfe8a2 Merge branch 'gcov_over_uart' into 'master'
Gcov over uart

Closes IDF-15030 and OCD-1191

See merge request espressif/esp-idf!44615
2026-01-21 06:54:31 +01:00
Erhan Kurubas 5d385f143e Merge branch 'coredump_read_flash_retry' into 'master'
Add retry logic to espcoredump subprocess call

See merge request espressif/esp-idf!45207
2026-01-20 21:59:03 +01:00
Erhan Kurubas a1e35da6c4 docs: cleanup apptrace and coredump references 2026-01-20 22:43:21 +03:00
Erhan Kurubas f1d43df4a1 feat(examples): dump coverage over uart 2026-01-20 11:30:03 +03:00
Erhan Kurubas b07e8c6954 feat(conftest): add gcov_dump helper to openocd fixture 2026-01-20 11:18:01 +03:00
Erhan Kurubas caa0697240 test(panic): add retry logic to espcoredump subprocess call 2026-01-20 10:32:18 +03: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
Erhan Kurubas f8d0e9a79e Merge branch 'fix/coredump_test_tcb_corrupted' into 'master'
test(espcoredump): fix test for corrupted TCB handling in coredump

Closes IDFCI-5663

See merge request espressif/esp-idf!44619
2026-01-06 13:09:18 +01: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
Erhan Kurubas 3e35b8b175 Merge branch 'fix/clang_build_error' into 'master'
fix(xtensa): Fix clang assembler errors in STRUCT_AFIELD_A macro

See merge request espressif/esp-idf!44193
2025-12-19 10:20:43 +01:00
Erhan Kurubas 3ccc51c096 Merge branch 'enable_esp32p4_jtag_tests' into 'master'
Enable esp32p4 jtag tests

Closes IDF-14440

See merge request espressif/esp-idf!44352
2025-12-19 08:45:40 +01:00
Erhan Kurubas 6dc4a8bf12 change(ci): re-enable esp32p4 OpenOCD tests 2025-12-18 00:37:54 +01:00
Erhan Kurubas 7b180fbca2 change(ci): limit printing OpenOCD connection errors 2025-12-18 00:35:17 +01:00
Erhan Kurubas 7ffc500eb4 fix(xtensa): Fix clang assembler errors in STRUCT_AFIELD_A macro 2025-12-17 22:12:34 +01:00
Erhan Kurubas b42e3f01d0 Merge branch 'esp32h4_debug_asistant' into 'master'
feat(esp32h4): add assist_debug/bus_monitor support

Closes IDF-12592

See merge request espressif/esp-idf!44014
2025-12-17 21:19:25 +01:00
Erhan Kurubas 274e1d63f6 Merge branch 'feature/update-openocd-to-v0.12.0-esp32-20251215' into 'master'
feat(tools): update openocd version to v0.12.0-esp32-20251215

See merge request espressif/esp-idf!44301
2025-12-17 21:07:50 +01:00
Erhan Kurubas bdcfbd3c05 feat(esp32h4): add assist_debug stack monitoring support 2025-12-17 10:11:36 +01:00
Erhan Kurubas bc289f92d8 refactor(hal): update assist_debug_ll_reset_register() to pass core_id 2025-12-17 10:11:36 +01:00
Erhan Kurubas e8e0646a0b ci(esp32p4): disable p4 rev3 usb-serial-jtag tests temporarily 2025-12-17 09:59:23 +01:00
Erhan Kurubas c2dab51975 change(freertos): add task count and pointer width to OpenOCD debug table 2025-12-17 02:15:19 +01:00
Erhan Kurubas de04807901 feat(tools): update openocd version to v0.12.0-esp32-20251215 2025-12-17 02:15:07 +01:00
Erhan Kurubas dae71e821a Merge branch 'update_esp_trace_readme' into 'master'
docs(esp_trace): update README for SystemView as external managed component

See merge request espressif/esp-idf!44040
2025-12-12 09:26:09 +01:00
Erhan Kurubas 0159206593 docs(esp_trace): update README for SystemView as external managed component 2025-12-09 18:08:42 +01:00
Erhan Kurubas 267ebaf902 fix(espcoredump): support ESP32P4 ECO5 unified memory layout 2025-12-09 18:03:33 +01:00
Erhan Kurubas 2abc9706dd Merge branch 'enable_sysview_tests' into 'master'
test(sysview): re-enable SEGGER SystemView example builds and tests

See merge request espressif/esp-idf!43852
2025-12-04 17:50:29 +01:00
Erhan Kurubas 0544720401 Revert "change(freertos): add task count and pointer width to OpenOCD debug table"
This reverts commit 799de719d7.
2025-12-03 19:39:12 +08:00
Erhan Kurubas cf53f339b1 test(sysview): re-enable SEGGER SystemView example builds and tests 2025-12-03 19:39:12 +08:00
Erhan Kurubas c9bee75b52 Merge branch 'fix/int_wdt_double_exception' into 'master'
fix(espcoredump): prevent double exception during int_wdt panic with custom stack

Closes IDF-9361

See merge request espressif/esp-idf!43185
2025-11-25 14:03:03 +01:00
Erhan Kurubas 69924c2322 Merge branch 'refactor_apptrace_uart' into 'master'
Refactor apptrace uart

Closes IDF-4323, IDF-4804, and IDF-7823

See merge request espressif/esp-idf!42885
2025-11-24 23:19:11 +01:00
Erhan Kurubas f2c75dcf52 change(app_trace): implement uart without driver APIs 2025-11-24 12:17:30 +01:00
Erhan Kurubas 083999290e fix(espcoredump): prevent double exception during int_wdt panic with custom stack 2025-11-20 11:14:42 +01:00
Erhan Kurubas 1a4828cca8 Merge branch 'update_jtag_docs' into 'master'
Update jtag docs

Closes OCD-525

See merge request espressif/esp-idf!43210
2025-11-19 13:38:13 +01:00
Erhan Kurubas 799de719d7 change(freertos): add task count and pointer width to OpenOCD debug table 2025-11-17 14:48:27 +01:00
Erhan Kurubas 9f0d7c2f06 Merge branch 'enable_gcov_tests' into 'master'
test(gcov): re-enable gcov builds and tests

See merge request espressif/esp-idf!43252
2025-11-12 10:12:17 +01:00
Erhan Kurubas 5947a29c51 test(gcov): re-enable gcov builds and tests 2025-11-11 10:23:29 +01:00
Erhan Kurubas abc6784446 docs(jtag): document program_esp_bins command 2025-11-10 19:51:34 +01:00
Erhan Kurubas c623b12c8d docs(jtag): replace OpenOCD build instructions with GH workflow reference 2025-11-10 19:51:34 +01:00
Erhan Kurubas 08cf6c1a40 Merge branch 'move_sysview_to_component_registry' into 'master'
Move sysview to component registry

Closes IDF-13403 and DOC-12867

See merge request espressif/esp-idf!43011
2025-11-10 19:19:17 +01:00
Erhan Kurubas dfd26a79c7 change(examples): disable sysview tests until sysview component is uploaded to registry 2025-11-10 15:55:41 +08:00
Erhan Kurubas 79cda70029 change(app_trace): move sysview to component registry 2025-11-10 15:55:41 +08:00
Erhan Kurubas b3132d31ed Merge branch 'esp_tracing_component' into 'master'
New Esp tracing component

Closes IDF-13405 and DOC-12721

See merge request espressif/esp-idf!41755
2025-10-30 23:07:49 +01:00
Erhan Kurubas 1dac8685db feat(tracing): add new component for tracing 2025-10-30 12:15:35 +01:00
Erhan Kurubas 8ee473d06e Merge branch 'change/apptrace_public_interface' into 'master'
Apptrace API changes and allow runtime destination selection

Closes DOC-12445, IDF-4738, and IDF-3357

See merge request espressif/esp-idf!41597
2025-10-20 10:10:01 +02:00
Erhan Kurubas 2ef718fc29 change(app_trace): breaking changes related to destination selection
- Destination selection is unified for SystemView and app_trace
- Destination param is removed from app_trace APIs
- Destinaiton and related configuration now can be override from users
  with a callback from system_init_fn
2025-10-18 02:28:31 +08:00
Erhan Kurubas 68764bf80f refactor(app_trace): remove redundant init call from startup 2025-10-18 02:28:31 +08:00
Erhan Kurubas 006ab972c7 docs(app_trace_to_plot): fixed OpenOCD command in README 2025-10-18 02:28:31 +08:00
Erhan Kurubas 72b45ab2a6 change(examples): disable gcov build and tests because of apptrace breaking changes 2025-10-18 02:28:31 +08: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 fa472d0e41 docs(coredump): update docs_not_updated for esp32h4 2025-09-02 15:01:26 +03:00
Erhan Kurubas 2661c994db docs(jtag): update esp32h4 jtag debugging guide 2025-09-02 14:42:55 +03:00
Erhan Kurubas 9f38fa1b9a Merge branch 'test/sysview_uart' into 'master'
test(app_trace): add SystemView UART tracing tests for all targets

Closes IDF-11919, IDF-11920, IDF-11921, DOC-12212, and IDF-7660

See merge request espressif/esp-idf!41552
2025-08-29 09:37:37 +02:00
Erhan Kurubas a4e06f0792 test(app_trace): add SystemView UART tracing tests for all targets 2025-08-27 13:44:16 +03:00
Erhan Kurubas 38c906bc3d Merge branch 'limit_gcov_build' into 'master'
change(examples): enable minimal build for gcov

Closes IDF-13857

See merge request espressif/esp-idf!41376
2025-08-25 10:01:18 +02:00
Erhan Kurubas 312261785c change(examples): enable minimal build for gcov 2025-08-19 09:53:33 +03:00
Erhan Kurubas 5ac81c17cd Merge branch 'move_gcov_to_component_registry' into 'master'
Move gcov to component registry

Closes IDF-13404 and DOC-11978

See merge request espressif/esp-idf!40752
2025-08-13 19:29:34 +02:00
Erhan Kurubas f5ffef1556 change(app_trace): move gcov component to the esp-component-registry 2025-08-11 13:24:42 +03:00
Erhan Kurubas b98d27c7f9 Merge branch 'fix/coredump_max_tasks_num' into 'master'
fix(coredump): implement CONFIG_ESP_COREDUMP_MAX_TASKS_NUM limitation

Closes IDFGH-13516

See merge request espressif/esp-idf!41008
2025-08-08 10:36:24 +02: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 51f8f625ec fix(coredump): rename uart test config file 2025-08-07 17:13:44 +03:00