cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to use HAL LL with FreeRTOS rather than HAL itself? - using timer for SysTick generates HAL code.

SKozo.1
Associate

Hello!

I have a problem with STM32CubeIDE. I want to generate project with FreeRTOS, and use only HAL LL code, but when I set Timebase Source for TIMx, there is generated bunch of pure HAL code. Timebase Source other than SysTick is required due to FreeRTOS recommendations.

I want to avoid bloated codebase.

2 REPLIES 2
kurta999
Senior

You have to remove it yourself. I did the same. I also never generate the code to my main project, I have a copy of the .ioc file in another directory and when I need to modify something then I modify it, generate the copy project and copy the changes manully to my main project.

Thats the best solution now for me.

TDK
Guru

You can do whatever you want if you have the skill to do so. Don't expect CubeMX to be able to configure your project exactly how you want. That is the price you pay for the convenience.

If you feel a post has answered your question, please click "Accept as Solution".