Commit Graph
24 Commits
Author SHA1 Message Date
Chip Weinberger 3686689a2a feat(esp_system): Add esp_backtrace_print_all_tasks()
This commit adds esp_backtrace_print_all_tasks() which prints the backtraces
of all tasks at runtime.

Closes https://github.com/espressif/esp-idf/issues/9708
CLoses https://github.com/espressif/esp-idf/pull/11575

[Omar Chebib: Prevent task switching while printing backtraces of tasks.]
[Omar Chebib: Ensure all task stacks are flushed from register to RAM.]
[Omar Chebib: Removed esp_task_snapshot_to_backtrace_frame() as task snapshot is private API.]
[Omar Chebib: Added test case for esp_backtrace_print_all_tasks().]

Signed-off-by: Omar Chebib <omar.chebib@espressif.com>
2023-12-12 19:54:17 +08:00
Chip Weinberger 195524efa8 docs(jtag-debugging): Add links to gdbstub for convenience
Closes https://github.com/espressif/esp-idf/pull/12097
2023-09-20 10:31:09 +08:00
Chip Weinberger a7436ac82c [Usb Serial JTAG] printing to console could sometimes skip bytes 2023-09-18 18:41:15 +08:00
Chip Weinberger 9178748ff3 [Console] add heap caps settings 2023-08-01 23:38:47 -07:00
Chip Weinberger 23cba5fe00 [Heap Trace Standalone] increase Kconfig max stack size 2023-05-31 12:41:16 +08:00
Chip Weinberger fc1e8b0365 [Heap Trace Standalone] do not allocate memory until init is called 2023-05-29 00:00:15 -07:00
Chip Weinberger 3824eba04d feat(httpd): add support for asynchronous request handling
This commit adds support for handling multiple requests simultaneously by introducing two new functions: `httpd_req_async_handler_begin()` and `httpd_req_async_handler_complete()`. These functions allow creating an asynchronous copy of a request that can be used on a separate thread and marking the asynchronous request as completed, respectively.

Additionally, a new flag `for_async_req` has been added to the `httpd_sess_t` struct to indicate if a socket is being used for an asynchronous request and should not be purged from the LRU cache.

An example have been added to demonstrate the usage of these new functions.

Closes https://github.com/espressif/esp-idf/issues/10594

Signed-off-by: Harshit Malpani <harshit.malpani@espressif.com>
2023-05-19 10:05:42 +05:30
Chip Weinberger 74d6215b7f [SDMMC] add reasonable timeouts to all while loops
Closes: https://github.com/espressif/esp-idf/pull/10532
2023-04-11 11:06:56 +00:00
Chip Weinberger a2aa9e3bef [SDMMC Mount] fix infinite loop when SD card is not responsive
Closes: https://github.com/espressif/esp-idf/pull/10532
2023-04-11 11:06:56 +00:00
Chip Weinberger b699033ab3 [Heap Trace] Perf: use hash map to speed up leaks mode 2023-04-05 07:44:29 +02:00
Chip Weinberger 1588c61c7b [Heap] new api for user heap trace callbacks 2023-03-23 04:50:49 +00:00
Chip Weinberger c39be8bc76 [USB Serial/JTAG Driver] use time-limited blocking for TX 2023-02-22 14:28:08 +08:00
Chip Weinberger c7a12dd34b efuse: Add more logging for virtual efuses
Closes https://github.com/espressif/esp-idf/pull/10536
2023-02-16 00:10:08 +08:00
Chip Weinberger f11256d9da [Logs] print size and caps when malloc fails 2023-02-09 06:49:34 -08:00
Chip Weinberger 91ab4b5513 [AES] Timeout: return error dont abort 2023-01-30 01:37:00 -08:00
Chip Weinberger a555563558 [Heap Trace Standalone] speed up sequential access 2023-01-18 08:48:28 +01:00
Chip Weinberger 26a5117870 [Heap Trace Standalone] fix terrible Leaks perf on large records by using doubly linked list 2023-01-13 11:43:09 +01:00
Chip Weinberger 8b2b430d68 [Heap Trace Standalone] fix terrible Leaks perf on large records by using doubly linked list 2023-01-10 21:01:11 -08:00
Chip Weinberger 9e02682097 bootloader_support: Adds better logs for virtual efuses
Close https://github.com/espressif/esp-idf/pull/10383
2022-12-21 18:03:41 +08:00
Chip Weinberger d43dd9246f [Docs] specify Digital Signature byte order, and esp_ds_sign() clarification 2022-12-19 21:30:03 -08:00
Chip Weinberger 6e2ce0d289 refactor(esp_system) add user configurable reboot delay in seconds
Closes https://github.com/espressif/esp-idf/pull/9962
2022-12-20 13:17:09 +08:00
Chip Weinberger 95a22aa2f6 Update DFU docs for flash encryption 2022-12-15 16:13:57 -08:00
Chip Weinberger 9afc386dd2 [Heap Trace Standalone] improvements to formatting, code, comments 2022-12-08 00:47:02 -08:00
Chip Weinberger b2d1c34a38 [Panic] also print to secondary USB Serial/JTAG Console 2022-10-25 14:04:32 -07:00