summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiejunZhou <[email protected]>2023-04-24 09:33:00 +0800
committerGitHub <[email protected]>2023-04-24 09:33:00 +0800
commite2a8334f9623bcb9b351cb2dd404bac22185e269 (patch)
tree37d812d47b3ff3b19bca09de06fd202b4899b39a
parent7a3bb8311ba3a35bf138822852033264703db047 (diff)
Include tx_user.h in cortex_m3/4/7 IAR and AC5 port (#255)
* Include tx_user.h in ARMv7-M IAR port * Include tx_user.h in ARMv7-M AC5 port * Include tx_user.h in cortex_m3/4/7 IAR and AC5 port
-rw-r--r--.gitignore5
-rw-r--r--ports/cortex_m3/ac5/src/tx_thread_context_restore.s8
-rw-r--r--ports/cortex_m3/ac5/src/tx_thread_context_save.s8
-rw-r--r--ports/cortex_m3/ac5/src/tx_thread_interrupt_control.s8
-rw-r--r--ports/cortex_m3/ac5/src/tx_thread_interrupt_disable.s8
-rw-r--r--ports/cortex_m3/ac5/src/tx_thread_interrupt_restore.s8
-rw-r--r--ports/cortex_m3/ac5/src/tx_thread_schedule.s8
-rw-r--r--ports/cortex_m3/ac5/src/tx_thread_stack_build.s8
-rw-r--r--ports/cortex_m3/ac5/src/tx_thread_system_return.s8
-rw-r--r--ports/cortex_m3/ac5/src/tx_timer_interrupt.s8
-rw-r--r--ports/cortex_m3/iar/src/tx_misra.s4
-rw-r--r--ports/cortex_m3/iar/src/tx_thread_context_restore.s8
-rw-r--r--ports/cortex_m3/iar/src/tx_thread_context_save.s8
-rw-r--r--ports/cortex_m3/iar/src/tx_thread_interrupt_control.s8
-rw-r--r--ports/cortex_m3/iar/src/tx_thread_interrupt_disable.s8
-rw-r--r--ports/cortex_m3/iar/src/tx_thread_interrupt_restore.s8
-rw-r--r--ports/cortex_m3/iar/src/tx_thread_schedule.s8
-rw-r--r--ports/cortex_m3/iar/src/tx_thread_stack_build.s8
-rw-r--r--ports/cortex_m3/iar/src/tx_thread_system_return.s8
-rw-r--r--ports/cortex_m3/iar/src/tx_timer_interrupt.s8
-rw-r--r--ports/cortex_m4/ac5/src/tx_thread_context_restore.s8
-rw-r--r--ports/cortex_m4/ac5/src/tx_thread_context_save.s8
-rw-r--r--ports/cortex_m4/ac5/src/tx_thread_interrupt_control.s8
-rw-r--r--ports/cortex_m4/ac5/src/tx_thread_interrupt_disable.s8
-rw-r--r--ports/cortex_m4/ac5/src/tx_thread_interrupt_restore.s8
-rw-r--r--ports/cortex_m4/ac5/src/tx_thread_schedule.s8
-rw-r--r--ports/cortex_m4/ac5/src/tx_thread_stack_build.s8
-rw-r--r--ports/cortex_m4/ac5/src/tx_thread_system_return.s8
-rw-r--r--ports/cortex_m4/ac5/src/tx_timer_interrupt.s8
-rw-r--r--ports/cortex_m4/iar/src/tx_misra.s4
-rw-r--r--ports/cortex_m4/iar/src/tx_thread_context_restore.s8
-rw-r--r--ports/cortex_m4/iar/src/tx_thread_context_save.s8
-rw-r--r--ports/cortex_m4/iar/src/tx_thread_interrupt_control.s8
-rw-r--r--ports/cortex_m4/iar/src/tx_thread_interrupt_disable.s8
-rw-r--r--ports/cortex_m4/iar/src/tx_thread_interrupt_restore.s8
-rw-r--r--ports/cortex_m4/iar/src/tx_thread_schedule.s8
-rw-r--r--ports/cortex_m4/iar/src/tx_thread_stack_build.s8
-rw-r--r--ports/cortex_m4/iar/src/tx_thread_system_return.s8
-rw-r--r--ports/cortex_m4/iar/src/tx_timer_interrupt.s8
-rw-r--r--ports/cortex_m7/ac5/src/tx_thread_context_restore.s8
-rw-r--r--ports/cortex_m7/ac5/src/tx_thread_context_save.s8
-rw-r--r--ports/cortex_m7/ac5/src/tx_thread_interrupt_control.s8
-rw-r--r--ports/cortex_m7/ac5/src/tx_thread_interrupt_disable.s8
-rw-r--r--ports/cortex_m7/ac5/src/tx_thread_interrupt_restore.s8
-rw-r--r--ports/cortex_m7/ac5/src/tx_thread_schedule.s8
-rw-r--r--ports/cortex_m7/ac5/src/tx_thread_stack_build.s8
-rw-r--r--ports/cortex_m7/ac5/src/tx_thread_system_return.s8
-rw-r--r--ports/cortex_m7/ac5/src/tx_timer_interrupt.s8
-rw-r--r--ports/cortex_m7/iar/src/tx_misra.s4
-rw-r--r--ports/cortex_m7/iar/src/tx_thread_context_restore.s8
-rw-r--r--ports/cortex_m7/iar/src/tx_thread_context_save.s8
-rw-r--r--ports/cortex_m7/iar/src/tx_thread_interrupt_control.s8
-rw-r--r--ports/cortex_m7/iar/src/tx_thread_interrupt_disable.s8
-rw-r--r--ports/cortex_m7/iar/src/tx_thread_interrupt_restore.s8
-rw-r--r--ports/cortex_m7/iar/src/tx_thread_schedule.s8
-rw-r--r--ports/cortex_m7/iar/src/tx_thread_stack_build.s8
-rw-r--r--ports/cortex_m7/iar/src/tx_thread_system_return.s8
-rw-r--r--ports/cortex_m7/iar/src/tx_timer_interrupt.s8
-rw-r--r--ports_arch/ARMv7-M/threadx/ac5/src/tx_thread_context_restore.s8
-rw-r--r--ports_arch/ARMv7-M/threadx/ac5/src/tx_thread_context_save.s8
-rw-r--r--ports_arch/ARMv7-M/threadx/ac5/src/tx_thread_interrupt_control.s8
-rw-r--r--ports_arch/ARMv7-M/threadx/ac5/src/tx_thread_interrupt_disable.s8
-rw-r--r--ports_arch/ARMv7-M/threadx/ac5/src/tx_thread_interrupt_restore.s8
-rw-r--r--ports_arch/ARMv7-M/threadx/ac5/src/tx_thread_schedule.s8
-rw-r--r--ports_arch/ARMv7-M/threadx/ac5/src/tx_thread_stack_build.s8
-rw-r--r--ports_arch/ARMv7-M/threadx/ac5/src/tx_thread_system_return.s8
-rw-r--r--ports_arch/ARMv7-M/threadx/ac5/src/tx_timer_interrupt.s8
-rw-r--r--ports_arch/ARMv7-M/threadx/iar/src/tx_misra.s4
-rw-r--r--ports_arch/ARMv7-M/threadx/iar/src/tx_thread_context_restore.s8
-rw-r--r--ports_arch/ARMv7-M/threadx/iar/src/tx_thread_context_save.s8
-rw-r--r--ports_arch/ARMv7-M/threadx/iar/src/tx_thread_interrupt_control.s8
-rw-r--r--ports_arch/ARMv7-M/threadx/iar/src/tx_thread_interrupt_disable.s8
-rw-r--r--ports_arch/ARMv7-M/threadx/iar/src/tx_thread_interrupt_restore.s8
-rw-r--r--ports_arch/ARMv7-M/threadx/iar/src/tx_thread_schedule.s8
-rw-r--r--ports_arch/ARMv7-M/threadx/iar/src/tx_thread_stack_build.s8
-rw-r--r--ports_arch/ARMv7-M/threadx/iar/src/tx_thread_system_return.s8
-rw-r--r--ports_arch/ARMv7-M/threadx/iar/src/tx_timer_interrupt.s8
-rw-r--r--ports_module/cortex_m3/ac5/module_manager/src/tx_thread_context_restore.s8
-rw-r--r--ports_module/cortex_m3/ac5/module_manager/src/tx_thread_context_save.s8
-rw-r--r--ports_module/cortex_m3/ac5/module_manager/src/tx_thread_interrupt_control.s8
-rw-r--r--ports_module/cortex_m3/ac5/module_manager/src/tx_thread_interrupt_disable.s8
-rw-r--r--ports_module/cortex_m3/ac5/module_manager/src/tx_thread_interrupt_restore.s8
-rw-r--r--ports_module/cortex_m3/ac5/module_manager/src/tx_thread_stack_build.s8
-rw-r--r--ports_module/cortex_m3/ac5/module_manager/src/tx_thread_system_return.s8
-rw-r--r--ports_module/cortex_m3/ac5/module_manager/src/tx_timer_interrupt.s8
-rw-r--r--ports_module/cortex_m3/iar/module_manager/src/tx_thread_context_restore.s8
-rw-r--r--ports_module/cortex_m3/iar/module_manager/src/tx_thread_context_save.s8
-rw-r--r--ports_module/cortex_m3/iar/module_manager/src/tx_thread_interrupt_control.s8
-rw-r--r--ports_module/cortex_m3/iar/module_manager/src/tx_thread_interrupt_disable.s8
-rw-r--r--ports_module/cortex_m3/iar/module_manager/src/tx_thread_interrupt_restore.s8
-rw-r--r--ports_module/cortex_m3/iar/module_manager/src/tx_thread_stack_build.s8
-rw-r--r--ports_module/cortex_m3/iar/module_manager/src/tx_thread_system_return.s8
-rw-r--r--ports_module/cortex_m3/iar/module_manager/src/tx_timer_interrupt.s8
-rw-r--r--ports_module/cortex_m4/ac5/module_manager/src/tx_thread_context_restore.s8
-rw-r--r--ports_module/cortex_m4/ac5/module_manager/src/tx_thread_context_save.s8
-rw-r--r--ports_module/cortex_m4/ac5/module_manager/src/tx_thread_interrupt_control.s8
-rw-r--r--ports_module/cortex_m4/ac5/module_manager/src/tx_thread_interrupt_disable.s8
-rw-r--r--ports_module/cortex_m4/ac5/module_manager/src/tx_thread_interrupt_restore.s8
-rw-r--r--ports_module/cortex_m4/ac5/module_manager/src/tx_thread_stack_build.s8
-rw-r--r--ports_module/cortex_m4/ac5/module_manager/src/tx_thread_system_return.s8
-rw-r--r--ports_module/cortex_m4/ac5/module_manager/src/tx_timer_interrupt.s8
-rw-r--r--ports_module/cortex_m4/iar/module_manager/src/tx_thread_context_restore.s8
-rw-r--r--ports_module/cortex_m4/iar/module_manager/src/tx_thread_context_save.s8
-rw-r--r--ports_module/cortex_m4/iar/module_manager/src/tx_thread_interrupt_control.s8
-rw-r--r--ports_module/cortex_m4/iar/module_manager/src/tx_thread_interrupt_disable.s8
-rw-r--r--ports_module/cortex_m4/iar/module_manager/src/tx_thread_interrupt_restore.s8
-rw-r--r--ports_module/cortex_m4/iar/module_manager/src/tx_thread_stack_build.s8
-rw-r--r--ports_module/cortex_m4/iar/module_manager/src/tx_thread_system_return.s8
-rw-r--r--ports_module/cortex_m4/iar/module_manager/src/tx_timer_interrupt.s8
-rw-r--r--ports_module/cortex_m7/ac5/module_manager/src/tx_thread_context_restore.s8
-rw-r--r--ports_module/cortex_m7/ac5/module_manager/src/tx_thread_context_save.s8
-rw-r--r--ports_module/cortex_m7/ac5/module_manager/src/tx_thread_interrupt_control.s8
-rw-r--r--ports_module/cortex_m7/ac5/module_manager/src/tx_thread_interrupt_disable.s8
-rw-r--r--ports_module/cortex_m7/ac5/module_manager/src/tx_thread_interrupt_restore.s8
-rw-r--r--ports_module/cortex_m7/ac5/module_manager/src/tx_thread_stack_build.s8
-rw-r--r--ports_module/cortex_m7/ac5/module_manager/src/tx_thread_system_return.s8
-rw-r--r--ports_module/cortex_m7/ac5/module_manager/src/tx_timer_interrupt.s8
-rw-r--r--ports_module/cortex_m7/iar/module_manager/src/tx_thread_context_restore.s8
-rw-r--r--ports_module/cortex_m7/iar/module_manager/src/tx_thread_context_save.s8
-rw-r--r--ports_module/cortex_m7/iar/module_manager/src/tx_thread_interrupt_control.s8
-rw-r--r--ports_module/cortex_m7/iar/module_manager/src/tx_thread_interrupt_disable.s8
-rw-r--r--ports_module/cortex_m7/iar/module_manager/src/tx_thread_interrupt_restore.s8
-rw-r--r--ports_module/cortex_m7/iar/module_manager/src/tx_thread_stack_build.s8
-rw-r--r--ports_module/cortex_m7/iar/module_manager/src/tx_thread_system_return.s8
-rw-r--r--ports_module/cortex_m7/iar/module_manager/src/tx_timer_interrupt.s8
-rw-r--r--test/ports/azrtos_setenv_ac5.bat16
126 files changed, 873 insertions, 124 deletions
diff --git a/.gitignore b/.gitignore
index 204b6944..8acaf0df 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,4 +13,9 @@ install_manifest.txt
compile_commands.json
CTestTestfile.cmake
*.dep
+*.o
+*.axf
+*.map
+*.a
+*.htm
diff --git a/ports/cortex_m3/ac5/src/tx_thread_context_restore.s b/ports/cortex_m3/ac5/src/tx_thread_context_restore.s
index aa2f30a4..d9ee6d73 100644
--- a/ports/cortex_m3/ac5/src/tx_thread_context_restore.s
+++ b/ports/cortex_m3/ac5/src/tx_thread_context_restore.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
#if (defined(TX_ENABLE_EXECUTION_CHANGE_NOTIFY) || defined(TX_EXECUTION_PROFILE_ENABLE))
IMPORT _tx_execution_isr_exit
#endif
@@ -31,7 +35,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_context_restore Cortex-M3/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -62,6 +66,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_context_restore(VOID)
diff --git a/ports/cortex_m3/ac5/src/tx_thread_context_save.s b/ports/cortex_m3/ac5/src/tx_thread_context_save.s
index 78cbc3c9..812f4b69 100644
--- a/ports/cortex_m3/ac5/src/tx_thread_context_save.s
+++ b/ports/cortex_m3/ac5/src/tx_thread_context_save.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
#if (defined(TX_ENABLE_EXECUTION_CHANGE_NOTIFY) || defined(TX_EXECUTION_PROFILE_ENABLE))
IMPORT _tx_execution_isr_enter
#endif
@@ -31,7 +35,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_context_save Cortex-M3/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -62,6 +66,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_context_save(VOID)
diff --git a/ports/cortex_m3/ac5/src/tx_thread_interrupt_control.s b/ports/cortex_m3/ac5/src/tx_thread_interrupt_control.s
index bca3df55..40a6203d 100644
--- a/ports/cortex_m3/ac5/src/tx_thread_interrupt_control.s
+++ b/ports/cortex_m3/ac5/src/tx_thread_interrupt_control.s
@@ -20,13 +20,17 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
AREA ||.text||, CODE, READONLY
/**************************************************************************/
/* */
/* FUNCTION RELEASE */
/* */
/* _tx_thread_interrupt_control Cortex-M3/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -57,6 +61,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// UINT _tx_thread_interrupt_control(UINT new_posture)
diff --git a/ports/cortex_m3/ac5/src/tx_thread_interrupt_disable.s b/ports/cortex_m3/ac5/src/tx_thread_interrupt_disable.s
index 6a9c4c8e..0306dde5 100644
--- a/ports/cortex_m3/ac5/src/tx_thread_interrupt_disable.s
+++ b/ports/cortex_m3/ac5/src/tx_thread_interrupt_disable.s
@@ -20,13 +20,17 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
AREA ||.text||, CODE, READONLY
/**************************************************************************/
/* */
/* FUNCTION RELEASE */
/* */
/* _tx_thread_interrupt_disable Cortex-M3/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -57,6 +61,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// UINT _tx_thread_interrupt_disable(VOID)
diff --git a/ports/cortex_m3/ac5/src/tx_thread_interrupt_restore.s b/ports/cortex_m3/ac5/src/tx_thread_interrupt_restore.s
index ca929f18..8f172d17 100644
--- a/ports/cortex_m3/ac5/src/tx_thread_interrupt_restore.s
+++ b/ports/cortex_m3/ac5/src/tx_thread_interrupt_restore.s
@@ -20,13 +20,17 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
AREA ||.text||, CODE, READONLY
/**************************************************************************/
/* */
/* FUNCTION RELEASE */
/* */
/* _tx_thread_interrupt_restore Cortex-M3/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -57,6 +61,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_interrupt_restore(UINT previous_posture)
diff --git a/ports/cortex_m3/ac5/src/tx_thread_schedule.s b/ports/cortex_m3/ac5/src/tx_thread_schedule.s
index 7646d41d..31d8c876 100644
--- a/ports/cortex_m3/ac5/src/tx_thread_schedule.s
+++ b/ports/cortex_m3/ac5/src/tx_thread_schedule.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
IMPORT _tx_thread_current_ptr
IMPORT _tx_thread_execute_ptr
IMPORT _tx_timer_time_slice
@@ -37,7 +41,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_schedule Cortex-M3/AC5 */
-/* 6.1.11 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -72,6 +76,8 @@
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
/* 04-25-2022 Scott Larson Added BASEPRI support, */
/* resulting in version 6.1.11 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_schedule(VOID)
diff --git a/ports/cortex_m3/ac5/src/tx_thread_stack_build.s b/ports/cortex_m3/ac5/src/tx_thread_stack_build.s
index 3c263ba8..773f70e7 100644
--- a/ports/cortex_m3/ac5/src/tx_thread_stack_build.s
+++ b/ports/cortex_m3/ac5/src/tx_thread_stack_build.s
@@ -20,13 +20,17 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
AREA ||.text||, CODE, READONLY
/**************************************************************************/
/* */
/* FUNCTION RELEASE */
/* */
/* _tx_thread_stack_build Cortex-M3/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -59,6 +63,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_stack_build(TX_THREAD *thread_ptr, VOID (*function_ptr)(VOID))
diff --git a/ports/cortex_m3/ac5/src/tx_thread_system_return.s b/ports/cortex_m3/ac5/src/tx_thread_system_return.s
index 6b7d3ec3..bfc19703 100644
--- a/ports/cortex_m3/ac5/src/tx_thread_system_return.s
+++ b/ports/cortex_m3/ac5/src/tx_thread_system_return.s
@@ -20,13 +20,17 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
AREA ||.text||, CODE, READONLY
/**************************************************************************/
/* */
/* FUNCTION RELEASE */
/* */
/* _tx_thread_system_return Cortex-M3/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -59,6 +63,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_system_return(VOID)
diff --git a/ports/cortex_m3/ac5/src/tx_timer_interrupt.s b/ports/cortex_m3/ac5/src/tx_timer_interrupt.s
index bfab75e6..a9b191e9 100644
--- a/ports/cortex_m3/ac5/src/tx_timer_interrupt.s
+++ b/ports/cortex_m3/ac5/src/tx_timer_interrupt.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
IMPORT _tx_timer_time_slice
IMPORT _tx_timer_system_clock
IMPORT _tx_timer_current_ptr
@@ -40,7 +44,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_timer_interrupt Cortex-M3/AC5 */
-/* 6.1.10 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -77,6 +81,8 @@
/* 01-31-2022 Scott Larson Modified comment(s), added */
/* TX_NO_TIMER support, */
/* resulting in version 6.1.10 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_timer_interrupt(VOID)
diff --git a/ports/cortex_m3/iar/src/tx_misra.s b/ports/cortex_m3/iar/src/tx_misra.s
index ab3fef69..0a912b6e 100644
--- a/ports/cortex_m3/iar/src/tx_misra.s
+++ b/ports/cortex_m3/iar/src/tx_misra.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
#define SHT_PROGBITS 0x1
EXTERN __aeabi_memset
diff --git a/ports/cortex_m3/iar/src/tx_thread_context_restore.s b/ports/cortex_m3/iar/src/tx_thread_context_restore.s
index 992585eb..eedeb38c 100644
--- a/ports/cortex_m3/iar/src/tx_thread_context_restore.s
+++ b/ports/cortex_m3/iar/src/tx_thread_context_restore.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
EXTERN _tx_execution_isr_exit
SECTION `.text`:CODE:NOROOT(2)
THUMB
@@ -28,7 +32,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_context_restore Cortex-M3/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -59,6 +63,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_context_restore(VOID)
diff --git a/ports/cortex_m3/iar/src/tx_thread_context_save.s b/ports/cortex_m3/iar/src/tx_thread_context_save.s
index cae664e0..a7b3f178 100644
--- a/ports/cortex_m3/iar/src/tx_thread_context_save.s
+++ b/ports/cortex_m3/iar/src/tx_thread_context_save.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
EXTERN _tx_execution_isr_enter
SECTION `.text`:CODE:NOROOT(2)
THUMB
@@ -28,7 +32,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_context_save Cortex-M3/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -59,6 +63,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_context_save(VOID)
diff --git a/ports/cortex_m3/iar/src/tx_thread_interrupt_control.s b/ports/cortex_m3/iar/src/tx_thread_interrupt_control.s
index 8886a66b..c98ded67 100644
--- a/ports/cortex_m3/iar/src/tx_thread_interrupt_control.s
+++ b/ports/cortex_m3/iar/src/tx_thread_interrupt_control.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
@@ -27,7 +31,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_interrupt_control Cortex-M3/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -58,6 +62,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// UINT _tx_thread_interrupt_control(UINT new_posture)
diff --git a/ports/cortex_m3/iar/src/tx_thread_interrupt_disable.s b/ports/cortex_m3/iar/src/tx_thread_interrupt_disable.s
index d27465a3..08c875f2 100644
--- a/ports/cortex_m3/iar/src/tx_thread_interrupt_disable.s
+++ b/ports/cortex_m3/iar/src/tx_thread_interrupt_disable.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
@@ -27,7 +31,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_interrupt_disable Cortex-M3/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -58,6 +62,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// UINT _tx_thread_interrupt_disable(VOID)
diff --git a/ports/cortex_m3/iar/src/tx_thread_interrupt_restore.s b/ports/cortex_m3/iar/src/tx_thread_interrupt_restore.s
index 9f4525f0..b542136c 100644
--- a/ports/cortex_m3/iar/src/tx_thread_interrupt_restore.s
+++ b/ports/cortex_m3/iar/src/tx_thread_interrupt_restore.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
@@ -27,7 +31,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_interrupt_restore Cortex-M3/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -58,6 +62,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_interrupt_restore(UINT previous_posture)
diff --git a/ports/cortex_m3/iar/src/tx_thread_schedule.s b/ports/cortex_m3/iar/src/tx_thread_schedule.s
index a40434c2..940319a1 100644
--- a/ports/cortex_m3/iar/src/tx_thread_schedule.s
+++ b/ports/cortex_m3/iar/src/tx_thread_schedule.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
EXTERN _tx_thread_current_ptr
EXTERN _tx_thread_execute_ptr
EXTERN _tx_timer_time_slice
@@ -37,7 +41,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_schedule Cortex-M3/IAR */
-/* 6.1.11 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -72,6 +76,8 @@
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
/* 04-25-2022 Scott Larson Added BASEPRI support, */
/* resulting in version 6.1.11 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_schedule(VOID)
diff --git a/ports/cortex_m3/iar/src/tx_thread_stack_build.s b/ports/cortex_m3/iar/src/tx_thread_stack_build.s
index 5005363e..93db053d 100644
--- a/ports/cortex_m3/iar/src/tx_thread_stack_build.s
+++ b/ports/cortex_m3/iar/src/tx_thread_stack_build.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
@@ -27,7 +31,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_stack_build Cortex-M3/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -60,6 +64,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_stack_build(TX_THREAD *thread_ptr, VOID (*function_ptr)(VOID))
diff --git a/ports/cortex_m3/iar/src/tx_thread_system_return.s b/ports/cortex_m3/iar/src/tx_thread_system_return.s
index 0c2ae9bf..48088520 100644
--- a/ports/cortex_m3/iar/src/tx_thread_system_return.s
+++ b/ports/cortex_m3/iar/src/tx_thread_system_return.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
@@ -27,7 +31,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_system_return Cortex-M3/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -60,6 +64,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_system_return(VOID)
diff --git a/ports/cortex_m3/iar/src/tx_timer_interrupt.s b/ports/cortex_m3/iar/src/tx_timer_interrupt.s
index 29ee9a3a..f8f5b40f 100644
--- a/ports/cortex_m3/iar/src/tx_timer_interrupt.s
+++ b/ports/cortex_m3/iar/src/tx_timer_interrupt.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
EXTERN _tx_timer_time_slice
EXTERN _tx_timer_system_clock
EXTERN _tx_timer_current_ptr
@@ -40,7 +44,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_timer_interrupt Cortex-M3/IAR */
-/* 6.1.10 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -77,6 +81,8 @@
/* 01-31-2022 Scott Larson Modified comment(s), added */
/* TX_NO_TIMER support, */
/* resulting in version 6.1.10 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_timer_interrupt(VOID)
diff --git a/ports/cortex_m4/ac5/src/tx_thread_context_restore.s b/ports/cortex_m4/ac5/src/tx_thread_context_restore.s
index 8576cae4..bdd0a33d 100644
--- a/ports/cortex_m4/ac5/src/tx_thread_context_restore.s
+++ b/ports/cortex_m4/ac5/src/tx_thread_context_restore.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
#if (defined(TX_ENABLE_EXECUTION_CHANGE_NOTIFY) || defined(TX_EXECUTION_PROFILE_ENABLE))
IMPORT _tx_execution_isr_exit
#endif
@@ -31,7 +35,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_context_restore Cortex-M4/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -62,6 +66,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_context_restore(VOID)
diff --git a/ports/cortex_m4/ac5/src/tx_thread_context_save.s b/ports/cortex_m4/ac5/src/tx_thread_context_save.s
index 4fded670..f9f811a2 100644
--- a/ports/cortex_m4/ac5/src/tx_thread_context_save.s
+++ b/ports/cortex_m4/ac5/src/tx_thread_context_save.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
#if (defined(TX_ENABLE_EXECUTION_CHANGE_NOTIFY) || defined(TX_EXECUTION_PROFILE_ENABLE))
IMPORT _tx_execution_isr_enter
#endif
@@ -31,7 +35,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_context_save Cortex-M4/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -62,6 +66,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_context_save(VOID)
diff --git a/ports/cortex_m4/ac5/src/tx_thread_interrupt_control.s b/ports/cortex_m4/ac5/src/tx_thread_interrupt_control.s
index 7f66f181..4cce1c75 100644
--- a/ports/cortex_m4/ac5/src/tx_thread_interrupt_control.s
+++ b/ports/cortex_m4/ac5/src/tx_thread_interrupt_control.s
@@ -20,13 +20,17 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
AREA ||.text||, CODE, READONLY
/**************************************************************************/
/* */
/* FUNCTION RELEASE */
/* */
/* _tx_thread_interrupt_control Cortex-M4/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -57,6 +61,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// UINT _tx_thread_interrupt_control(UINT new_posture)
diff --git a/ports/cortex_m4/ac5/src/tx_thread_interrupt_disable.s b/ports/cortex_m4/ac5/src/tx_thread_interrupt_disable.s
index 4712f26b..ef998a75 100644
--- a/ports/cortex_m4/ac5/src/tx_thread_interrupt_disable.s
+++ b/ports/cortex_m4/ac5/src/tx_thread_interrupt_disable.s
@@ -20,13 +20,17 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
AREA ||.text||, CODE, READONLY
/**************************************************************************/
/* */
/* FUNCTION RELEASE */
/* */
/* _tx_thread_interrupt_disable Cortex-M4/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -57,6 +61,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// UINT _tx_thread_interrupt_disable(VOID)
diff --git a/ports/cortex_m4/ac5/src/tx_thread_interrupt_restore.s b/ports/cortex_m4/ac5/src/tx_thread_interrupt_restore.s
index a30922c3..f22dc239 100644
--- a/ports/cortex_m4/ac5/src/tx_thread_interrupt_restore.s
+++ b/ports/cortex_m4/ac5/src/tx_thread_interrupt_restore.s
@@ -20,13 +20,17 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
AREA ||.text||, CODE, READONLY
/**************************************************************************/
/* */
/* FUNCTION RELEASE */
/* */
/* _tx_thread_interrupt_restore Cortex-M4/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -57,6 +61,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_interrupt_restore(UINT previous_posture)
diff --git a/ports/cortex_m4/ac5/src/tx_thread_schedule.s b/ports/cortex_m4/ac5/src/tx_thread_schedule.s
index 122460e2..1be3007b 100644
--- a/ports/cortex_m4/ac5/src/tx_thread_schedule.s
+++ b/ports/cortex_m4/ac5/src/tx_thread_schedule.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
IMPORT _tx_thread_current_ptr
IMPORT _tx_thread_execute_ptr
IMPORT _tx_timer_time_slice
@@ -37,7 +41,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_schedule Cortex-M4/AC5 */
-/* 6.1.11 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -72,6 +76,8 @@
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
/* 04-25-2022 Scott Larson Added BASEPRI support, */
/* resulting in version 6.1.11 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_schedule(VOID)
diff --git a/ports/cortex_m4/ac5/src/tx_thread_stack_build.s b/ports/cortex_m4/ac5/src/tx_thread_stack_build.s
index 6336aad6..a07b8a89 100644
--- a/ports/cortex_m4/ac5/src/tx_thread_stack_build.s
+++ b/ports/cortex_m4/ac5/src/tx_thread_stack_build.s
@@ -20,13 +20,17 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
AREA ||.text||, CODE, READONLY
/**************************************************************************/
/* */
/* FUNCTION RELEASE */
/* */
/* _tx_thread_stack_build Cortex-M4/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -59,6 +63,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_stack_build(TX_THREAD *thread_ptr, VOID (*function_ptr)(VOID))
diff --git a/ports/cortex_m4/ac5/src/tx_thread_system_return.s b/ports/cortex_m4/ac5/src/tx_thread_system_return.s
index 9e28a138..82a708ec 100644
--- a/ports/cortex_m4/ac5/src/tx_thread_system_return.s
+++ b/ports/cortex_m4/ac5/src/tx_thread_system_return.s
@@ -20,13 +20,17 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
AREA ||.text||, CODE, READONLY
/**************************************************************************/
/* */
/* FUNCTION RELEASE */
/* */
/* _tx_thread_system_return Cortex-M4/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -59,6 +63,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_system_return(VOID)
diff --git a/ports/cortex_m4/ac5/src/tx_timer_interrupt.s b/ports/cortex_m4/ac5/src/tx_timer_interrupt.s
index 0fc3a6c3..91bf56ef 100644
--- a/ports/cortex_m4/ac5/src/tx_timer_interrupt.s
+++ b/ports/cortex_m4/ac5/src/tx_timer_interrupt.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
IMPORT _tx_timer_time_slice
IMPORT _tx_timer_system_clock
IMPORT _tx_timer_current_ptr
@@ -40,7 +44,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_timer_interrupt Cortex-M4/AC5 */
-/* 6.1.10 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -77,6 +81,8 @@
/* 01-31-2022 Scott Larson Modified comment(s), added */
/* TX_NO_TIMER support, */
/* resulting in version 6.1.10 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_timer_interrupt(VOID)
diff --git a/ports/cortex_m4/iar/src/tx_misra.s b/ports/cortex_m4/iar/src/tx_misra.s
index ab3fef69..0a912b6e 100644
--- a/ports/cortex_m4/iar/src/tx_misra.s
+++ b/ports/cortex_m4/iar/src/tx_misra.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
#define SHT_PROGBITS 0x1
EXTERN __aeabi_memset
diff --git a/ports/cortex_m4/iar/src/tx_thread_context_restore.s b/ports/cortex_m4/iar/src/tx_thread_context_restore.s
index 0fa97b59..a9749944 100644
--- a/ports/cortex_m4/iar/src/tx_thread_context_restore.s
+++ b/ports/cortex_m4/iar/src/tx_thread_context_restore.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
EXTERN _tx_execution_isr_exit
SECTION `.text`:CODE:NOROOT(2)
THUMB
@@ -28,7 +32,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_context_restore Cortex-M4/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -59,6 +63,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_context_restore(VOID)
diff --git a/ports/cortex_m4/iar/src/tx_thread_context_save.s b/ports/cortex_m4/iar/src/tx_thread_context_save.s
index e8ea6166..a0b66d02 100644
--- a/ports/cortex_m4/iar/src/tx_thread_context_save.s
+++ b/ports/cortex_m4/iar/src/tx_thread_context_save.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
EXTERN _tx_execution_isr_enter
SECTION `.text`:CODE:NOROOT(2)
THUMB
@@ -28,7 +32,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_context_save Cortex-M4/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -59,6 +63,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_context_save(VOID)
diff --git a/ports/cortex_m4/iar/src/tx_thread_interrupt_control.s b/ports/cortex_m4/iar/src/tx_thread_interrupt_control.s
index 04ca281a..19c0e566 100644
--- a/ports/cortex_m4/iar/src/tx_thread_interrupt_control.s
+++ b/ports/cortex_m4/iar/src/tx_thread_interrupt_control.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
@@ -27,7 +31,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_interrupt_control Cortex-M4/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -58,6 +62,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// UINT _tx_thread_interrupt_control(UINT new_posture)
diff --git a/ports/cortex_m4/iar/src/tx_thread_interrupt_disable.s b/ports/cortex_m4/iar/src/tx_thread_interrupt_disable.s
index 78fd91d2..80830bcf 100644
--- a/ports/cortex_m4/iar/src/tx_thread_interrupt_disable.s
+++ b/ports/cortex_m4/iar/src/tx_thread_interrupt_disable.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
@@ -27,7 +31,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_interrupt_disable Cortex-M4/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -58,6 +62,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// UINT _tx_thread_interrupt_disable(VOID)
diff --git a/ports/cortex_m4/iar/src/tx_thread_interrupt_restore.s b/ports/cortex_m4/iar/src/tx_thread_interrupt_restore.s
index 2ef3fb36..4f820df7 100644
--- a/ports/cortex_m4/iar/src/tx_thread_interrupt_restore.s
+++ b/ports/cortex_m4/iar/src/tx_thread_interrupt_restore.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
@@ -27,7 +31,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_interrupt_restore Cortex-M4/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -58,6 +62,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_interrupt_restore(UINT previous_posture)
diff --git a/ports/cortex_m4/iar/src/tx_thread_schedule.s b/ports/cortex_m4/iar/src/tx_thread_schedule.s
index 2d1b0298..8a42fb4c 100644
--- a/ports/cortex_m4/iar/src/tx_thread_schedule.s
+++ b/ports/cortex_m4/iar/src/tx_thread_schedule.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
EXTERN _tx_thread_current_ptr
EXTERN _tx_thread_execute_ptr
EXTERN _tx_timer_time_slice
@@ -37,7 +41,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_schedule Cortex-M4/IAR */
-/* 6.1.11 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -72,6 +76,8 @@
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
/* 04-25-2022 Scott Larson Added BASEPRI support, */
/* resulting in version 6.1.11 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_schedule(VOID)
diff --git a/ports/cortex_m4/iar/src/tx_thread_stack_build.s b/ports/cortex_m4/iar/src/tx_thread_stack_build.s
index 0a2ee915..963156d0 100644
--- a/ports/cortex_m4/iar/src/tx_thread_stack_build.s
+++ b/ports/cortex_m4/iar/src/tx_thread_stack_build.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
@@ -27,7 +31,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_stack_build Cortex-M4/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -60,6 +64,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_stack_build(TX_THREAD *thread_ptr, VOID (*function_ptr)(VOID))
diff --git a/ports/cortex_m4/iar/src/tx_thread_system_return.s b/ports/cortex_m4/iar/src/tx_thread_system_return.s
index b95770d5..705fa761 100644
--- a/ports/cortex_m4/iar/src/tx_thread_system_return.s
+++ b/ports/cortex_m4/iar/src/tx_thread_system_return.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
@@ -27,7 +31,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_system_return Cortex-M4/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -60,6 +64,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_system_return(VOID)
diff --git a/ports/cortex_m4/iar/src/tx_timer_interrupt.s b/ports/cortex_m4/iar/src/tx_timer_interrupt.s
index 1684e923..e3493f20 100644
--- a/ports/cortex_m4/iar/src/tx_timer_interrupt.s
+++ b/ports/cortex_m4/iar/src/tx_timer_interrupt.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
EXTERN _tx_timer_time_slice
EXTERN _tx_timer_system_clock
EXTERN _tx_timer_current_ptr
@@ -40,7 +44,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_timer_interrupt Cortex-M4/IAR */
-/* 6.1.10 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -77,6 +81,8 @@
/* 01-31-2022 Scott Larson Modified comment(s), added */
/* TX_NO_TIMER support, */
/* resulting in version 6.1.10 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_timer_interrupt(VOID)
diff --git a/ports/cortex_m7/ac5/src/tx_thread_context_restore.s b/ports/cortex_m7/ac5/src/tx_thread_context_restore.s
index 48c7afbf..ab9047f3 100644
--- a/ports/cortex_m7/ac5/src/tx_thread_context_restore.s
+++ b/ports/cortex_m7/ac5/src/tx_thread_context_restore.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
#if (defined(TX_ENABLE_EXECUTION_CHANGE_NOTIFY) || defined(TX_EXECUTION_PROFILE_ENABLE))
IMPORT _tx_execution_isr_exit
#endif
@@ -31,7 +35,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_context_restore Cortex-M7/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -62,6 +66,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_context_restore(VOID)
diff --git a/ports/cortex_m7/ac5/src/tx_thread_context_save.s b/ports/cortex_m7/ac5/src/tx_thread_context_save.s
index 1230e4e8..c1f9fb85 100644
--- a/ports/cortex_m7/ac5/src/tx_thread_context_save.s
+++ b/ports/cortex_m7/ac5/src/tx_thread_context_save.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
#if (defined(TX_ENABLE_EXECUTION_CHANGE_NOTIFY) || defined(TX_EXECUTION_PROFILE_ENABLE))
IMPORT _tx_execution_isr_enter
#endif
@@ -31,7 +35,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_context_save Cortex-M7/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -62,6 +66,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_context_save(VOID)
diff --git a/ports/cortex_m7/ac5/src/tx_thread_interrupt_control.s b/ports/cortex_m7/ac5/src/tx_thread_interrupt_control.s
index 4aec6856..42e093ac 100644
--- a/ports/cortex_m7/ac5/src/tx_thread_interrupt_control.s
+++ b/ports/cortex_m7/ac5/src/tx_thread_interrupt_control.s
@@ -20,13 +20,17 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
AREA ||.text||, CODE, READONLY
/**************************************************************************/
/* */
/* FUNCTION RELEASE */
/* */
/* _tx_thread_interrupt_control Cortex-M7/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -57,6 +61,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// UINT _tx_thread_interrupt_control(UINT new_posture)
diff --git a/ports/cortex_m7/ac5/src/tx_thread_interrupt_disable.s b/ports/cortex_m7/ac5/src/tx_thread_interrupt_disable.s
index 1e620791..bfa144b2 100644
--- a/ports/cortex_m7/ac5/src/tx_thread_interrupt_disable.s
+++ b/ports/cortex_m7/ac5/src/tx_thread_interrupt_disable.s
@@ -20,13 +20,17 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
AREA ||.text||, CODE, READONLY
/**************************************************************************/
/* */
/* FUNCTION RELEASE */
/* */
/* _tx_thread_interrupt_disable Cortex-M7/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -57,6 +61,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// UINT _tx_thread_interrupt_disable(VOID)
diff --git a/ports/cortex_m7/ac5/src/tx_thread_interrupt_restore.s b/ports/cortex_m7/ac5/src/tx_thread_interrupt_restore.s
index c3e8e9a7..2975789b 100644
--- a/ports/cortex_m7/ac5/src/tx_thread_interrupt_restore.s
+++ b/ports/cortex_m7/ac5/src/tx_thread_interrupt_restore.s
@@ -20,13 +20,17 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
AREA ||.text||, CODE, READONLY
/**************************************************************************/
/* */
/* FUNCTION RELEASE */
/* */
/* _tx_thread_interrupt_restore Cortex-M7/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -57,6 +61,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_interrupt_restore(UINT previous_posture)
diff --git a/ports/cortex_m7/ac5/src/tx_thread_schedule.s b/ports/cortex_m7/ac5/src/tx_thread_schedule.s
index 7c9dc566..8a17b825 100644
--- a/ports/cortex_m7/ac5/src/tx_thread_schedule.s
+++ b/ports/cortex_m7/ac5/src/tx_thread_schedule.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
IMPORT _tx_thread_current_ptr
IMPORT _tx_thread_execute_ptr
IMPORT _tx_timer_time_slice
@@ -37,7 +41,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_schedule Cortex-M7/AC5 */
-/* 6.1.11 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -72,6 +76,8 @@
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
/* 04-25-2022 Scott Larson Added BASEPRI support, */
/* resulting in version 6.1.11 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_schedule(VOID)
diff --git a/ports/cortex_m7/ac5/src/tx_thread_stack_build.s b/ports/cortex_m7/ac5/src/tx_thread_stack_build.s
index 6b0a449f..77306d07 100644
--- a/ports/cortex_m7/ac5/src/tx_thread_stack_build.s
+++ b/ports/cortex_m7/ac5/src/tx_thread_stack_build.s
@@ -20,13 +20,17 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
AREA ||.text||, CODE, READONLY
/**************************************************************************/
/* */
/* FUNCTION RELEASE */
/* */
/* _tx_thread_stack_build Cortex-M7/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -59,6 +63,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_stack_build(TX_THREAD *thread_ptr, VOID (*function_ptr)(VOID))
diff --git a/ports/cortex_m7/ac5/src/tx_thread_system_return.s b/ports/cortex_m7/ac5/src/tx_thread_system_return.s
index 26c3d402..3f334f93 100644
--- a/ports/cortex_m7/ac5/src/tx_thread_system_return.s
+++ b/ports/cortex_m7/ac5/src/tx_thread_system_return.s
@@ -20,13 +20,17 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
AREA ||.text||, CODE, READONLY
/**************************************************************************/
/* */
/* FUNCTION RELEASE */
/* */
/* _tx_thread_system_return Cortex-M7/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -59,6 +63,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_system_return(VOID)
diff --git a/ports/cortex_m7/ac5/src/tx_timer_interrupt.s b/ports/cortex_m7/ac5/src/tx_timer_interrupt.s
index 6c83c737..7ba976f6 100644
--- a/ports/cortex_m7/ac5/src/tx_timer_interrupt.s
+++ b/ports/cortex_m7/ac5/src/tx_timer_interrupt.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
IMPORT _tx_timer_time_slice
IMPORT _tx_timer_system_clock
IMPORT _tx_timer_current_ptr
@@ -40,7 +44,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_timer_interrupt Cortex-M7/AC5 */
-/* 6.1.10 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -77,6 +81,8 @@
/* 01-31-2022 Scott Larson Modified comment(s), added */
/* TX_NO_TIMER support, */
/* resulting in version 6.1.10 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_timer_interrupt(VOID)
diff --git a/ports/cortex_m7/iar/src/tx_misra.s b/ports/cortex_m7/iar/src/tx_misra.s
index ab3fef69..0a912b6e 100644
--- a/ports/cortex_m7/iar/src/tx_misra.s
+++ b/ports/cortex_m7/iar/src/tx_misra.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
#define SHT_PROGBITS 0x1
EXTERN __aeabi_memset
diff --git a/ports/cortex_m7/iar/src/tx_thread_context_restore.s b/ports/cortex_m7/iar/src/tx_thread_context_restore.s
index 2ebc5f54..51284dc3 100644
--- a/ports/cortex_m7/iar/src/tx_thread_context_restore.s
+++ b/ports/cortex_m7/iar/src/tx_thread_context_restore.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
EXTERN _tx_execution_isr_exit
SECTION `.text`:CODE:NOROOT(2)
THUMB
@@ -28,7 +32,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_context_restore Cortex-M7/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -59,6 +63,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_context_restore(VOID)
diff --git a/ports/cortex_m7/iar/src/tx_thread_context_save.s b/ports/cortex_m7/iar/src/tx_thread_context_save.s
index b98aaa74..39b7d2b7 100644
--- a/ports/cortex_m7/iar/src/tx_thread_context_save.s
+++ b/ports/cortex_m7/iar/src/tx_thread_context_save.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
EXTERN _tx_execution_isr_enter
SECTION `.text`:CODE:NOROOT(2)
THUMB
@@ -28,7 +32,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_context_save Cortex-M7/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -59,6 +63,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_context_save(VOID)
diff --git a/ports/cortex_m7/iar/src/tx_thread_interrupt_control.s b/ports/cortex_m7/iar/src/tx_thread_interrupt_control.s
index 506ef09a..610a3d3f 100644
--- a/ports/cortex_m7/iar/src/tx_thread_interrupt_control.s
+++ b/ports/cortex_m7/iar/src/tx_thread_interrupt_control.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
@@ -27,7 +31,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_interrupt_control Cortex-M7/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -58,6 +62,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// UINT _tx_thread_interrupt_control(UINT new_posture)
diff --git a/ports/cortex_m7/iar/src/tx_thread_interrupt_disable.s b/ports/cortex_m7/iar/src/tx_thread_interrupt_disable.s
index 4cf0a2dd..96717922 100644
--- a/ports/cortex_m7/iar/src/tx_thread_interrupt_disable.s
+++ b/ports/cortex_m7/iar/src/tx_thread_interrupt_disable.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
@@ -27,7 +31,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_interrupt_disable Cortex-M7/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -58,6 +62,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// UINT _tx_thread_interrupt_disable(VOID)
diff --git a/ports/cortex_m7/iar/src/tx_thread_interrupt_restore.s b/ports/cortex_m7/iar/src/tx_thread_interrupt_restore.s
index 27037596..b9d63849 100644
--- a/ports/cortex_m7/iar/src/tx_thread_interrupt_restore.s
+++ b/ports/cortex_m7/iar/src/tx_thread_interrupt_restore.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
@@ -27,7 +31,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_interrupt_restore Cortex-M7/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -58,6 +62,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_interrupt_restore(UINT previous_posture)
diff --git a/ports/cortex_m7/iar/src/tx_thread_schedule.s b/ports/cortex_m7/iar/src/tx_thread_schedule.s
index 954c36fc..a9be6b44 100644
--- a/ports/cortex_m7/iar/src/tx_thread_schedule.s
+++ b/ports/cortex_m7/iar/src/tx_thread_schedule.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
EXTERN _tx_thread_current_ptr
EXTERN _tx_thread_execute_ptr
EXTERN _tx_timer_time_slice
@@ -37,7 +41,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_schedule Cortex-M7/IAR */
-/* 6.1.11 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -72,6 +76,8 @@
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
/* 04-25-2022 Scott Larson Added BASEPRI support, */
/* resulting in version 6.1.11 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_schedule(VOID)
diff --git a/ports/cortex_m7/iar/src/tx_thread_stack_build.s b/ports/cortex_m7/iar/src/tx_thread_stack_build.s
index ee9e07e3..10b3dba9 100644
--- a/ports/cortex_m7/iar/src/tx_thread_stack_build.s
+++ b/ports/cortex_m7/iar/src/tx_thread_stack_build.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
@@ -27,7 +31,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_stack_build Cortex-M7/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -60,6 +64,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_stack_build(TX_THREAD *thread_ptr, VOID (*function_ptr)(VOID))
diff --git a/ports/cortex_m7/iar/src/tx_thread_system_return.s b/ports/cortex_m7/iar/src/tx_thread_system_return.s
index 571f9b21..5c2239dc 100644
--- a/ports/cortex_m7/iar/src/tx_thread_system_return.s
+++ b/ports/cortex_m7/iar/src/tx_thread_system_return.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
@@ -27,7 +31,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_system_return Cortex-M7/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -60,6 +64,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_system_return(VOID)
diff --git a/ports/cortex_m7/iar/src/tx_timer_interrupt.s b/ports/cortex_m7/iar/src/tx_timer_interrupt.s
index 27396fd0..e36a24be 100644
--- a/ports/cortex_m7/iar/src/tx_timer_interrupt.s
+++ b/ports/cortex_m7/iar/src/tx_timer_interrupt.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
EXTERN _tx_timer_time_slice
EXTERN _tx_timer_system_clock
EXTERN _tx_timer_current_ptr
@@ -40,7 +44,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_timer_interrupt Cortex-M7/IAR */
-/* 6.1.10 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -77,6 +81,8 @@
/* 01-31-2022 Scott Larson Modified comment(s), added */
/* TX_NO_TIMER support, */
/* resulting in version 6.1.10 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_timer_interrupt(VOID)
diff --git a/ports_arch/ARMv7-M/threadx/ac5/src/tx_thread_context_restore.s b/ports_arch/ARMv7-M/threadx/ac5/src/tx_thread_context_restore.s
index 00c88632..e14dcbad 100644
--- a/ports_arch/ARMv7-M/threadx/ac5/src/tx_thread_context_restore.s
+++ b/ports_arch/ARMv7-M/threadx/ac5/src/tx_thread_context_restore.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
#if (defined(TX_ENABLE_EXECUTION_CHANGE_NOTIFY) || defined(TX_EXECUTION_PROFILE_ENABLE))
IMPORT _tx_execution_isr_exit
#endif
@@ -31,7 +35,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_context_restore Cortex-Mx/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -62,6 +66,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_context_restore(VOID)
diff --git a/ports_arch/ARMv7-M/threadx/ac5/src/tx_thread_context_save.s b/ports_arch/ARMv7-M/threadx/ac5/src/tx_thread_context_save.s
index e7913e7d..85131aec 100644
--- a/ports_arch/ARMv7-M/threadx/ac5/src/tx_thread_context_save.s
+++ b/ports_arch/ARMv7-M/threadx/ac5/src/tx_thread_context_save.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
#if (defined(TX_ENABLE_EXECUTION_CHANGE_NOTIFY) || defined(TX_EXECUTION_PROFILE_ENABLE))
IMPORT _tx_execution_isr_enter
#endif
@@ -31,7 +35,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_context_save Cortex-Mx/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -62,6 +66,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_context_save(VOID)
diff --git a/ports_arch/ARMv7-M/threadx/ac5/src/tx_thread_interrupt_control.s b/ports_arch/ARMv7-M/threadx/ac5/src/tx_thread_interrupt_control.s
index 657ed26b..1183ad62 100644
--- a/ports_arch/ARMv7-M/threadx/ac5/src/tx_thread_interrupt_control.s
+++ b/ports_arch/ARMv7-M/threadx/ac5/src/tx_thread_interrupt_control.s
@@ -20,13 +20,17 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
AREA ||.text||, CODE, READONLY
/**************************************************************************/
/* */
/* FUNCTION RELEASE */
/* */
/* _tx_thread_interrupt_control Cortex-Mx/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -57,6 +61,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// UINT _tx_thread_interrupt_control(UINT new_posture)
diff --git a/ports_arch/ARMv7-M/threadx/ac5/src/tx_thread_interrupt_disable.s b/ports_arch/ARMv7-M/threadx/ac5/src/tx_thread_interrupt_disable.s
index 34708d62..9425df5a 100644
--- a/ports_arch/ARMv7-M/threadx/ac5/src/tx_thread_interrupt_disable.s
+++ b/ports_arch/ARMv7-M/threadx/ac5/src/tx_thread_interrupt_disable.s
@@ -20,13 +20,17 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
AREA ||.text||, CODE, READONLY
/**************************************************************************/
/* */
/* FUNCTION RELEASE */
/* */
/* _tx_thread_interrupt_disable Cortex-Mx/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -57,6 +61,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// UINT _tx_thread_interrupt_disable(VOID)
diff --git a/ports_arch/ARMv7-M/threadx/ac5/src/tx_thread_interrupt_restore.s b/ports_arch/ARMv7-M/threadx/ac5/src/tx_thread_interrupt_restore.s
index 2415032d..d778ca70 100644
--- a/ports_arch/ARMv7-M/threadx/ac5/src/tx_thread_interrupt_restore.s
+++ b/ports_arch/ARMv7-M/threadx/ac5/src/tx_thread_interrupt_restore.s
@@ -20,13 +20,17 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
AREA ||.text||, CODE, READONLY
/**************************************************************************/
/* */
/* FUNCTION RELEASE */
/* */
/* _tx_thread_interrupt_restore Cortex-Mx/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -57,6 +61,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_interrupt_restore(UINT previous_posture)
diff --git a/ports_arch/ARMv7-M/threadx/ac5/src/tx_thread_schedule.s b/ports_arch/ARMv7-M/threadx/ac5/src/tx_thread_schedule.s
index c5dc3a2e..23ea0b7b 100644
--- a/ports_arch/ARMv7-M/threadx/ac5/src/tx_thread_schedule.s
+++ b/ports_arch/ARMv7-M/threadx/ac5/src/tx_thread_schedule.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
IMPORT _tx_thread_current_ptr
IMPORT _tx_thread_execute_ptr
IMPORT _tx_timer_time_slice
@@ -37,7 +41,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_schedule Cortex-Mx/AC5 */
-/* 6.1.11 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -72,6 +76,8 @@
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
/* 04-25-2022 Scott Larson Added BASEPRI support, */
/* resulting in version 6.1.11 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_schedule(VOID)
diff --git a/ports_arch/ARMv7-M/threadx/ac5/src/tx_thread_stack_build.s b/ports_arch/ARMv7-M/threadx/ac5/src/tx_thread_stack_build.s
index 6f1c452f..2d5981fd 100644
--- a/ports_arch/ARMv7-M/threadx/ac5/src/tx_thread_stack_build.s
+++ b/ports_arch/ARMv7-M/threadx/ac5/src/tx_thread_stack_build.s
@@ -20,13 +20,17 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
AREA ||.text||, CODE, READONLY
/**************************************************************************/
/* */
/* FUNCTION RELEASE */
/* */
/* _tx_thread_stack_build Cortex-Mx/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -59,6 +63,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_stack_build(TX_THREAD *thread_ptr, VOID (*function_ptr)(VOID))
diff --git a/ports_arch/ARMv7-M/threadx/ac5/src/tx_thread_system_return.s b/ports_arch/ARMv7-M/threadx/ac5/src/tx_thread_system_return.s
index 0feb88c6..3d95adad 100644
--- a/ports_arch/ARMv7-M/threadx/ac5/src/tx_thread_system_return.s
+++ b/ports_arch/ARMv7-M/threadx/ac5/src/tx_thread_system_return.s
@@ -20,13 +20,17 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
AREA ||.text||, CODE, READONLY
/**************************************************************************/
/* */
/* FUNCTION RELEASE */
/* */
/* _tx_thread_system_return Cortex-Mx/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -59,6 +63,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_system_return(VOID)
diff --git a/ports_arch/ARMv7-M/threadx/ac5/src/tx_timer_interrupt.s b/ports_arch/ARMv7-M/threadx/ac5/src/tx_timer_interrupt.s
index ab23bebf..535da30d 100644
--- a/ports_arch/ARMv7-M/threadx/ac5/src/tx_timer_interrupt.s
+++ b/ports_arch/ARMv7-M/threadx/ac5/src/tx_timer_interrupt.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
IMPORT _tx_timer_time_slice
IMPORT _tx_timer_system_clock
IMPORT _tx_timer_current_ptr
@@ -40,7 +44,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_timer_interrupt Cortex-Mx/AC5 */
-/* 6.1.10 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -77,6 +81,8 @@
/* 01-31-2022 Scott Larson Modified comment(s), added */
/* TX_NO_TIMER support, */
/* resulting in version 6.1.10 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_timer_interrupt(VOID)
diff --git a/ports_arch/ARMv7-M/threadx/iar/src/tx_misra.s b/ports_arch/ARMv7-M/threadx/iar/src/tx_misra.s
index ab3fef69..0a912b6e 100644
--- a/ports_arch/ARMv7-M/threadx/iar/src/tx_misra.s
+++ b/ports_arch/ARMv7-M/threadx/iar/src/tx_misra.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
#define SHT_PROGBITS 0x1
EXTERN __aeabi_memset
diff --git a/ports_arch/ARMv7-M/threadx/iar/src/tx_thread_context_restore.s b/ports_arch/ARMv7-M/threadx/iar/src/tx_thread_context_restore.s
index eaa2f9ef..d9befbda 100644
--- a/ports_arch/ARMv7-M/threadx/iar/src/tx_thread_context_restore.s
+++ b/ports_arch/ARMv7-M/threadx/iar/src/tx_thread_context_restore.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
EXTERN _tx_execution_isr_exit
SECTION `.text`:CODE:NOROOT(2)
THUMB
@@ -28,7 +32,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_context_restore Cortex-Mx/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -59,6 +63,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_context_restore(VOID)
diff --git a/ports_arch/ARMv7-M/threadx/iar/src/tx_thread_context_save.s b/ports_arch/ARMv7-M/threadx/iar/src/tx_thread_context_save.s
index 5c31541b..0fe55696 100644
--- a/ports_arch/ARMv7-M/threadx/iar/src/tx_thread_context_save.s
+++ b/ports_arch/ARMv7-M/threadx/iar/src/tx_thread_context_save.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
EXTERN _tx_execution_isr_enter
SECTION `.text`:CODE:NOROOT(2)
THUMB
@@ -28,7 +32,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_context_save Cortex-Mx/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -59,6 +63,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_context_save(VOID)
diff --git a/ports_arch/ARMv7-M/threadx/iar/src/tx_thread_interrupt_control.s b/ports_arch/ARMv7-M/threadx/iar/src/tx_thread_interrupt_control.s
index ef1686e3..47f7aef0 100644
--- a/ports_arch/ARMv7-M/threadx/iar/src/tx_thread_interrupt_control.s
+++ b/ports_arch/ARMv7-M/threadx/iar/src/tx_thread_interrupt_control.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
@@ -27,7 +31,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_interrupt_control Cortex-Mx/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -58,6 +62,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// UINT _tx_thread_interrupt_control(UINT new_posture)
diff --git a/ports_arch/ARMv7-M/threadx/iar/src/tx_thread_interrupt_disable.s b/ports_arch/ARMv7-M/threadx/iar/src/tx_thread_interrupt_disable.s
index dc845dc1..7e1c8161 100644
--- a/ports_arch/ARMv7-M/threadx/iar/src/tx_thread_interrupt_disable.s
+++ b/ports_arch/ARMv7-M/threadx/iar/src/tx_thread_interrupt_disable.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
@@ -27,7 +31,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_interrupt_disable Cortex-Mx/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -58,6 +62,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// UINT _tx_thread_interrupt_disable(VOID)
diff --git a/ports_arch/ARMv7-M/threadx/iar/src/tx_thread_interrupt_restore.s b/ports_arch/ARMv7-M/threadx/iar/src/tx_thread_interrupt_restore.s
index 0fb7ff30..f6baf4b3 100644
--- a/ports_arch/ARMv7-M/threadx/iar/src/tx_thread_interrupt_restore.s
+++ b/ports_arch/ARMv7-M/threadx/iar/src/tx_thread_interrupt_restore.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
@@ -27,7 +31,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_interrupt_restore Cortex-Mx/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -58,6 +62,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_interrupt_restore(UINT previous_posture)
diff --git a/ports_arch/ARMv7-M/threadx/iar/src/tx_thread_schedule.s b/ports_arch/ARMv7-M/threadx/iar/src/tx_thread_schedule.s
index 727ff0f1..b4e76612 100644
--- a/ports_arch/ARMv7-M/threadx/iar/src/tx_thread_schedule.s
+++ b/ports_arch/ARMv7-M/threadx/iar/src/tx_thread_schedule.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
EXTERN _tx_thread_current_ptr
EXTERN _tx_thread_execute_ptr
EXTERN _tx_timer_time_slice
@@ -37,7 +41,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_schedule Cortex-Mx/IAR */
-/* 6.1.11 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -72,6 +76,8 @@
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
/* 04-25-2022 Scott Larson Added BASEPRI support, */
/* resulting in version 6.1.11 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_schedule(VOID)
diff --git a/ports_arch/ARMv7-M/threadx/iar/src/tx_thread_stack_build.s b/ports_arch/ARMv7-M/threadx/iar/src/tx_thread_stack_build.s
index 10380569..8b1632f5 100644
--- a/ports_arch/ARMv7-M/threadx/iar/src/tx_thread_stack_build.s
+++ b/ports_arch/ARMv7-M/threadx/iar/src/tx_thread_stack_build.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
@@ -27,7 +31,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_stack_build Cortex-Mx/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -60,6 +64,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_stack_build(TX_THREAD *thread_ptr, VOID (*function_ptr)(VOID))
diff --git a/ports_arch/ARMv7-M/threadx/iar/src/tx_thread_system_return.s b/ports_arch/ARMv7-M/threadx/iar/src/tx_thread_system_return.s
index 313d2a40..13164d47 100644
--- a/ports_arch/ARMv7-M/threadx/iar/src/tx_thread_system_return.s
+++ b/ports_arch/ARMv7-M/threadx/iar/src/tx_thread_system_return.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
@@ -27,7 +31,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_system_return Cortex-Mx/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -60,6 +64,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_system_return(VOID)
diff --git a/ports_arch/ARMv7-M/threadx/iar/src/tx_timer_interrupt.s b/ports_arch/ARMv7-M/threadx/iar/src/tx_timer_interrupt.s
index b7ba9981..9f2af88d 100644
--- a/ports_arch/ARMv7-M/threadx/iar/src/tx_timer_interrupt.s
+++ b/ports_arch/ARMv7-M/threadx/iar/src/tx_timer_interrupt.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
EXTERN _tx_timer_time_slice
EXTERN _tx_timer_system_clock
EXTERN _tx_timer_current_ptr
@@ -40,7 +44,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_timer_interrupt Cortex-Mx/IAR */
-/* 6.1.10 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -77,6 +81,8 @@
/* 01-31-2022 Scott Larson Modified comment(s), added */
/* TX_NO_TIMER support, */
/* resulting in version 6.1.10 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_timer_interrupt(VOID)
diff --git a/ports_module/cortex_m3/ac5/module_manager/src/tx_thread_context_restore.s b/ports_module/cortex_m3/ac5/module_manager/src/tx_thread_context_restore.s
index aa2f30a4..d9ee6d73 100644
--- a/ports_module/cortex_m3/ac5/module_manager/src/tx_thread_context_restore.s
+++ b/ports_module/cortex_m3/ac5/module_manager/src/tx_thread_context_restore.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
#if (defined(TX_ENABLE_EXECUTION_CHANGE_NOTIFY) || defined(TX_EXECUTION_PROFILE_ENABLE))
IMPORT _tx_execution_isr_exit
#endif
@@ -31,7 +35,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_context_restore Cortex-M3/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -62,6 +66,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_context_restore(VOID)
diff --git a/ports_module/cortex_m3/ac5/module_manager/src/tx_thread_context_save.s b/ports_module/cortex_m3/ac5/module_manager/src/tx_thread_context_save.s
index 78cbc3c9..812f4b69 100644
--- a/ports_module/cortex_m3/ac5/module_manager/src/tx_thread_context_save.s
+++ b/ports_module/cortex_m3/ac5/module_manager/src/tx_thread_context_save.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
#if (defined(TX_ENABLE_EXECUTION_CHANGE_NOTIFY) || defined(TX_EXECUTION_PROFILE_ENABLE))
IMPORT _tx_execution_isr_enter
#endif
@@ -31,7 +35,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_context_save Cortex-M3/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -62,6 +66,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_context_save(VOID)
diff --git a/ports_module/cortex_m3/ac5/module_manager/src/tx_thread_interrupt_control.s b/ports_module/cortex_m3/ac5/module_manager/src/tx_thread_interrupt_control.s
index bca3df55..40a6203d 100644
--- a/ports_module/cortex_m3/ac5/module_manager/src/tx_thread_interrupt_control.s
+++ b/ports_module/cortex_m3/ac5/module_manager/src/tx_thread_interrupt_control.s
@@ -20,13 +20,17 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
AREA ||.text||, CODE, READONLY
/**************************************************************************/
/* */
/* FUNCTION RELEASE */
/* */
/* _tx_thread_interrupt_control Cortex-M3/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -57,6 +61,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// UINT _tx_thread_interrupt_control(UINT new_posture)
diff --git a/ports_module/cortex_m3/ac5/module_manager/src/tx_thread_interrupt_disable.s b/ports_module/cortex_m3/ac5/module_manager/src/tx_thread_interrupt_disable.s
index 6a9c4c8e..0306dde5 100644
--- a/ports_module/cortex_m3/ac5/module_manager/src/tx_thread_interrupt_disable.s
+++ b/ports_module/cortex_m3/ac5/module_manager/src/tx_thread_interrupt_disable.s
@@ -20,13 +20,17 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
AREA ||.text||, CODE, READONLY
/**************************************************************************/
/* */
/* FUNCTION RELEASE */
/* */
/* _tx_thread_interrupt_disable Cortex-M3/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -57,6 +61,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// UINT _tx_thread_interrupt_disable(VOID)
diff --git a/ports_module/cortex_m3/ac5/module_manager/src/tx_thread_interrupt_restore.s b/ports_module/cortex_m3/ac5/module_manager/src/tx_thread_interrupt_restore.s
index ca929f18..8f172d17 100644
--- a/ports_module/cortex_m3/ac5/module_manager/src/tx_thread_interrupt_restore.s
+++ b/ports_module/cortex_m3/ac5/module_manager/src/tx_thread_interrupt_restore.s
@@ -20,13 +20,17 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
AREA ||.text||, CODE, READONLY
/**************************************************************************/
/* */
/* FUNCTION RELEASE */
/* */
/* _tx_thread_interrupt_restore Cortex-M3/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -57,6 +61,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_interrupt_restore(UINT previous_posture)
diff --git a/ports_module/cortex_m3/ac5/module_manager/src/tx_thread_stack_build.s b/ports_module/cortex_m3/ac5/module_manager/src/tx_thread_stack_build.s
index 3c263ba8..773f70e7 100644
--- a/ports_module/cortex_m3/ac5/module_manager/src/tx_thread_stack_build.s
+++ b/ports_module/cortex_m3/ac5/module_manager/src/tx_thread_stack_build.s
@@ -20,13 +20,17 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
AREA ||.text||, CODE, READONLY
/**************************************************************************/
/* */
/* FUNCTION RELEASE */
/* */
/* _tx_thread_stack_build Cortex-M3/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -59,6 +63,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_stack_build(TX_THREAD *thread_ptr, VOID (*function_ptr)(VOID))
diff --git a/ports_module/cortex_m3/ac5/module_manager/src/tx_thread_system_return.s b/ports_module/cortex_m3/ac5/module_manager/src/tx_thread_system_return.s
index 6b7d3ec3..bfc19703 100644
--- a/ports_module/cortex_m3/ac5/module_manager/src/tx_thread_system_return.s
+++ b/ports_module/cortex_m3/ac5/module_manager/src/tx_thread_system_return.s
@@ -20,13 +20,17 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
AREA ||.text||, CODE, READONLY
/**************************************************************************/
/* */
/* FUNCTION RELEASE */
/* */
/* _tx_thread_system_return Cortex-M3/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -59,6 +63,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_system_return(VOID)
diff --git a/ports_module/cortex_m3/ac5/module_manager/src/tx_timer_interrupt.s b/ports_module/cortex_m3/ac5/module_manager/src/tx_timer_interrupt.s
index bfab75e6..a9b191e9 100644
--- a/ports_module/cortex_m3/ac5/module_manager/src/tx_timer_interrupt.s
+++ b/ports_module/cortex_m3/ac5/module_manager/src/tx_timer_interrupt.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
IMPORT _tx_timer_time_slice
IMPORT _tx_timer_system_clock
IMPORT _tx_timer_current_ptr
@@ -40,7 +44,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_timer_interrupt Cortex-M3/AC5 */
-/* 6.1.10 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -77,6 +81,8 @@
/* 01-31-2022 Scott Larson Modified comment(s), added */
/* TX_NO_TIMER support, */
/* resulting in version 6.1.10 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_timer_interrupt(VOID)
diff --git a/ports_module/cortex_m3/iar/module_manager/src/tx_thread_context_restore.s b/ports_module/cortex_m3/iar/module_manager/src/tx_thread_context_restore.s
index 992585eb..eedeb38c 100644
--- a/ports_module/cortex_m3/iar/module_manager/src/tx_thread_context_restore.s
+++ b/ports_module/cortex_m3/iar/module_manager/src/tx_thread_context_restore.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
EXTERN _tx_execution_isr_exit
SECTION `.text`:CODE:NOROOT(2)
THUMB
@@ -28,7 +32,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_context_restore Cortex-M3/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -59,6 +63,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_context_restore(VOID)
diff --git a/ports_module/cortex_m3/iar/module_manager/src/tx_thread_context_save.s b/ports_module/cortex_m3/iar/module_manager/src/tx_thread_context_save.s
index cae664e0..a7b3f178 100644
--- a/ports_module/cortex_m3/iar/module_manager/src/tx_thread_context_save.s
+++ b/ports_module/cortex_m3/iar/module_manager/src/tx_thread_context_save.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
EXTERN _tx_execution_isr_enter
SECTION `.text`:CODE:NOROOT(2)
THUMB
@@ -28,7 +32,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_context_save Cortex-M3/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -59,6 +63,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_context_save(VOID)
diff --git a/ports_module/cortex_m3/iar/module_manager/src/tx_thread_interrupt_control.s b/ports_module/cortex_m3/iar/module_manager/src/tx_thread_interrupt_control.s
index 8886a66b..c98ded67 100644
--- a/ports_module/cortex_m3/iar/module_manager/src/tx_thread_interrupt_control.s
+++ b/ports_module/cortex_m3/iar/module_manager/src/tx_thread_interrupt_control.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
@@ -27,7 +31,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_interrupt_control Cortex-M3/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -58,6 +62,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// UINT _tx_thread_interrupt_control(UINT new_posture)
diff --git a/ports_module/cortex_m3/iar/module_manager/src/tx_thread_interrupt_disable.s b/ports_module/cortex_m3/iar/module_manager/src/tx_thread_interrupt_disable.s
index d27465a3..08c875f2 100644
--- a/ports_module/cortex_m3/iar/module_manager/src/tx_thread_interrupt_disable.s
+++ b/ports_module/cortex_m3/iar/module_manager/src/tx_thread_interrupt_disable.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
@@ -27,7 +31,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_interrupt_disable Cortex-M3/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -58,6 +62,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// UINT _tx_thread_interrupt_disable(VOID)
diff --git a/ports_module/cortex_m3/iar/module_manager/src/tx_thread_interrupt_restore.s b/ports_module/cortex_m3/iar/module_manager/src/tx_thread_interrupt_restore.s
index 9f4525f0..b542136c 100644
--- a/ports_module/cortex_m3/iar/module_manager/src/tx_thread_interrupt_restore.s
+++ b/ports_module/cortex_m3/iar/module_manager/src/tx_thread_interrupt_restore.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
@@ -27,7 +31,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_interrupt_restore Cortex-M3/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -58,6 +62,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_interrupt_restore(UINT previous_posture)
diff --git a/ports_module/cortex_m3/iar/module_manager/src/tx_thread_stack_build.s b/ports_module/cortex_m3/iar/module_manager/src/tx_thread_stack_build.s
index 5005363e..93db053d 100644
--- a/ports_module/cortex_m3/iar/module_manager/src/tx_thread_stack_build.s
+++ b/ports_module/cortex_m3/iar/module_manager/src/tx_thread_stack_build.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
@@ -27,7 +31,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_stack_build Cortex-M3/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -60,6 +64,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_stack_build(TX_THREAD *thread_ptr, VOID (*function_ptr)(VOID))
diff --git a/ports_module/cortex_m3/iar/module_manager/src/tx_thread_system_return.s b/ports_module/cortex_m3/iar/module_manager/src/tx_thread_system_return.s
index 0c2ae9bf..48088520 100644
--- a/ports_module/cortex_m3/iar/module_manager/src/tx_thread_system_return.s
+++ b/ports_module/cortex_m3/iar/module_manager/src/tx_thread_system_return.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
@@ -27,7 +31,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_system_return Cortex-M3/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -60,6 +64,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_system_return(VOID)
diff --git a/ports_module/cortex_m3/iar/module_manager/src/tx_timer_interrupt.s b/ports_module/cortex_m3/iar/module_manager/src/tx_timer_interrupt.s
index 29ee9a3a..f8f5b40f 100644
--- a/ports_module/cortex_m3/iar/module_manager/src/tx_timer_interrupt.s
+++ b/ports_module/cortex_m3/iar/module_manager/src/tx_timer_interrupt.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
EXTERN _tx_timer_time_slice
EXTERN _tx_timer_system_clock
EXTERN _tx_timer_current_ptr
@@ -40,7 +44,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_timer_interrupt Cortex-M3/IAR */
-/* 6.1.10 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -77,6 +81,8 @@
/* 01-31-2022 Scott Larson Modified comment(s), added */
/* TX_NO_TIMER support, */
/* resulting in version 6.1.10 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_timer_interrupt(VOID)
diff --git a/ports_module/cortex_m4/ac5/module_manager/src/tx_thread_context_restore.s b/ports_module/cortex_m4/ac5/module_manager/src/tx_thread_context_restore.s
index 8576cae4..bdd0a33d 100644
--- a/ports_module/cortex_m4/ac5/module_manager/src/tx_thread_context_restore.s
+++ b/ports_module/cortex_m4/ac5/module_manager/src/tx_thread_context_restore.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
#if (defined(TX_ENABLE_EXECUTION_CHANGE_NOTIFY) || defined(TX_EXECUTION_PROFILE_ENABLE))
IMPORT _tx_execution_isr_exit
#endif
@@ -31,7 +35,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_context_restore Cortex-M4/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -62,6 +66,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_context_restore(VOID)
diff --git a/ports_module/cortex_m4/ac5/module_manager/src/tx_thread_context_save.s b/ports_module/cortex_m4/ac5/module_manager/src/tx_thread_context_save.s
index 4fded670..f9f811a2 100644
--- a/ports_module/cortex_m4/ac5/module_manager/src/tx_thread_context_save.s
+++ b/ports_module/cortex_m4/ac5/module_manager/src/tx_thread_context_save.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
#if (defined(TX_ENABLE_EXECUTION_CHANGE_NOTIFY) || defined(TX_EXECUTION_PROFILE_ENABLE))
IMPORT _tx_execution_isr_enter
#endif
@@ -31,7 +35,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_context_save Cortex-M4/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -62,6 +66,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_context_save(VOID)
diff --git a/ports_module/cortex_m4/ac5/module_manager/src/tx_thread_interrupt_control.s b/ports_module/cortex_m4/ac5/module_manager/src/tx_thread_interrupt_control.s
index 7f66f181..4cce1c75 100644
--- a/ports_module/cortex_m4/ac5/module_manager/src/tx_thread_interrupt_control.s
+++ b/ports_module/cortex_m4/ac5/module_manager/src/tx_thread_interrupt_control.s
@@ -20,13 +20,17 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
AREA ||.text||, CODE, READONLY
/**************************************************************************/
/* */
/* FUNCTION RELEASE */
/* */
/* _tx_thread_interrupt_control Cortex-M4/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -57,6 +61,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// UINT _tx_thread_interrupt_control(UINT new_posture)
diff --git a/ports_module/cortex_m4/ac5/module_manager/src/tx_thread_interrupt_disable.s b/ports_module/cortex_m4/ac5/module_manager/src/tx_thread_interrupt_disable.s
index 4712f26b..ef998a75 100644
--- a/ports_module/cortex_m4/ac5/module_manager/src/tx_thread_interrupt_disable.s
+++ b/ports_module/cortex_m4/ac5/module_manager/src/tx_thread_interrupt_disable.s
@@ -20,13 +20,17 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
AREA ||.text||, CODE, READONLY
/**************************************************************************/
/* */
/* FUNCTION RELEASE */
/* */
/* _tx_thread_interrupt_disable Cortex-M4/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -57,6 +61,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// UINT _tx_thread_interrupt_disable(VOID)
diff --git a/ports_module/cortex_m4/ac5/module_manager/src/tx_thread_interrupt_restore.s b/ports_module/cortex_m4/ac5/module_manager/src/tx_thread_interrupt_restore.s
index a30922c3..f22dc239 100644
--- a/ports_module/cortex_m4/ac5/module_manager/src/tx_thread_interrupt_restore.s
+++ b/ports_module/cortex_m4/ac5/module_manager/src/tx_thread_interrupt_restore.s
@@ -20,13 +20,17 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
AREA ||.text||, CODE, READONLY
/**************************************************************************/
/* */
/* FUNCTION RELEASE */
/* */
/* _tx_thread_interrupt_restore Cortex-M4/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -57,6 +61,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_interrupt_restore(UINT previous_posture)
diff --git a/ports_module/cortex_m4/ac5/module_manager/src/tx_thread_stack_build.s b/ports_module/cortex_m4/ac5/module_manager/src/tx_thread_stack_build.s
index 6336aad6..a07b8a89 100644
--- a/ports_module/cortex_m4/ac5/module_manager/src/tx_thread_stack_build.s
+++ b/ports_module/cortex_m4/ac5/module_manager/src/tx_thread_stack_build.s
@@ -20,13 +20,17 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
AREA ||.text||, CODE, READONLY
/**************************************************************************/
/* */
/* FUNCTION RELEASE */
/* */
/* _tx_thread_stack_build Cortex-M4/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -59,6 +63,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_stack_build(TX_THREAD *thread_ptr, VOID (*function_ptr)(VOID))
diff --git a/ports_module/cortex_m4/ac5/module_manager/src/tx_thread_system_return.s b/ports_module/cortex_m4/ac5/module_manager/src/tx_thread_system_return.s
index 9e28a138..82a708ec 100644
--- a/ports_module/cortex_m4/ac5/module_manager/src/tx_thread_system_return.s
+++ b/ports_module/cortex_m4/ac5/module_manager/src/tx_thread_system_return.s
@@ -20,13 +20,17 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
AREA ||.text||, CODE, READONLY
/**************************************************************************/
/* */
/* FUNCTION RELEASE */
/* */
/* _tx_thread_system_return Cortex-M4/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -59,6 +63,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_system_return(VOID)
diff --git a/ports_module/cortex_m4/ac5/module_manager/src/tx_timer_interrupt.s b/ports_module/cortex_m4/ac5/module_manager/src/tx_timer_interrupt.s
index 0fc3a6c3..91bf56ef 100644
--- a/ports_module/cortex_m4/ac5/module_manager/src/tx_timer_interrupt.s
+++ b/ports_module/cortex_m4/ac5/module_manager/src/tx_timer_interrupt.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
IMPORT _tx_timer_time_slice
IMPORT _tx_timer_system_clock
IMPORT _tx_timer_current_ptr
@@ -40,7 +44,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_timer_interrupt Cortex-M4/AC5 */
-/* 6.1.10 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -77,6 +81,8 @@
/* 01-31-2022 Scott Larson Modified comment(s), added */
/* TX_NO_TIMER support, */
/* resulting in version 6.1.10 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_timer_interrupt(VOID)
diff --git a/ports_module/cortex_m4/iar/module_manager/src/tx_thread_context_restore.s b/ports_module/cortex_m4/iar/module_manager/src/tx_thread_context_restore.s
index 0fa97b59..a9749944 100644
--- a/ports_module/cortex_m4/iar/module_manager/src/tx_thread_context_restore.s
+++ b/ports_module/cortex_m4/iar/module_manager/src/tx_thread_context_restore.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
EXTERN _tx_execution_isr_exit
SECTION `.text`:CODE:NOROOT(2)
THUMB
@@ -28,7 +32,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_context_restore Cortex-M4/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -59,6 +63,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_context_restore(VOID)
diff --git a/ports_module/cortex_m4/iar/module_manager/src/tx_thread_context_save.s b/ports_module/cortex_m4/iar/module_manager/src/tx_thread_context_save.s
index e8ea6166..a0b66d02 100644
--- a/ports_module/cortex_m4/iar/module_manager/src/tx_thread_context_save.s
+++ b/ports_module/cortex_m4/iar/module_manager/src/tx_thread_context_save.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
EXTERN _tx_execution_isr_enter
SECTION `.text`:CODE:NOROOT(2)
THUMB
@@ -28,7 +32,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_context_save Cortex-M4/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -59,6 +63,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_context_save(VOID)
diff --git a/ports_module/cortex_m4/iar/module_manager/src/tx_thread_interrupt_control.s b/ports_module/cortex_m4/iar/module_manager/src/tx_thread_interrupt_control.s
index 04ca281a..19c0e566 100644
--- a/ports_module/cortex_m4/iar/module_manager/src/tx_thread_interrupt_control.s
+++ b/ports_module/cortex_m4/iar/module_manager/src/tx_thread_interrupt_control.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
@@ -27,7 +31,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_interrupt_control Cortex-M4/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -58,6 +62,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// UINT _tx_thread_interrupt_control(UINT new_posture)
diff --git a/ports_module/cortex_m4/iar/module_manager/src/tx_thread_interrupt_disable.s b/ports_module/cortex_m4/iar/module_manager/src/tx_thread_interrupt_disable.s
index 78fd91d2..80830bcf 100644
--- a/ports_module/cortex_m4/iar/module_manager/src/tx_thread_interrupt_disable.s
+++ b/ports_module/cortex_m4/iar/module_manager/src/tx_thread_interrupt_disable.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
@@ -27,7 +31,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_interrupt_disable Cortex-M4/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -58,6 +62,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// UINT _tx_thread_interrupt_disable(VOID)
diff --git a/ports_module/cortex_m4/iar/module_manager/src/tx_thread_interrupt_restore.s b/ports_module/cortex_m4/iar/module_manager/src/tx_thread_interrupt_restore.s
index 2ef3fb36..4f820df7 100644
--- a/ports_module/cortex_m4/iar/module_manager/src/tx_thread_interrupt_restore.s
+++ b/ports_module/cortex_m4/iar/module_manager/src/tx_thread_interrupt_restore.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
@@ -27,7 +31,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_interrupt_restore Cortex-M4/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -58,6 +62,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_interrupt_restore(UINT previous_posture)
diff --git a/ports_module/cortex_m4/iar/module_manager/src/tx_thread_stack_build.s b/ports_module/cortex_m4/iar/module_manager/src/tx_thread_stack_build.s
index 0a2ee915..963156d0 100644
--- a/ports_module/cortex_m4/iar/module_manager/src/tx_thread_stack_build.s
+++ b/ports_module/cortex_m4/iar/module_manager/src/tx_thread_stack_build.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
@@ -27,7 +31,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_stack_build Cortex-M4/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -60,6 +64,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_stack_build(TX_THREAD *thread_ptr, VOID (*function_ptr)(VOID))
diff --git a/ports_module/cortex_m4/iar/module_manager/src/tx_thread_system_return.s b/ports_module/cortex_m4/iar/module_manager/src/tx_thread_system_return.s
index b95770d5..705fa761 100644
--- a/ports_module/cortex_m4/iar/module_manager/src/tx_thread_system_return.s
+++ b/ports_module/cortex_m4/iar/module_manager/src/tx_thread_system_return.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
@@ -27,7 +31,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_system_return Cortex-M4/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -60,6 +64,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_system_return(VOID)
diff --git a/ports_module/cortex_m4/iar/module_manager/src/tx_timer_interrupt.s b/ports_module/cortex_m4/iar/module_manager/src/tx_timer_interrupt.s
index 1684e923..e3493f20 100644
--- a/ports_module/cortex_m4/iar/module_manager/src/tx_timer_interrupt.s
+++ b/ports_module/cortex_m4/iar/module_manager/src/tx_timer_interrupt.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
EXTERN _tx_timer_time_slice
EXTERN _tx_timer_system_clock
EXTERN _tx_timer_current_ptr
@@ -40,7 +44,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_timer_interrupt Cortex-M4/IAR */
-/* 6.1.10 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -77,6 +81,8 @@
/* 01-31-2022 Scott Larson Modified comment(s), added */
/* TX_NO_TIMER support, */
/* resulting in version 6.1.10 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_timer_interrupt(VOID)
diff --git a/ports_module/cortex_m7/ac5/module_manager/src/tx_thread_context_restore.s b/ports_module/cortex_m7/ac5/module_manager/src/tx_thread_context_restore.s
index 48c7afbf..ab9047f3 100644
--- a/ports_module/cortex_m7/ac5/module_manager/src/tx_thread_context_restore.s
+++ b/ports_module/cortex_m7/ac5/module_manager/src/tx_thread_context_restore.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
#if (defined(TX_ENABLE_EXECUTION_CHANGE_NOTIFY) || defined(TX_EXECUTION_PROFILE_ENABLE))
IMPORT _tx_execution_isr_exit
#endif
@@ -31,7 +35,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_context_restore Cortex-M7/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -62,6 +66,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_context_restore(VOID)
diff --git a/ports_module/cortex_m7/ac5/module_manager/src/tx_thread_context_save.s b/ports_module/cortex_m7/ac5/module_manager/src/tx_thread_context_save.s
index 1230e4e8..c1f9fb85 100644
--- a/ports_module/cortex_m7/ac5/module_manager/src/tx_thread_context_save.s
+++ b/ports_module/cortex_m7/ac5/module_manager/src/tx_thread_context_save.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
#if (defined(TX_ENABLE_EXECUTION_CHANGE_NOTIFY) || defined(TX_EXECUTION_PROFILE_ENABLE))
IMPORT _tx_execution_isr_enter
#endif
@@ -31,7 +35,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_context_save Cortex-M7/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -62,6 +66,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_context_save(VOID)
diff --git a/ports_module/cortex_m7/ac5/module_manager/src/tx_thread_interrupt_control.s b/ports_module/cortex_m7/ac5/module_manager/src/tx_thread_interrupt_control.s
index 4aec6856..42e093ac 100644
--- a/ports_module/cortex_m7/ac5/module_manager/src/tx_thread_interrupt_control.s
+++ b/ports_module/cortex_m7/ac5/module_manager/src/tx_thread_interrupt_control.s
@@ -20,13 +20,17 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
AREA ||.text||, CODE, READONLY
/**************************************************************************/
/* */
/* FUNCTION RELEASE */
/* */
/* _tx_thread_interrupt_control Cortex-M7/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -57,6 +61,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// UINT _tx_thread_interrupt_control(UINT new_posture)
diff --git a/ports_module/cortex_m7/ac5/module_manager/src/tx_thread_interrupt_disable.s b/ports_module/cortex_m7/ac5/module_manager/src/tx_thread_interrupt_disable.s
index 1e620791..bfa144b2 100644
--- a/ports_module/cortex_m7/ac5/module_manager/src/tx_thread_interrupt_disable.s
+++ b/ports_module/cortex_m7/ac5/module_manager/src/tx_thread_interrupt_disable.s
@@ -20,13 +20,17 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
AREA ||.text||, CODE, READONLY
/**************************************************************************/
/* */
/* FUNCTION RELEASE */
/* */
/* _tx_thread_interrupt_disable Cortex-M7/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -57,6 +61,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// UINT _tx_thread_interrupt_disable(VOID)
diff --git a/ports_module/cortex_m7/ac5/module_manager/src/tx_thread_interrupt_restore.s b/ports_module/cortex_m7/ac5/module_manager/src/tx_thread_interrupt_restore.s
index c3e8e9a7..2975789b 100644
--- a/ports_module/cortex_m7/ac5/module_manager/src/tx_thread_interrupt_restore.s
+++ b/ports_module/cortex_m7/ac5/module_manager/src/tx_thread_interrupt_restore.s
@@ -20,13 +20,17 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
AREA ||.text||, CODE, READONLY
/**************************************************************************/
/* */
/* FUNCTION RELEASE */
/* */
/* _tx_thread_interrupt_restore Cortex-M7/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -57,6 +61,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_interrupt_restore(UINT previous_posture)
diff --git a/ports_module/cortex_m7/ac5/module_manager/src/tx_thread_stack_build.s b/ports_module/cortex_m7/ac5/module_manager/src/tx_thread_stack_build.s
index 6b0a449f..77306d07 100644
--- a/ports_module/cortex_m7/ac5/module_manager/src/tx_thread_stack_build.s
+++ b/ports_module/cortex_m7/ac5/module_manager/src/tx_thread_stack_build.s
@@ -20,13 +20,17 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
AREA ||.text||, CODE, READONLY
/**************************************************************************/
/* */
/* FUNCTION RELEASE */
/* */
/* _tx_thread_stack_build Cortex-M7/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -59,6 +63,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_stack_build(TX_THREAD *thread_ptr, VOID (*function_ptr)(VOID))
diff --git a/ports_module/cortex_m7/ac5/module_manager/src/tx_thread_system_return.s b/ports_module/cortex_m7/ac5/module_manager/src/tx_thread_system_return.s
index 26c3d402..3f334f93 100644
--- a/ports_module/cortex_m7/ac5/module_manager/src/tx_thread_system_return.s
+++ b/ports_module/cortex_m7/ac5/module_manager/src/tx_thread_system_return.s
@@ -20,13 +20,17 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
AREA ||.text||, CODE, READONLY
/**************************************************************************/
/* */
/* FUNCTION RELEASE */
/* */
/* _tx_thread_system_return Cortex-M7/AC5 */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -59,6 +63,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_system_return(VOID)
diff --git a/ports_module/cortex_m7/ac5/module_manager/src/tx_timer_interrupt.s b/ports_module/cortex_m7/ac5/module_manager/src/tx_timer_interrupt.s
index 6c83c737..7ba976f6 100644
--- a/ports_module/cortex_m7/ac5/module_manager/src/tx_timer_interrupt.s
+++ b/ports_module/cortex_m7/ac5/module_manager/src/tx_timer_interrupt.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
IMPORT _tx_timer_time_slice
IMPORT _tx_timer_system_clock
IMPORT _tx_timer_current_ptr
@@ -40,7 +44,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_timer_interrupt Cortex-M7/AC5 */
-/* 6.1.10 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -77,6 +81,8 @@
/* 01-31-2022 Scott Larson Modified comment(s), added */
/* TX_NO_TIMER support, */
/* resulting in version 6.1.10 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_timer_interrupt(VOID)
diff --git a/ports_module/cortex_m7/iar/module_manager/src/tx_thread_context_restore.s b/ports_module/cortex_m7/iar/module_manager/src/tx_thread_context_restore.s
index 2ebc5f54..51284dc3 100644
--- a/ports_module/cortex_m7/iar/module_manager/src/tx_thread_context_restore.s
+++ b/ports_module/cortex_m7/iar/module_manager/src/tx_thread_context_restore.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
EXTERN _tx_execution_isr_exit
SECTION `.text`:CODE:NOROOT(2)
THUMB
@@ -28,7 +32,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_context_restore Cortex-M7/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -59,6 +63,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_context_restore(VOID)
diff --git a/ports_module/cortex_m7/iar/module_manager/src/tx_thread_context_save.s b/ports_module/cortex_m7/iar/module_manager/src/tx_thread_context_save.s
index b98aaa74..39b7d2b7 100644
--- a/ports_module/cortex_m7/iar/module_manager/src/tx_thread_context_save.s
+++ b/ports_module/cortex_m7/iar/module_manager/src/tx_thread_context_save.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
EXTERN _tx_execution_isr_enter
SECTION `.text`:CODE:NOROOT(2)
THUMB
@@ -28,7 +32,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_context_save Cortex-M7/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -59,6 +63,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_context_save(VOID)
diff --git a/ports_module/cortex_m7/iar/module_manager/src/tx_thread_interrupt_control.s b/ports_module/cortex_m7/iar/module_manager/src/tx_thread_interrupt_control.s
index 506ef09a..610a3d3f 100644
--- a/ports_module/cortex_m7/iar/module_manager/src/tx_thread_interrupt_control.s
+++ b/ports_module/cortex_m7/iar/module_manager/src/tx_thread_interrupt_control.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
@@ -27,7 +31,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_interrupt_control Cortex-M7/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -58,6 +62,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// UINT _tx_thread_interrupt_control(UINT new_posture)
diff --git a/ports_module/cortex_m7/iar/module_manager/src/tx_thread_interrupt_disable.s b/ports_module/cortex_m7/iar/module_manager/src/tx_thread_interrupt_disable.s
index 4cf0a2dd..96717922 100644
--- a/ports_module/cortex_m7/iar/module_manager/src/tx_thread_interrupt_disable.s
+++ b/ports_module/cortex_m7/iar/module_manager/src/tx_thread_interrupt_disable.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
@@ -27,7 +31,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_interrupt_disable Cortex-M7/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -58,6 +62,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// UINT _tx_thread_interrupt_disable(VOID)
diff --git a/ports_module/cortex_m7/iar/module_manager/src/tx_thread_interrupt_restore.s b/ports_module/cortex_m7/iar/module_manager/src/tx_thread_interrupt_restore.s
index 27037596..b9d63849 100644
--- a/ports_module/cortex_m7/iar/module_manager/src/tx_thread_interrupt_restore.s
+++ b/ports_module/cortex_m7/iar/module_manager/src/tx_thread_interrupt_restore.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
@@ -27,7 +31,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_interrupt_restore Cortex-M7/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -58,6 +62,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_interrupt_restore(UINT previous_posture)
diff --git a/ports_module/cortex_m7/iar/module_manager/src/tx_thread_stack_build.s b/ports_module/cortex_m7/iar/module_manager/src/tx_thread_stack_build.s
index ee9e07e3..10b3dba9 100644
--- a/ports_module/cortex_m7/iar/module_manager/src/tx_thread_stack_build.s
+++ b/ports_module/cortex_m7/iar/module_manager/src/tx_thread_stack_build.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
@@ -27,7 +31,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_stack_build Cortex-M7/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -60,6 +64,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_stack_build(TX_THREAD *thread_ptr, VOID (*function_ptr)(VOID))
diff --git a/ports_module/cortex_m7/iar/module_manager/src/tx_thread_system_return.s b/ports_module/cortex_m7/iar/module_manager/src/tx_thread_system_return.s
index 571f9b21..5c2239dc 100644
--- a/ports_module/cortex_m7/iar/module_manager/src/tx_thread_system_return.s
+++ b/ports_module/cortex_m7/iar/module_manager/src/tx_thread_system_return.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
SECTION `.text`:CODE:NOROOT(2)
THUMB
/**************************************************************************/
@@ -27,7 +31,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_system_return Cortex-M7/IAR */
-/* 6.1.7 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -60,6 +64,8 @@
/* DATE NAME DESCRIPTION */
/* */
/* 06-02-2021 Scott Larson Initial Version 6.1.7 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_system_return(VOID)
diff --git a/ports_module/cortex_m7/iar/module_manager/src/tx_timer_interrupt.s b/ports_module/cortex_m7/iar/module_manager/src/tx_timer_interrupt.s
index 27396fd0..e36a24be 100644
--- a/ports_module/cortex_m7/iar/module_manager/src/tx_timer_interrupt.s
+++ b/ports_module/cortex_m7/iar/module_manager/src/tx_timer_interrupt.s
@@ -20,6 +20,10 @@
/**************************************************************************/
/**************************************************************************/
+#ifdef TX_INCLUDE_USER_DEFINE_FILE
+#include "tx_user.h"
+#endif
+
EXTERN _tx_timer_time_slice
EXTERN _tx_timer_system_clock
EXTERN _tx_timer_current_ptr
@@ -40,7 +44,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_timer_interrupt Cortex-M7/IAR */
-/* 6.1.10 */
+/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
@@ -77,6 +81,8 @@
/* 01-31-2022 Scott Larson Modified comment(s), added */
/* TX_NO_TIMER support, */
/* resulting in version 6.1.10 */
+/* xx-xx-xxxx Tiejun Zhou Included tx_user.h, */
+/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_timer_interrupt(VOID)
diff --git a/test/ports/azrtos_setenv_ac5.bat b/test/ports/azrtos_setenv_ac5.bat
index 144f7a67..5ae48eff 100644
--- a/test/ports/azrtos_setenv_ac5.bat
+++ b/test/ports/azrtos_setenv_ac5.bat
@@ -7,7 +7,9 @@ IF EXIST "%AZRTOS_ARM_COMPILER_5_DIR%" GOTO FOUND_ARM_COMPILER_5
SET "AZRTOS_ARM_COMPILER_5_DIR=%ProgramFiles%\Arm\Development Studio 2021.0\sw\ARMCompiler5.06u7\bin"
IF EXIST "%AZRTOS_ARM_COMPILER_5_DIR%" (
SET "PATH=%AZRTOS_ARM_COMPILER_5_DIR%;%PATH%"
- SET "ARMLMD_LICENSE_FILE=%APPDATA%\arm\ds\licenses"
+ IF "%ARMLMD_LICENSE_FILE%"=="" (
+ SET "ARMLMD_LICENSE_FILE=%APPDATA%\arm\ds\licenses"
+ )
SET "ARM_CONFIG_PATH=%APPDATA%\arm\ds\2021.0"
SET "ARM_PRODUCT_DEF=%ProgramFiles%\Arm\Development Studio 2021.0\sw\mappings\gold.elmap"
GOTO FOUND_ARM_COMPILER_5
@@ -16,7 +18,9 @@ IF EXIST "%AZRTOS_ARM_COMPILER_5_DIR%" (
SET "AZRTOS_ARM_COMPILER_5_DIR=%ProgramFiles%\Arm\Development Studio 2020.1\sw\ARMCompiler5.06u7\bin"
IF EXIST "%AZRTOS_ARM_COMPILER_5_DIR%" (
SET "PATH=%AZRTOS_ARM_COMPILER_5_DIR%;%PATH%"
- SET "ARMLMD_LICENSE_FILE=%APPDATA%\arm\ds\licenses"
+ IF "%ARMLMD_LICENSE_FILE%"=="" (
+ SET "ARMLMD_LICENSE_FILE=%APPDATA%\arm\ds\licenses"
+ )
SET "ARM_CONFIG_PATH=%APPDATA%\arm\ds\2020.1"
SET "ARM_PRODUCT_DEF=%ProgramFiles%\Arm\Development Studio 2020.1\sw\mappings\gold.elmap"
GOTO FOUND_ARM_COMPILER_5
@@ -25,7 +29,9 @@ IF EXIST "%AZRTOS_ARM_COMPILER_5_DIR%" (
SET "AZRTOS_ARM_COMPILER_5_DIR=%ProgramFiles%\Arm\Development Studio 2020.0\sw\ARMCompiler5.06u6\bin"
IF EXIST "%AZRTOS_ARM_COMPILER_5_DIR%" (
SET "PATH=%AZRTOS_ARM_COMPILER_5_DIR%;%PATH%"
- SET "ARMLMD_LICENSE_FILE=%APPDATA%\arm\ds\licenses"
+ IF "%ARMLMD_LICENSE_FILE%"=="" (
+ SET "ARMLMD_LICENSE_FILE=%APPDATA%\arm\ds\licenses"
+ )
SET "ARM_CONFIG_PATH=%APPDATA%\arm\ds\2020.0"
SET "ARM_PRODUCT_DEF=%ProgramFiles%\Arm\Development Studio 2020.0\sw\mappings\gold.elmap"
GOTO FOUND_ARM_COMPILER_5
@@ -34,7 +40,9 @@ IF EXIST "%AZRTOS_ARM_COMPILER_5_DIR%" (
SET "AZRTOS_ARM_COMPILER_5_DIR=%ProgramFiles%\DS-5 v5.29.3\sw\ARMCompiler5.06u6\bin"
IF EXIST "%AZRTOS_ARM_COMPILER_5_DIR%" (
SET "PATH=%AZRTOS_ARM_COMPILER_5_DIR%;%PATH%"
- SET "ARMLMD_LICENSE_FILE=%APPDATA%\ARM\DS-5\licenses"
+ IF "%ARMLMD_LICENSE_FILE%"=="" (
+ SET "ARMLMD_LICENSE_FILE=%APPDATA%\arm\ds\licenses"
+ )
SET "ARM_CONFIG_PATH=%APPDATA%\ARM\DS-5_v5.29.3"
SET "ARM_PRODUCT_PATH=%ProgramFiles%\DS-5 v5.29.3\sw\mappings"
GOTO FOUND_ARM_COMPILER_5