summaryrefslogtreecommitdiff
path: root/common/src/tx_thread_stack_error_notify.c
diff options
context:
space:
mode:
authorBo Chen <[email protected]>2021-06-02 06:45:05 +0000
committerBo Chen <[email protected]>2021-06-02 06:45:05 +0000
commitf5056f4923410b99c87ab909d24ae77bf41923b6 (patch)
treeb5b5e518b7c36a74a962bfb36f0288c0d1bc0fe7 /common/src/tx_thread_stack_error_notify.c
parentd759e6bb9e040bc9f973ef706dc7b0a9c68be916 (diff)
Release 6.1.7
Diffstat (limited to 'common/src/tx_thread_stack_error_notify.c')
-rw-r--r--common/src/tx_thread_stack_error_notify.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/common/src/tx_thread_stack_error_notify.c b/common/src/tx_thread_stack_error_notify.c
index a66eab56..6142bad3 100644
--- a/common/src/tx_thread_stack_error_notify.c
+++ b/common/src/tx_thread_stack_error_notify.c
@@ -26,6 +26,7 @@
/* Include necessary system files. */
#include "tx_api.h"
+#ifndef TX_PORT_THREAD_STACK_ERROR_NOTIFY
#include "tx_thread.h"
#ifdef TX_ENABLE_STACK_CHECKING
#include "tx_trace.h"
@@ -37,7 +38,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_stack_error_notify PORTABLE C */
-/* 6.1 */
+/* 6.1.7 */
/* AUTHOR */
/* */
/* William E. Lamie, Microsoft Corporation */
@@ -74,6 +75,10 @@
/* 05-19-2020 William E. Lamie Initial Version 6.0 */
/* 09-30-2020 Yuxin Zhou Modified comment(s), */
/* resulting in version 6.1 */
+/* 06-02-2021 Yuxin Zhou Modified comment(s), added */
+/* conditional compilation */
+/* for ARMv8-M (Cortex M23/33) */
+/* resulting in version 6.1.7 */
/* */
/**************************************************************************/
UINT _tx_thread_stack_error_notify(VOID (*stack_error_handler)(TX_THREAD *thread_ptr))
@@ -125,3 +130,4 @@ TX_INTERRUPT_SAVE_AREA
#endif
}
+#endif /* TX_PORT_THREAD_STACK_ERROR_NOTIFY */