diff options
author | Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com> | 2022-06-21 10:15:26 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-21 22:45:26 +0530 |
commit | c472c08d3debcddd27e90c78a0ad967de39f2f55 (patch) | |
tree | c3c2df9b122788dfee93cc46858caae0d6bfd09d /FreeRTOS/Test | |
parent | 73fab252c40b5db9d259b7e4adf3e3b61f05359d (diff) | |
download | freertos-git-c472c08d3debcddd27e90c78a0ad967de39f2f55.tar.gz |
Define INCLUDE_xTaskGetCurrentTaskHandle in FreeRTOSConfig.h (#822)
* Define INCLUDE_xTaskGetCurrentTaskHandle in FreeRTOSConfig.h
This is needed to fix build issues in https://github.com/FreeRTOS/FreeRTOS-Kernel/pull/507
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
* Fix header check
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
Diffstat (limited to 'FreeRTOS/Test')
-rw-r--r-- | FreeRTOS/Test/CMock/config/FreeRTOSConfig.h | 1 | ||||
-rw-r--r-- | FreeRTOS/Test/CMock/message_buffer/size_mismatch/FreeRTOSConfig.h | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/FreeRTOS/Test/CMock/config/FreeRTOSConfig.h b/FreeRTOS/Test/CMock/config/FreeRTOSConfig.h index 2a755725a..91341c1f2 100644 --- a/FreeRTOS/Test/CMock/config/FreeRTOSConfig.h +++ b/FreeRTOS/Test/CMock/config/FreeRTOSConfig.h @@ -112,6 +112,7 @@ void vConfigureTimerForRunTimeStats( void ); /* Prototype of function that in #define INCLUDE_xSemaphoreGetMutexHolder 1 #define INCLUDE_xTimerPendFunctionCall 1 #define INCLUDE_xTaskAbortDelay 1 +#define INCLUDE_xTaskGetCurrentTaskHandle 1 /* It is a good idea to define configASSERT() while developing. configASSERT() * uses the same semantics as the standard C assert() macro. */ diff --git a/FreeRTOS/Test/CMock/message_buffer/size_mismatch/FreeRTOSConfig.h b/FreeRTOS/Test/CMock/message_buffer/size_mismatch/FreeRTOSConfig.h index 7b89b8947..9368ae30c 100644 --- a/FreeRTOS/Test/CMock/message_buffer/size_mismatch/FreeRTOSConfig.h +++ b/FreeRTOS/Test/CMock/message_buffer/size_mismatch/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - * FreeRTOS V202111.00 + * FreeRTOS V202112.00 * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy of @@ -114,6 +114,7 @@ void vConfigureTimerForRunTimeStats( void ); /* Prototype of function that in #define INCLUDE_xSemaphoreGetMutexHolder 1 #define INCLUDE_xTimerPendFunctionCall 1 #define INCLUDE_xTaskAbortDelay 1 +#define INCLUDE_xTaskGetCurrentTaskHandle 1 /* It is a good idea to define configASSERT() while developing. configASSERT() * uses the same semantics as the standard C assert() macro. */ |