This is an automated email from Gerrit.

"Ben McMorran <bemcm...@microsoft.com>" just uploaded a new patch set to 
Gerrit, which you can find at https://review.openocd.org/c/openocd/+/6829

-- gerrit

commit 1fc1658cd997173d784c11dfe2e7cff94575adeb
Author: Ben McMorran <bemcm...@microsoft.com>
Date:   Thu Jan 27 14:45:16 2022 -0800

    rtos: threadx: Add hla_target support for ThreadX
    
    Tested with an AZ3166 dev board (which uses the STM32F412ZGT6) running
    the Azure RTOS ThreadX demonstration system.
    
    Signed-off-by: Ben McMorran <bemcm...@microsoft.com>
    Change-Id: I44c8f7701d9f1aaa872274166321cd7d34fb1855

diff --git a/src/rtos/ThreadX.c b/src/rtos/ThreadX.c
index 0b3fef07e..b0ed71d9c 100644
--- a/src/rtos/ThreadX.c
+++ b/src/rtos/ThreadX.c
@@ -177,6 +177,18 @@ static const struct ThreadX_params ThreadX_params_list[] = 
{
        get_stacking_info_arm926ejs,            /* fn_get_stacking_info */
        is_thread_id_valid_arm926ejs,           /* fn_is_thread_id_valid */
        },
+       {
+       "hla_target",                           /* target_name */
+       4,                                                      /* 
pointer_width; */
+       8,                                                      /* 
thread_stack_offset; */
+       40,                                                     /* 
thread_name_offset; */
+       48,                                                     /* 
thread_state_offset; */
+       136,                                            /* thread_next_offset */
+       &rtos_standard_Cortex_M3_stacking,      /* stacking_info */
+       1,                                                      /* 
stacking_info_nb */
+       NULL,                                           /* fn_get_stacking_info 
*/
+       NULL,                                           /* 
fn_is_thread_id_valid */
+       },
 };
 
 #define THREADX_NUM_PARAMS ((int)(sizeof(ThreadX_params_list)/sizeof(struct 
ThreadX_params)))

-- 

Reply via email to