esp-idf/components/heap
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
..
include ci: replacing old header with new SPDX header style 2021-10-20 11:36:23 +08:00
port ESP8684: add driver esp_pm heap support 2021-11-06 17:33:44 +08:00
test Build & config: Remove leftover files from the unsupported "make" build system 2021-11-11 15:32:36 +01:00
test_multi_heap_host heap: fix unaligned memory bug when poisoning is enabled. 2021-02-01 11:58:42 +08:00
CMakeLists.txt ESP8684: add driver esp_pm heap support 2021-11-06 17:33:44 +08:00
heap_caps_init.c G0: Memory layouts are now part of heap components 2021-07-15 11:38:23 +10:00
heap_caps.c SPIRAM: 'Abort on allocation failure' should not trigger when there is available SPI ram 2021-11-02 05:36:18 +00:00
heap_private.h Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
heap_task_info.c heap: Add task tracking option for heap usage monitoring 2018-02-20 10:32:06 +11:00
heap_tlsf_block_functions.h Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
heap_tlsf_config.h heap: increase the sl to reduce the fragmentation to acceptable level. 2020-12-17 12:52:56 -03:00
heap_tlsf.c heap: fix unaligned memory bug when poisoning is enabled. 2021-02-01 11:58:42 +08:00
heap_tlsf.h heap: fix unaligned memory bug when poisoning is enabled. 2021-02-01 11:58:42 +08:00
heap_trace_standalone.c heap: Separate standalone and common part of tracing module 2019-04-01 15:56:15 +03:00
Kconfig heap: use hal specific API to get cpu cycles count 2021-06-22 14:14:10 +08:00
linker.lf components: fix ldgen check errors 2021-01-19 11:17:18 +08:00
multi_heap_config.h heap: add tlsf config specific to the host test 2020-11-12 11:07:46 +11:00
multi_heap_internal.h heap: fix unaligned memory bug when poisoning is enabled. 2021-02-01 11:58:42 +08:00
multi_heap_platform.h freertos: Add portTRY_ENTRY_CRITICAL() and deprecate legacy spinlock fucntions 2021-11-22 13:28:39 +08:00
multi_heap_poisoning.c heap: fix unaligned memory bug when poisoning is enabled. 2021-02-01 11:58:42 +08:00
multi_heap.c heap: fix multi_heap_get_info_impl 2021-11-01 16:08:07 +00:00