Skip to main content
SKozo.1
Visitor II
June 2, 2020
Question

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

  • June 2, 2020
  • 2 replies
  • 927 views

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.

This topic has been closed for replies.

2 replies

kurta999
Senior
June 2, 2020

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
Super User
June 2, 2020

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""."