cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H7 freeRTOS heap_4 condition

miladmohtashamirad
Associate III

Hi. 
Previous (in stm32u5), I used to select X-CUBE-FREERTOS and inside that you could select heap version. (heap_5, heap_4, ...) and that heap version selection would satisfy another component that had dependency on heap_4 (or other versions.).
But in STM32H7, there's no X-CUBE-FREERTOS and instead there's a FREERTOS component that is virtual component, meant to satisfy other components dependencies, which is good as it resolves other components dependency on Class: RTOS, Group: Core, ... after you enable it from configurations . And you can select the heap version from freeRTOS configuration.
However, it doesn't announce that it's providing heap_4 (or heap_5) when you select it. The problem that we are facing is that we have a cmsis pack that one of the components depends on heap_4 selection. and this component is throwing warning because no body says that I provide heap_4. (the problem is just the component selector. the program builds and work successfully.)

miladmohtashamirad_0-1744776014885.png

Is there anyway that this can be fixed? so that when a user selects heap_4 or heap_5 in freertos configurations, freeRTOS virtual pack announce that it's providing it. 
Kind Regards.
Milad.

4 REPLIES 4
Ghofrane GSOURI
ST Employee

Hello @miladmohtashamirad 

First let me thank you for posting.

Could you please provide your IOC in order to push further the investigation.

I will be waiting for your feedback.

THX

Ghofrane

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Hi @Ghofrane GSOURI , Thanks for quick reply. 
Sure. Here is the ioc file. 

Hello @miladmohtashamirad 

 

GhofraneGSOURI_0-1744878781970.png

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

miladmohtashamirad
Associate III

Hi @Ghofrane GSOURI 
Yes. 
That's the package that we're providing.

You can find a relatively old version of it at https://github.com/MorseMicro/mm-iot-cmsis/releases/download/1.5.0/MorseMicro.MM_IoT.1.5.0.pack
probably the ioc file that I've shared here doesn't match with that version, though. 

I believe the question that I have is not very related to our package. It's mostly related to STM32H7 bsp package. I might have post my question in wrong place. If so, please tell me where I should post my question.
Kind regards,
Milad