rtos: support FreeRTOS over stlink
[fw/openocd] / src / rtos / FreeRTOS.c
index 1e4ddc532a51c1c68d905f66548d61f122df718b..2295d7456532ee1709cc3ec5bc833551934910eb 100644 (file)
@@ -59,6 +59,18 @@ const struct FreeRTOS_params FreeRTOS_params_list[] = {
        0,                                              /* thread_stack_offset; */
        52,                                             /* thread_name_offset; */
        &rtos_standard_Cortex_M3_stacking,      /* stacking_info */
+       },
+       {
+       "stm32_stlink",                 /* target_name */
+       4,                                              /* thread_count_width; */
+       4,                                              /* pointer_width; */
+       16,                                             /* list_next_offset; */
+       20,                                             /* list_width; */
+       8,                                              /* list_elem_next_offset; */
+       12,                                             /* list_elem_content_offset */
+       0,                                              /* thread_stack_offset; */
+       52,                                             /* thread_name_offset; */
+       &rtos_standard_Cortex_M3_stacking,      /* stacking_info */
        }
 };