From bf046c15f756ac204071bdac04637a3a9d5344ed Mon Sep 17 00:00:00 2001 From: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com> Date: Mon, 10 Jun 2024 21:00:21 +0530 Subject: [PATCH] Fix unit test for kernel PR #1082 (#1228) Signed-off-by: Gaurav Aggarwal --- FreeRTOS/Test/CMock/tasks/tasks_freertos/FreeRTOS.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/FreeRTOS/Test/CMock/tasks/tasks_freertos/FreeRTOS.h b/FreeRTOS/Test/CMock/tasks/tasks_freertos/FreeRTOS.h index bd7b65c103..64d8304a43 100644 --- a/FreeRTOS/Test/CMock/tasks/tasks_freertos/FreeRTOS.h +++ b/FreeRTOS/Test/CMock/tasks/tasks_freertos/FreeRTOS.h @@ -565,6 +565,13 @@ #define traceTASK_SWITCHED_IN() #endif +#ifndef traceSTARTING_SCHEDULER + +/* Called after all idle tasks and timer task (if enabled) have been created + * successfully, just before the scheduler is started. */ + #define traceSTARTING_SCHEDULER( xIdleTaskHandles ) +#endif + #ifndef traceINCREASE_TICK_COUNT /* Called before stepping the tick count after waking from tickless idle