Commit Graph

657 Commits

Author SHA1 Message Date
Alexey Gerenkov 30961f57a4 Merge branch 'fix/coredump_test_tcb_corrupted_v5.3' into 'release/v5.3'
test(espcoredump): fix test for corrupted TCB handling in coredump (v5.3)

See merge request espressif/esp-idf!45329
2026-02-05 18:37:01 +08:00
Erhan Kurubas 0bfd92877f test(panic): add retry logic to espcoredump subprocess call 2026-01-21 08:33:47 +03:00
Erhan Kurubas b95bbc34c3 test(espcoredump): fix test for corrupted TCB handling in coredump 2026-01-21 08:12:02 +03:00
Erhan Kurubas ea36d9b437 test(panic): improve stack dump capture to return full hex content 2026-01-21 08:10:04 +03:00
Chen Yudong 164cfba69d ci: rename wifi_two_dut to two_duts 2025-12-03 12:34:10 +08:00
Jiang Jiang Jian 2cbf741a09 Merge branch 'fix/panic_handler_reboot_before_halt_v5.3' into 'release/v5.3'
fix(panic_handler): Fixed a issue where the system reboots before halt (v5.3)

See merge request espressif/esp-idf!41268
2025-09-28 17:47:23 +08:00
Samuel Obuch f491494662 ci: enable example tests for esp32p4 2025-08-20 00:28:00 +08:00
Samuel Obuch cbb2896bc7 ci: use shared OpenOCD class for GDB test app 2025-08-20 00:28:00 +08:00
Sudeep Mohanty 99291d4def test(panic_handler): Added unit test to verify panic handler can halt
This test verifies that the panic handler can indeed halt when
configured to print and halt instead of rebboting.
2025-08-14 12:57:49 +02:00
harshal.patil 29f7654c2b feat(cpu_region_protect): Enable basic memory protection for SPIRAM 2025-05-21 15:36:41 +05:30
Jiang Jiang Jian 10a20f3388 Merge branch 'ci/add_test_for_ecos_wifi_enterprise_v53' into 'release/v5.3'
ci(c2/c3): add major eco version tests(v5.3)

See merge request espressif/esp-idf!37806
2025-04-17 10:56:45 +08:00
Mahavir Jain 352704257a Merge branch 'fix/examples_python3.13_ssl_conn_failure_v5.3' into 'release/v5.3'
Change in Python3.13's default ssl context caused SSL connection failure (v5.3)

See merge request espressif/esp-idf!38200
2025-04-15 12:37:07 +08:00
luaijun 2f749a21e7 ci(c2/c3): add major eco version tests 2025-04-08 10:34:19 +08:00
harshal.patil 28e42429f4 fix(examples): Example CA certs must contain the Key Usage parameter
- Example CA certificates that are used for self-signed client certificates
need to include the Key Usage parameter.
- Python3.13 changed the default context of the SSL context that is
generated using ssl.create_default_context() by enabling the VERIFY_X509_STRICT
flag by default
2025-04-03 10:52:47 +05:30
Sudeep Mohanty 81109e8bdd fix(panic_handler): Updated panic handler to use RTC WDT
This commit updates the following:
- Updates the panic handler to use only the RTC WDT to reset the system.
- Refactors some of the panic handler code.
- Updates Bluetooth files where in they now feed the WDTs instead of
  reconfiguring them.
- Removes some unnecessary configuration of WDTs from various files.
- Added a unit test to verify that the system does not lock up when the
  panic handler is stuck.
- Updates the memprot unit tests to work with the refactored panic
  handler.

Closes https://github.com/espressif/esp-idf/issues/15166
Closes https://github.com/espressif/esp-idf/issues/15018
Closes https://github.com/espressif/esp-idf/issues/10110
2025-03-06 09:13:17 +01:00
Omar Chebib 209cfa313b fix(esp_hw_support): make the NMI interrupts available for the main application
Closes https://github.com/espressif/esp-idf/issues/13629

NMI interrupt level has been freed for all the Xtensa targets, making it possible
for the main application to use it. An example has been added to show how to
proceed.
2025-02-26 10:06:44 +08:00
Martin Vychodil 2c26a7e11e fix(security): Fixed ESP32S2 memory protection check for Peri1 RTCSLOW interrupt
- fixes the issue found in https://github.com/espressif/esp-idf/issues/15359
- extends debug printouts in the related tests
2025-02-21 16:29:04 +08:00
laokaiyao a137775d11 fix(i2s): fixed i2s_std initializer order for cpp compiler
Closes https://github.com/espressif/esp-idf/issues/15405
2025-02-18 15:06:51 +08:00
Erhan Kurubas e9161c62d0 test(coredump): collect all expected uart data first, then process lazily 2025-02-03 15:11:27 +01:00
Euripedes Rocha 6c83f8a838 fix(mqtt): Regenerate certificates for testing
- Previous fix ommited one of the client certificates by mistaque.
- This regenerates all certificates to clean that up.
2025-01-29 14:04:14 +01:00
Marius Vikhammer 4531d056e9 fix(interrupt): fixed wrongly reserved interrupt for wifi on H2 2025-01-02 16:44:05 +08:00
Chen Yudong 5fd9ee23d3 ci: add build test for eco versions 2024-12-19 21:02:49 +08:00
Erhan Kurubas b63cafb1a6 test(system): mark gdb test runners properly 2024-12-11 18:50:09 +01:00
Erhan Kurubas dfc248d66d change(tools): enhance expect_reg_dump to support any or specific core values 2024-12-09 16:23:39 +01:00
Erhan Kurubas ef14d7ab64 test(coredump): fix failed core dump tests 2024-12-09 15:52:59 +01:00
Erhan Kurubas 5f3d3f5e92 ci(panic): extend extram_stack tests 2024-12-09 15:52:59 +01:00
Erhan Kurubas c753271de1 ci(panic): add coredump tcb corrupted test 2024-12-09 15:52:58 +01:00
Alexey Lapshin 3af39a0ab0 feat(debugging): move gdbinit generation to CMake
This feature is useful for 3rd-party software to run GDB with predefined
options that described in project_description.json file

