cancel
Showing results for 
Search instead for 
Did you mean: 

On STM32 CubeMX : FreeRTOS and Timebase Source not selectable ?

Hello dear ST community,

I try to test FreeRTOS on the STM32MP1 for the Cortex-M4 and I encounter a problem:

I've got the following warning: "When FreeRTOS is used, it is strongly recommended to use a HAL timebase source other than the Systick"

Ok, but when I try to select the systime base in the tab Pinout under SYS, the selection of TIM* is in light grey and so not available...

Is there any solution ?

Thank you!

Best regards,

Anthony

1 ACCEPTED SOLUTION

Accepted Solutions
Khouloud ZEMMELI
ST Employee

​HI  @anthony.harivel.emtrion.GmbH The TIM must be assigned to the M4 context before the Timebase Source.

Best Regards,

Khouloud.

View solution in original post

3 REPLIES 3
Khouloud ZEMMELI
ST Employee

​Hello @anthony.harivel.emtrion.GmbH​ ,

Thank you for the feedback, this is reported internally for further check.

Best Regards,

Khouloud.

Khouloud ZEMMELI
ST Employee

​HI  @anthony.harivel.emtrion.GmbH The TIM must be assigned to the M4 context before the Timebase Source.

Best Regards,

Khouloud.

Hi @Khouloud ZEMMELI​ thanks for your quick answer this works perfect now !

Best regards,

Anthony