One more option is to drive the FreeRTOS tick using a different timer (which does not change with processor frequency) by overriding this weak function - https://github.com/FreeRTOS/FreeRTOS-Kernel/blob/main/portable/GCC/ARM_CM4F/port.c#L769
One more option is to drive the FreeRTOS tick using a different timer (which does not change with processor frequency) by overriding this weak function - https://github.com/FreeRTOS/FreeRTOS-Kernel/blob/main/portable/GCC/ARM_CM4F/port.c#L769