allow to pass custom options to "idf.py gdb":

  --gdb-commands: command line arguments for gdb. (without changes)
  -ex: pass command to gdb.
  -x: pass gdbinit file to gdb. Alias for old --gdbinit command
2024-12-06 05:07:52 +08:00
Mahavir Jain bfd037e87e feat: add compiler config for not merging const sections
Probably GCC-13.x and on-wards uses "-fmerge-constants" to merge
the const section (string/floating-point) across compilation units.
This makes it difficult to properly analyze the size output of rodata
section across libraries, the merged section (big in size) is showed
across a single library.

The config option added here can help to disable this compiler behavior
and help to provide better size analysis. It can be used during
development phase only as it increases rodata section size.
2024-10-15 13:35:35 +08:00
Alexey Lapshin 2f8f397d6b fix(test): reduce gdb_loadable_elf binary size 2024-10-10 10:12:31 +08:00
Erhan Kurubas 67e49f542a test(esp-coredump): add test for the soft sha config 2024-10-01 10:07:04 +02:00
Chen Jichang 84f024478c fix(ci): rerun pre-commit to fix readme files 2024-09-27 11:12:55 +08:00
morris 81d0122ede Merge branch 'ci/remove_c5_build' into 'release/v5.3'
ci(esp32c5,esp32c61): stop building c5 and c61 on 5.3

See merge request espressif/esp-idf!33525
2024-09-23 13:16:36 +08:00
Konstantin Kondrashov da77828786 fix(examples): Increases partition table offset for SBV2+FE test 2024-09-18 09:58:10 +03:00
Chen Jichang c9430ed953 ci(esp32c5,esp32c61): stop building c5 and c61 on 5.3 2024-09-13 19:39:29 +08:00
Alexey Gerenkov e74ca2811a Merge branch 'coredump_fixes_v5.3' into 'release/v5.3'
Coredump fixes v5.3

See merge request espressif/esp-idf!31104
2024-09-05 17:49:00 +08:00
Jiang Jiang Jian 038a86fc5f Merge branch 'task/add_ldgen_exception_for_freertos_v5.3' into 'release/v5.3'
fix(freertos): Added freertos and ringbuf fragments to the exception list of ldgen mapping checks (v5.3)

See merge request espressif/esp-idf!33215
2024-09-05 10:35:36 +08:00
Jiang Jiang Jian 6bca576f99 Merge branch 'bugfix/ldgen_file_single_entry_v5.3' into 'release/v5.3'
fix(ldgen): fix linker script generation from a single-entry fragment file (backport v5.3)

See merge request espressif/esp-idf!33099
2024-09-04 13:58:25 +08:00
Sudeep Mohanty c3a79c301d test(freertos): Added build test for function in flash with -Os optimation
This commit adds a build test for when FreeRTOS and esp_ringbuf functions
are placed in flash and the compiler optimizes for code size.
2024-08-30 09:15:15 +02:00
Omar Chebib 99b30023f8 fix(ldgen): fix linker script generation from a single-entry fragment file 2024-08-27 11:41:07 +08:00
Erhan Kurubas d72b765404 fix(coredump): fix buffer overflow inside esp_core_dump_get_summary
Closes https://github.com/espressif/esp-idf/issues/13754
2024-08-26 12:17:25 +03:00
Erhan Kurubas 8dd40eeeda ci(panic): add flash encrypted coredump tests 2024-08-26 12:17:18 +03:00
Xiao Xufeng a26af847b7 ci(mmu): add unicore test 2024-08-16 11:51:58 +08:00
Marius Vikhammer 68bdc86b65 Merge branch 'feature/print_panic_while_cache_fail_v5.3' into 'release/v5.3'
feat(esp_system): Print backtrace for both CPUs when cache error does not determine CPU (v5.3)

See merge request espressif/esp-idf!31129
2024-08-01 14:47:04 +08:00
xuxiao 4cc7eecf4f fix(wifi): fix some wifi bugs (v5.3) 2024-07-31 20:35:47 +08:00
Konstantin Kondrashov 3f82f6e93b feat(esp_system): Print backtrace for both CPUs when cache error does not determine CPU 2024-07-30 19:35:35 +08:00
Jiang Jiang Jian 5325cac7e6 Merge branch 'coredump_save_all_regions_v5.3' into 'release/v5.3'
Save .bss, .data and .heap sections in to the coredump (v5.3)

See merge request espressif/esp-idf!30438
2024-07-26 11:11:22 +08:00
Marius Vikhammer 8957785f4d Merge branch 'feat/cache_panic_p4_v5.3' into 'release/v5.3'
cache:cache panic p4 (v5.3)

See merge request espressif/esp-idf!32110
2024-07-25 18:56:39 +08:00
Island 638577b0bf Merge branch 'bugfix/fix_some_ble_bugs_cjh_v5.3' into 'release/v5.3'
Fixed some BLE bugs 240620 (backport v5.3)

See merge request espressif/esp-idf!31646
2024-07-25 16:54:55 +08:00
morris 0903bcca1b Merge branch 'fix/lcd_build_error_in_cpp_v5.3' into 'release/v5.3'
fix(lcd): build errors with deprecated lcd types in cpp (v5.3)

See merge request espressif/esp-idf!31676
2024-07-25 16:38:17 +08:00