Low Power Support - My FreeRTOSConfig.h dosn't have "configUSE_TICKLESS_IDLE", I can just define one, right?

My platform: STM32WB55x device, 512K Flash, 512K Ram, 32Mhz main freq., M4F core.

Various documents still available on the official site, like this:

Mentions defining “configUSE_TICKLESS_IDLE” to 1 or 2 in FreeRTOSConfig.h

I looked up the port I’m using but there is no configUSE_TICKLESS_IDLE in my “FreeRTOSConfig.h”.

However in other part of the FreeRTOS source code there most definitely is an implementation for “portSUPPRESS_TICKS_AND_SLEEP()”.

My question is I could simple add a line of

#define configUSE_TICKLESS_IDLE 1

in the FreeRTOSConfig.h file right?

Or things are much more complicated than this and I’m messing up different versions here? I’ve added that definition and complied and it passed.

Can anyone please shed any light? I want to be 100% sure.

Yes, you can add that #define to FreeRTOSConfig.h and you’ll get tickless idle. If you have a debugger, you can put breakpoints in vPortSuppressTicksAndSleep() and see that the feature is active and working.