esp-idf/components/app_trace
Darian Leung 9b3796d2f1 freertos: Add portTRY_ENTRY_CRITICAL() and deprecate legacy spinlock fucntions
Add TRY_ENTRY_CRITICAL() API to all for timeouts when entering critical sections.
The following port API were added:
- portTRY_ENTER_CRITICAL()
- portTRY_ENTER_CRITICAL_ISR()
- portTRY_ENTER_CRITICAL_SAFE()

Deprecated legacy spinlock API in favor of spinlock.h. The following API were deprecated:
- vPortCPUInitializeMutex()
- vPortCPUAcquireMutex()
- vPortCPUAcquireMutexTimeout()
- vPortCPUReleaseMutex()

Other Changes:
- Added portMUX_INITIALIZE() to replace vPortCPUInitializeMutex()
- The assembly of the critical section functions ends up being about 50 instructions longer,
  thus the spinlock test pass threshold had to be increased to account for the extra runtime.

Closes https://github.com/espressif/esp-idf/issues/5301
2021-11-22 13:28:39 +08:00
..
gcov gcov: Do not use shrunk ROM's fake stdout and stderr FILE struct 2021-11-04 01:33:24 +03:00
include freertos: Add portTRY_ENTRY_CRITICAL() and deprecate legacy spinlock fucntions 2021-11-22 13:28:39 +08:00
port debug_stubs: Refactor and add support for RISCV 2021-11-04 01:33:24 +03:00
private_include apptrace: Refactors apptrace for better support various tracing HW 2021-06-24 13:16:13 +03:00
sys_view apptrace: Adds ESP32-S3 support 2021-10-22 23:24:00 +03:00
test Build & config: Remove leftover files from the unsupported "make" build system 2021-11-11 15:32:36 +01:00
app_trace_membufs_proto.c apptrace: Adds ESP32-S3 support 2021-10-22 23:24:00 +03:00
app_trace_util.c freertos: Add portTRY_ENTRY_CRITICAL() and deprecate legacy spinlock fucntions 2021-11-22 13:28:39 +08:00
app_trace.c apptrace: Refactors apptrace for better support various tracing HW 2021-06-24 13:16:13 +03:00
CMakeLists.txt IPC: Move ipc sources to esp_system 2021-11-11 10:30:01 +08:00
heap_trace_tohost.c apptrace: Refactors apptrace for better support various tracing HW 2021-06-24 13:16:13 +03:00
host_file_io.c Merge branch 'update_copyright_notice_app_trace' into 'master' 2021-05-03 12:00:53 +00:00
Kconfig trax: Adds ESP32-S3 support 2021-10-22 23:36:28 +03:00
linker.lf apptrace: Refactors apptrace for better support various tracing HW 2021-06-24 13:16:13 +03:00
project_include.cmake app_trace: Add coverage generation by gcovr 2020-03-30 13:34:06 +02:00
sdkconfig.rename apptrace: Refactors apptrace for better support various tracing HW 2021-06-24 13:16:13 +03:00