Hi, When I call vTaskDelete(NULL) to suicide task, it passes to ‘delete’ status (i can look it by vTaskList()) but allocated memory is not freed (like i’d want). Someone can help me? I am using: heap3 and #define INCLUDE_vTaskPrioritySet 1 #define INCLUDE_uxTaskPriorityGet 1 #define INCLUDE_vTaskDelete 1 #define INCLUDE_vTaskCleanUpResources 1 #define INCLUDE_vTaskSuspend 1 #define INCLUDE_vTaskDelayUntil 1 #define INCLUDE_vTaskDelay 1 #define INCLUDE_xTaskGetCurrentTaskHandle 1 Bye.
memory is free by prvCheckTasksWaitingTermination in idle task
Thank you a lot. Your hint reminded me that I used a while(1) in the idle task => prvCheckTasksWaitingTermination never was called. Thanks again.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.