Erhan Kurubas
54e470e9e0
fix(coredump): fix buffer overflow inside esp_core_dump_get_summary
...
Closes https://github.com/espressif/esp-idf/issues/13754
2024-08-26 13:13:50 +03:00
Erhan Kurubas
b9c1258556
fix(coredump): fix array out of the bounds error
...
Closes https://github.com/espressif/esp-idf/issues/14117
2024-07-09 22:10:45 +02:00
Erhan Kurubas
d55d2278ee
fix(coredump): don't allow mapping of non-encrypted coredump partition
2024-05-16 21:28:18 +02:00
Erhan Kurubas
cf9c2aed41
fix(coredump): increase sanity check before get summary
...
Closes https://github.com/espressif/esp-idf/issues/13594
2024-05-16 21:24:40 +02:00
Omar Chebib
7a598cd561
fix(espcoredump): Reconfigure the stack guard when using custom coredump stack
2024-04-01 10:57:56 +08:00
Erhan Kurubas
5d1b6b7b99
feat(coredump): save twdt panic output to coredump elf file
2024-03-12 10:40:29 +01:00
Erhan Kurubas
7ec19d4268
refactor(espcoredump): simplify uart/flash write flow
2024-03-11 17:12:41 +08:00
Erhan Kurubas
210d06e7e4
refactor(espcoredump): replace uart and flash callbacks with aliases
2024-03-11 17:12:41 +08:00
Erhan Kurubas
25e69d8f01
refactor(espcoredump): keep checksum context in coredump stack
2024-03-11 17:12:41 +08:00
Erhan Kurubas
a8bd637e73
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-03-04 15:21:58 +01:00
Omar Chebib
e7d5fee856
change(espcoredump): save RAM space by placing constants in flash
...
All the log messages of espcoredump component used to be in DRAM, which would
lower the available RAM space for the user application. Since the cache is always
enabled after an exception, constants can be put in flash.
2024-02-22 18:49:49 +08:00
Erhan Kurubas
4a32955f74
feat(coredump): save isr context to coredump elf file
2023-11-28 18:19:19 +01:00
Rahul Tank
4675e34f7e
fix(espcoredump): fixed compilation warning
...
Added conditional compilation for logging stack usage only when CONFIG_ESP_COREDUMP_LOGS is
enabled.
Closes: https://github.com/espressif/esp-idf/issues/12318
2023-10-20 11:23:33 +05:30
Mahavir Jain
31aa471af8
Merge branch 'contrib/github_pr_11869_v5.1' into 'release/v5.1'
...
bugfix: avoid warning in espcoredump when log disabled (GitHub PR) (v5.1)
See merge request espressif/esp-idf!25143
2023-09-11 14:42:10 +08:00
Erhan Kurubas
568c397822
feat(coredump): add panic details to the elf file
2023-08-28 18:48:16 +02:00
Christoph Baechler
d42d86b369
bugfix: avoid warning in espcoredump when log disabled
2023-08-24 04:17:33 +00:00
Vikram
207ac93d43
Optionally disable logs in espcoredump component
...
Early log strings used by this component are placed in DRAM.
Disabling these logs saves ~5KB of internal memory
Signed-off-by: Vikram <vikram.dattu@espressif.com>
2023-06-29 11:50:48 +05:30
Alexey Lapshin
726ed144e4
coredump: remove tests (moved to esp-coredump repo)
2023-05-16 12:43:04 +08:00
Cao Sen Miao
94120b82c2
esp32h2: add build test
2023-01-17 10:29:04 +08:00
Aleksei Apaseev
46651e7a6a
espcoredump: fix incorrectly defined coredump chip version
2023-01-09 18:43:35 +08:00
Omar Chebib
835263e50a
Coredump: add a test to check that coredump supports stacks in SPIRAM
2022-12-22 12:47:22 +01:00
Omar Chebib
42b2169542
coredump: add support for stacks in external RAM
...
Tasks having their stacks in SPIRAM can now be part of the coredump written to flash
2022-12-22 12:47:22 +01:00
Omar Chebib
1ff8a68c21
Merge branch 'bugfix/support_coredump_stack_xtensa' into 'master'
...
coredump: custom core dump stack is now supported on Xtensa targets
See merge request espressif/esp-idf!21335
2022-12-19 18:02:15 +08:00
Mahavir Jain
12b977dba6
coredump: add partition encrypted flag check for flash encryption case
...
Ref: https://esp32.com/viewtopic.php?f=13&t=30752
2022-12-02 17:15:01 +05:30
Omar Chebib
301cb74890
coredump: custom core dump stack is now supported on Xtensa targets
2022-12-02 12:01:19 +08:00
Armando
aba9f80cd2
partition: use esp_partition_munmap instead of spi_flash_munmap
2022-11-09 20:15:17 +08:00
KonstantinKondrashov
1a9ca94ac6
ci: Fix environment variable IDF_CI_BUILD is not set
2022-11-08 18:23:39 +08:00
Martin Vychodil
c9c7573f71
Storage: Partition APIs moved to the new component 'esp_partition'
...
All the partition handling API functions and data-types were moved from the 'spi_flash' component to the new one named 'esp_partition'. See Storage 5.x migration guide for more details
2022-11-02 21:54:45 +01:00
Song Ruo Jing
be0fdfa176
soc: Add a soc cap, SOC_CLK_RC_FAST_D256_SUPPORTED, for whether the target has the RC_FAST_D256 clock
2022-11-01 11:23:26 +08:00
Mahavir Jain
ed884fece6
espcoredump: enable tests for esp32c2 target
2022-09-28 20:41:01 +05:30
Mahavir Jain
a2db79eb26
espcoredump: add esp32c2 target in test_app
2022-09-28 20:41:01 +05:30
Mahavir Jain
9e6d181557
espcoredump: re-enable test_app build for esp32c2
2022-09-28 20:41:00 +05:30
Harshit Malpani
8fba04638b
espcoredump: Add support for esp32c2
...
This commit puts some code under SOC_RTC_MEM_SUPPORTED. This enables use of coredump in targets with no RTC memory support.
2022-09-28 20:41:00 +05:30
Omar Chebib
6798bfc4b0
TWDT: the Kconfig option ESP_TASK_WDT_EN is now used to enable Task Watchdog
2022-09-15 14:37:59 +08:00
Omar Chebib
53c7dd4efc
WDT: implement interrupt wdt and task wdt for ESP32-C2
...
ESP32-C2 has a single group timer, thus it will use it for the interrupt watchdog,
which is more critical than the task watchdog. The latter is implement in
software thanks to the `esp_timer`component.
2022-09-15 14:37:59 +08:00
Laukik Hase
0071ea498f
esp_app_format: Fixed build errors and resolved dependencies
2022-08-17 10:59:31 +05:30
Roland Dobai
bab3830797
Tools: Fix flake8 version 5 warnings
2022-08-12 08:13:13 +00:00
Ivan Grokhotkov
401c10ecfb
build system: re-add -Wno-format as private flag for some components
2022-08-03 16:42:47 +04:00
Omar Chebib
e25cda2c40
Task WDT: Interuptee task stack is now used for backtracing, regardless of the CPU core
...
For RISC-V and Xtensa targets, in case a panic needs to happen when
Task WDT is triggered (ESP_TASK_WDT_PANIC), the interruptee's stack
is now used for printing the backtrace.
Abort after Task Watchdog is triggered can happen on APP CPU (second core).
2022-08-02 12:41:14 +08:00
Guillaume Souchere
6005cc9163
hal: Deprecate interrupt_controller_hal.h, cpu_hal.h and cpu_ll.h interfaces
...
This commit marks all functions in interrupt_controller_hal.h, cpu_ll.h and cpu_hal.h as deprecated.
Users should use functions from esp_cpu.h instead.
2022-07-22 00:06:06 +08:00
Mahavir Jain
a94c74c26b
mbedtls: remove dependency on driver component
...
- keep `esp_pm` dependency conditional in mbedtls
- refactor `bt` cmakelist to keep dependencies as private
Related: IDF-1265
2022-07-18 21:10:51 +05:30
Fu Hanxi
c0568611dd
docs: changes docs supported targets tables
2022-07-14 08:26:32 +08:00
Fu Hanxi
05d2357062
feat: use standalone project idf-build-apps for find/build apps utils
2022-07-14 08:26:31 +08:00
Roland Dobai
3d1508db9d
Tools: Make espcoredump.py executable
...
Closes https://github.com/espressif/esp-idf/issues/9319
2022-07-11 17:32:47 +02:00
Darian Leung
5de652bbe2
espcoredump: Fix espcoredump.py shebang and file mode
...
This commit adds back the shebang and executable file mode for
espcoredump.py
2022-07-06 21:03:11 +08:00
Cao Sen Miao
a690a87829
spi_flash: Remove legacy spi_flash drivers
2022-07-01 11:01:34 +08:00
Roland Dobai
b6e6adddc3
Merge branch 'refactor/change_copyright_components' into 'master'
...
components: Change copyright in components files
See merge request espressif/esp-idf!18580
2022-06-20 16:02:12 +08:00
simon.chupin
45482bd1c0
components: Change copyright in components files
2022-06-17 16:59:56 +02:00
Mahavir Jain
51bbee2e19
espcoredump: allow reserving dedicated stack size for Xtensa architecture
...
Core issue with SET_STACK was fixed with e543e97c7b
Related: IDF-2797
2022-06-06 03:24:50 +00:00
Michael (XIAO Xufeng)
6a8aed12ee
ci: partially enable ut tests for esp32c2
...
Disabled test cases are tracked in:
IDF-4465, IDF-5045, IDF-5057, IDF-5058, IDF-5059, IDF-5060, IDF-5061, IDF-5131
- test_fatfs: IDF-5136
- test_pm: IDF-5053
- test_cache_mmu: IDF-5138
- test_partitions: IDF-5137
- test_vfs: IDF-5139
- test_freertos: IDF-5140
- test_wpa_supplicant: IDF-5046
- test_mbedtls: IDF-5141
- test_pthread: IDF-5142
- test_protocomm: IDF-5143
- test_lightsleep: IDF-5053
- test_taskwdt: IDF-5055
- test_tcp_transport: IDF-5144
- test_app_update: IDF-5145
- test_timer: IDF-5052
- test_spi: IDF-5146
- test_rtc_clk: IDF-5060
- test_heap: IDF-5167
ci: fixed issues for tests of libgcc, ets_timer, newlib
test_pm: support on C2
2022-06-02 14:23:35 +08:00