vPortFreeStack and pvPortMallocStack error

Build error: undefined reference to `vPortFreeStack’

Build error: undefined reference to `pvPortMallocStack’

So, am getting these errors when i try to include the FreeRTOS into my project.
I think i have included all the required files.
Whats the solution for this

See configSTACK_ALLOCATION_FROM_SEPARATE_HEAP documentation here FreeRTOS - The Free RTOS configuration constants and configuration options - FREE Open Source RTOS for small real time embedded systems
So either don’t enable it or implement the required functions.

1 Like