From e29b134e142cd759c85de4ea7c26084e87380ce1 Mon Sep 17 00:00:00 2001 From: Stacey Sheldon Date: Thu, 2 Feb 2012 22:42:26 -0500 Subject: [PATCH 2/2] rtos: add stm32_stlink to FreeRTOS targets --- src/rtos/FreeRTOS.c | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/src/rtos/FreeRTOS.c b/src/rtos/FreeRTOS.c index c7b4643..e99d471 100644 --- a/src/rtos/FreeRTOS.c +++ b/src/rtos/FreeRTOS.c @@ -57,6 +57,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 */ } }; -- 1.7.1