ARM-software / CMSIS-FreeRTOS

FreeRTOS adaptation for CMSIS-RTOS Version 2

Home Page:https://arm-software.github.io/CMSIS-FreeRTOS/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

about CMSIS-FreeRTOS memory pool management

Cherish-Gww opened this issue · comments

I am not found memory pool management source code in this project, not implemented?
I am using CMSIS OS version v1.02, the v1.02 cmsis_os.c I can find Memory Pool Management Functions, but there is a TODO:

//TODO
//This is a primitive and inefficient wrapper around the existing FreeRTOS memory management.
//A better implementation will have to modify heap_x.c!

My question is :

  1. is there not implement memory pool on this project, or newest CMSIS-Freertos version.
  2. above TODO, this there have a patch about how to modify heap_x.c to make memory pool better?

Hi,

no, memory pool function are not yet implemented, please see also #7 and #26.

Can you please point me to the file containing this TODO statements? Is this some modified version of the file that comes with CMSIS-FreeRTOS pack?

@VladimirUmek
will CMSIS-Freertos add memory pool management recent? or never?
I got cmsis_os.c and cmsis_os.h, in stm32cubef4xx.zip, ST package a cmsis os v1.02 inside.

I see, packages that come with the STM32CubeMX are modified by STMicroelectronics and memory pool implementation you are referring to is not part of this project.

CMSIS-FreeRTOS will add memory pool management implementation but I can't give you exact time frame as it is not in the short term plan. Depending on number of requests this might change.

@VladimirUmek
Got, Thank you very much.

Commit 5db75d1 addresses this issue.