esp-idf/components/freertos
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
..
esp_additions freertos(SMP): Update SMP FreeRTOS linker fragment file 2023-02-01 15:15:51 +08:00
FreeRTOS-Kernel freertos(IDF): Refactor port heap functions 2023-03-06 16:00:29 +08:00
FreeRTOS-Kernel-SMP freertos(IDF): Refactor port heap functions 2023-03-06 16:00:29 +08:00
test_apps freertos(IDF): Refactor port heap functions 2023-03-06 16:00:29 +08:00
app_startup.c pytest: Expect "Calling app_main()" to indicate start of application 2022-12-09 19:40:40 +08:00
CMakeLists.txt freertos(IDF): Refactor port heap functions 2023-03-06 16:00:29 +08:00
FreeRTOS-openocd.c freertos: Add linker fragments for common functions 2023-02-01 15:09:46 +08:00
heap_idf.c freertos(IDF): Refactor port heap functions 2023-03-06 16:00:29 +08:00
Kconfig freertos-smp: Made CONFIG_FREERTOS_VTASKLIST_INCLUDE_COREID available only for IDF-FreeRTOS 2022-11-28 12:09:56 +05:30
linker_common.lf freertos(IDF): Refactor port heap functions 2023-03-06 16:00:29 +08:00
linker_smp.lf freertos: riscv: fix vPortTaskWrapper for clang 2023-02-20 13:09:42 +08:00
linker.lf freertos: riscv: fix vPortTaskWrapper for clang 2023-02-20 13:09:42 +08:00
port_common.c freertos(IDF): Refactor port heap functions 2023-03-06 16:00:29 +08:00
sdkconfig.rename freertos: always enable static allocation 2020-12-29 16:18:04 +01:00