Omar Chebib
157f7b438b
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-04-01 15:30:45 +08:00
Peter Dragun
34a6d8ebe7
fix(tools/coredump): ignore missing project description
2023-11-08 13:10:10 +01:00
Roland Dobai
963284fc4c
Merge branch 'coredump-info-offset_v5.0' into 'release/v5.0'
...
fix(tools/coredump-info): pass non-default partition table offset to esp-coredump (v5.0)
See merge request espressif/esp-idf!26832
2023-11-02 19:20:01 +08:00
Peter Dragun
b784bbb27b
fix(tools/coredump-info): pass non-default partition table offset to esp-coredump
2023-11-01 10:27:36 +01:00
Rahul Tank
22f31de902
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:44 +05:30
Christoph Baechler
34efd5af6f
bugfix: avoid warning in espcoredump when log disabled
2023-08-02 15:04:34 +05:30
Vikram
7c766af407
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:51:03 +05:30
Alexey Lapshin
e092b58696
coredump: remove tests (moved to esp-coredump repo)
2023-05-16 12:49:13 +08:00
Ivan Grokhotkov
82458fd31d
Merge branch 'bugfix/extram_stack_coredump_v5.0' into 'release/v5.0'
...
coredump: add support for stacks in external RAM (backport v5.0)
See merge request espressif/esp-idf!22410
2023-02-20 20:32:19 +08:00
Ivan Grokhotkov
66f5a4a497
Merge branch 'fix/fix_incorrectly_defined_coredump_chip_ver' into 'release/v5.0'
...
espcoredump: fix incorrectly defined coredump chip version (v5.0)
See merge request espressif/esp-idf!21967
2023-02-17 19:41:07 +08:00
Omar Chebib
18125ff7b7
coredump: add support for stacks in external RAM
...
Tasks having their stacks in SPIRAM can now be part of the coredump written to flash
2023-02-17 10:39:07 +08:00
Omar Chebib
886e98a2c1
Merge branch 'bugfix/support_coredump_stack_xtensa_v5.0' into 'release/v5.0'
...
coredump: custom core dump stack is now supported on Xtensa targets (backport v5.0)
See merge request espressif/esp-idf!21804
2023-02-17 10:35:35 +08:00
Aleksei Apaseev
065e121451
espcoredump: fix incorrectly defined coredump chip version
2023-01-09 19:54:01 +08:00
KonstantinKondrashov
9538f9c5ff
ci: Fix environment variable IDF_CI_BUILD is not set
2023-01-06 02:00:52 +08:00
Omar Chebib
eb66430793
coredump: custom core dump stack is now supported on Xtensa targets
2022-12-26 12:07:58 +01:00
Zim Kalinowski
759f7ec13d
Merge branch 'feature/add_int_task_wdt_esp32c2_v5.0' into 'release/v5.0'
...
WDT: implement interrupt wdt and task wdt for ESP32-C2 (backport v5.0)
See merge request espressif/esp-idf!20980
2022-12-05 16:38:35 +08:00
Omar Chebib
6b4e1619d8
TWDT: the Kconfig option ESP_TASK_WDT_EN is now used to enable Task Watchdog
2022-12-01 10:45:35 +00:00
Omar Chebib
b675bb2a4d
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-12-01 10:45:35 +00:00
Armando
d4725fb34d
partition: use esp_partition_munmap instead of spi_flash_munmap
2022-11-10 11:26:51 +08:00
Martin Vychodil
af81bd1b0a
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:49:08 +01:00
Mahavir Jain
ce469140b5
espcoredump: enable tests for esp32c2 target
2022-10-04 10:24:44 +05:30
Mahavir Jain
75df40c617
espcoredump: add esp32c2 target in test_app
2022-10-04 10:24:43 +05:30
Mahavir Jain
6fb40068be
espcoredump: re-enable test_app build for esp32c2
2022-10-04 10:24:43 +05:30
Harshit Malpani
548db6c139
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-10-04 10:24:42 +05:30
Laukik Hase
5545b3790f
esp_app_format: Fixed build errors and resolved dependencies
2022-08-24 14:46:32 +05:30
Roland Dobai
1ae3768321
Tools: Fix flake8 version 5 warnings
2022-08-12 15:36:11 +02: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
Djordje Nedic
facab8c5a7
tools: Increase the minimal supported CMake version to 3.16
...
This updates the minimal supported version of CMake to 3.16, which in turn enables us to use more CMake features and have a cleaner build system.
This is the version that provides most new features and also the one we use in our latest docker image for CI.
2022-06-01 06:35:02 +00:00
Anton Maklakov
45f267390b
espcoredump: fix unsigned arithmetic
2022-05-30 11:21:30 +07:00
Anton Maklakov
57785e5eca
espcoredump: suppress -Waddress-of-packed-member warning
2022-05-30 11:21:30 +07:00
Fu Hanxi
b2f107b76c
fix: espcoredump without project_description.json in ci
2022-05-25 12:00:13 +08:00
Aleksei Apaseev
e8cb6bd6b3
feat: Added extra gdbinit file loading for reproducible build
2022-05-13 08:41:24 +00:00
Alexey Lapshin
b5bafae596
tools: add GDB v11.1 as a tool
...
GDB now is standalone tool separated from toolchain due to frequent updates.
Added installation tests for the new tool.
Tests are changed because they were wrong, see explanation:
esp32 objdump:
40084290 <esp_crosscore_int_send_yield>:
......
/builds/espressif/esp-idf/components/esp_system/crosscore_int.c:145
4008429c: 000090 retw
With previous GDB backtrace was:
#0 0x4008429c in esp_crosscore_int_send_yield (core_id=0) at /builds/espressif/esp-idf/components/esp_system/crosscore_int.c:144
This commit fixes the backtrace with the right line number:
#0 0x4008429c in esp_crosscore_int_send_yield (core_id=0) at /builds/espressif/esp-idf/components/esp_system/crosscore_int.c:145
Other tests changes have the same cause of fixing.
Closes https://github.com/espressif/esp-idf/issues/6334
2022-04-25 11:21:48 +07:00
Ivan Grokhotkov
c70a69b1dd
Merge branch 'bugfix/remove_ref_non_ex_options' into 'master'
...
config: removed references to non-existing kconfig options
See merge request espressif/esp-idf!17495
2022-03-25 18:02:54 +08:00
Aleksei Apaseev
528cdc1546
core_dump: split corefile and coredump script from idf into a separate package
2022-03-24 13:57:48 +08:00
Marius Vikhammer
0fbae992dd
config: removed references to non-existing kconfig options
2022-03-15 18:32:22 +08:00
Sudeep Mohanty
a9fda54d39
esp_hw_support/esp_system: Re-evaluate header inclusions and include directories
...
This commit updates the visibility of various header files and cleans up
some unnecessary inclusions. Also, this commit removes certain header
include paths which were maintained for backward compatibility.
2022-03-07 11:18:08 +05:30
Aditya Patwardhan
4582af75b8
mbedtls: Update licenses of files updated in mbedtls-3.1 update
2022-03-04 05:18:58 +00:00