esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa
Darian Leung e21ab0332b freertos(IDF): Refactor port heap functions
Vanilla FreeRTOS expects applications to use one of the heap implementations
provided by FreeRTOS (i.e., heap_x.c), where functions such as pvPortMalloc()
and vPortFree() are defined in the heap implementation.

However, ESP-IDF already provides its own heap implementation
(i.e., esp_heap_caps.h). Thus, the pvPortMallc()/vPortFree() functions were
previously overriden by macro to call esp_heap functions directly.

This commit refactors the FreeRTOS port's heap as such:

- Added a heap_idf.c that implements all of the heap related functions required
  by FreeRTOS source
- All dynamic memory allocated by FreeRTOS is from internal memory. Thus, the
  FreeRTOS heap is the internal memory subset of the ESP-IDF heap.
- Removed some old macros to reduce diff from upstream source code.
2023-03-06 16:00:29 +08:00
..
include/freertos freertos(IDF): Refactor port heap functions 2023-03-06 16:00:29 +08:00
port.c freertos: Fix clang-tidy warning on pxPortInitialiseStack() 2022-12-23 15:29:17 +08:00
portasm.S freertos(IDF): Remove dependency on portUSING_MPU_WRAPPERS 2022-12-23 15:29:17 +08:00
readme_xtensa.txt freertos: Add SPDX license identifiers and update xtensa port files 2022-02-03 17:08:14 +08:00
xt_asm_utils.h freertos(IDF): Allow cross-core freeing of task memory when deleting tasks 2022-12-23 15:29:17 +08:00
xtensa_context.S freertos(IDF): Allow cross-core freeing of task memory when deleting tasks 2022-12-23 15:29:17 +08:00
xtensa_init.c freertos: Add SPDX license identifiers and update xtensa port files 2022-02-03 17:08:14 +08:00
xtensa_loadstore_handler.S freertos: Add SPDX license identifiers and update xtensa port files 2022-02-03 17:08:14 +08:00
xtensa_overlay_os_hook.c freertos: Refactor configuration files 2022-02-10 21:23:46 +08:00
xtensa_vector_defaults.S This commit add to GDBstup: 2022-03-01 19:49:24 +03:00
xtensa_vectors.S freertos(IDF): Allow cross-core freeing of task memory when deleting tasks 2022-12-23 15:29:17 +08:00