X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Frtos%2FThreadX.c;h=714c6fef5df8ca98ccca9afcf35e48f1bffe3352;hp=297f3fa8c05ed41fd14cc91cefd2ce9899b91327;hb=26902bb317d1a5e7a7367e486b03580133ef3dd6;hpb=db42a373b7ef2bc7e63fe0d040f62a054ef72cf8 diff --git a/src/rtos/ThreadX.c b/src/rtos/ThreadX.c index 297f3fa8c0..714c6fef5d 100644 --- a/src/rtos/ThreadX.c +++ b/src/rtos/ThreadX.c @@ -80,7 +80,16 @@ const struct ThreadX_params ThreadX_params_list[] = { 48, /* thread_state_offset; */ 136, /* thread_next_offset */ &rtos_standard_Cortex_M3_stacking, /* stacking_info */ - } + }, + { + "cortex_r4", /* target_name */ + 4, /* pointer_width; */ + 8, /* thread_stack_offset; */ + 40, /* thread_name_offset; */ + 48, /* thread_state_offset; */ + 136, /* thread_next_offset */ + &rtos_standard_Cortex_R4_stacking, /* stacking_info */ + }, }; #define THREADX_NUM_PARAMS ((int)(sizeof(ThreadX_params_list)/sizeof(struct ThreadX_params)))