diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/cortex-m/task.c | 4 | ||||
-rw-r--r-- | core/cortex-m0/task.c | 4 | ||||
-rw-r--r-- | core/host/task.c | 3 |
3 files changed, 11 insertions, 0 deletions
diff --git a/core/cortex-m/task.c b/core/cortex-m/task.c index 91b9e62caa..ae2882ac10 100644 --- a/core/cortex-m/task.c +++ b/core/cortex-m/task.c @@ -36,6 +36,7 @@ typedef union { void __idle(void); CONFIG_TASK_LIST CONFIG_TEST_TASK_LIST +CONFIG_CTS_TASK_LIST #undef TASK /* Task names for easier debugging */ @@ -44,6 +45,7 @@ static const char * const task_names[] = { "<< idle >>", CONFIG_TASK_LIST CONFIG_TEST_TASK_LIST + CONFIG_CTS_TASK_LIST }; #undef TASK @@ -117,6 +119,7 @@ static const struct { TASK(IDLE, __idle, 0, IDLE_TASK_STACK_SIZE) CONFIG_TASK_LIST CONFIG_TEST_TASK_LIST + CONFIG_CTS_TASK_LIST }; #undef TASK @@ -133,6 +136,7 @@ uint8_t task_stacks[0 TASK(IDLE, __idle, 0, IDLE_TASK_STACK_SIZE) CONFIG_TASK_LIST CONFIG_TEST_TASK_LIST + CONFIG_CTS_TASK_LIST ] __aligned(8); #undef TASK diff --git a/core/cortex-m0/task.c b/core/cortex-m0/task.c index b013fe82f4..5d219a5149 100644 --- a/core/cortex-m0/task.c +++ b/core/cortex-m0/task.c @@ -36,6 +36,7 @@ typedef union { void __idle(void); CONFIG_TASK_LIST CONFIG_TEST_TASK_LIST +CONFIG_CTS_TASK_LIST #undef TASK /* Task names for easier debugging */ @@ -44,6 +45,7 @@ static const char * const task_names[] = { "<< idle >>", CONFIG_TASK_LIST CONFIG_TEST_TASK_LIST + CONFIG_CTS_TASK_LIST }; #undef TASK @@ -97,6 +99,7 @@ static const struct { TASK(IDLE, __idle, 0, IDLE_TASK_STACK_SIZE) CONFIG_TASK_LIST CONFIG_TEST_TASK_LIST + CONFIG_CTS_TASK_LIST }; #undef TASK @@ -113,6 +116,7 @@ uint8_t task_stacks[0 TASK(IDLE, __idle, 0, IDLE_TASK_STACK_SIZE) CONFIG_TASK_LIST CONFIG_TEST_TASK_LIST + CONFIG_CTS_TASK_LIST ] __aligned(8); #undef TASK diff --git a/core/host/task.c b/core/host/task.c index 8e85679890..7a17e13e89 100644 --- a/core/host/task.c +++ b/core/host/task.c @@ -61,6 +61,7 @@ static void task_enable_all_tasks_callback(void); #define TASK(n, r, d, s) void r(void *); CONFIG_TASK_LIST CONFIG_TEST_TASK_LIST +CONFIG_CTS_TASK_LIST #undef TASK /* Idle task */ @@ -80,6 +81,7 @@ struct task_args task_info[TASK_ID_COUNT] = { {__idle, NULL}, CONFIG_TASK_LIST CONFIG_TEST_TASK_LIST + CONFIG_CTS_TASK_LIST {_run_test, NULL}, }; #undef TASK @@ -89,6 +91,7 @@ static const char * const task_names[] = { "<< idle >>", CONFIG_TASK_LIST CONFIG_TEST_TASK_LIST + CONFIG_CTS_TASK_LIST "<< test runner >>", }; #undef TASK |