cancel
Showing results for 
Search instead for 
Did you mean: 

STMCube Bug with STM32L151CCT and FreeRTOS with static allocation in True Studio.

Osto
Senior

Hi,

there is a bug in newest STMB Cube with newest Firmware and STM32L151CCT.

Cube Version is 5.2.0, FreeRTOS V10.0.1.

I had a project with older Firmware which was imported from other project and I set the Memory usage to Static. I get an error in heap4.c that is may not come there ( for what heap when static operation). I'm usingf True Studion.

I find out that the Cube copies the file Middlewares/Third_Party/FreeRTOS/Source/portable/heap4.c to the project and this is not correct. I dont know hoe to hint Cube on generation this file. I have to delete it after each generation. I cannot regenerate it againg but I add the damaged file hier.

See attached for the project file. With this file you can produce i t at every generation.

Best regards,

Osto

0 REPLIES 0