]> begriffs open source - freertos/commit
Fix definition of tskSTATIC_AND_DYNAMIC_ALLOCATION_POSSIBLE
authorGaurav Aggarwal <aggarg@amazon.com>
Sun, 17 Feb 2019 01:24:58 +0000 (01:24 +0000)
committerGaurav Aggarwal <aggarg@amazon.com>
Sun, 17 Feb 2019 01:24:58 +0000 (01:24 +0000)
commit0de2a2758aebce3f1bad67ab96585beb6a1736a5
tree887142f726c02437a64c6e466d1dd28b2cd48747
parent2c88fb7fa1600a92a437a81937464715b12cb00b
Fix definition of tskSTATIC_AND_DYNAMIC_ALLOCATION_POSSIBLE

tskSTATIC_AND_DYNAMIC_ALLOCATION_POSSIBLE was not correctly defined resulting in
dynamically allocated TCB not being freed when MPU was enabled. This commit fixes
the definition to ensure that dynamically allocated RAM (Stack and TCB) is freed
always.
FreeRTOS/Source/include/FreeRTOS.h
FreeRTOS/Source/tasks.c