Undefined references (using static allocation)

I tried to allocate a timer using the static method.
I’ve enabled both static and dynamic allocation:
#define configSUPPORT_STATIC_ALLOCATION 1
#define configSUPPORT_DYNAMIC_ALLOCATION 1
Got the following errors trying to build:
…/freertos/freertos_kernel/tasks.c:1988: undefined reference to vApplicationGetIdleTaskMemory' /lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: ../freertos/freertos_kernel/timers.c:245: undefined reference to vApplicationGetTimerTaskMemory’

Any tips much appreciated!
For now I’ll just use dynamic…
Thanks in advance,
Best Regards, Dave

The application writer needs to provide this function. Here is an example: https://github.com/aws/amazon-freertos/blob/a126b0c55795be5986f86d4f6ef73bc5ed091c29/demos/demo_runner/aws_demo.c#L73

Thanks.

Thanks @aggarg - I missed that!