This is an automated email from Gerrit.

Paul Fertser ([email protected]) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/652

-- gerrit

commit a673d41a07ecdbf355cbbae386b6ca48f9b3c377
Author: Paul Fertser <[email protected]>
Date:   Thu May 17 23:38:25 2012 +0400

    rtos: support FreeRTOS over stlink
    
    Since stlink is a special case it presents the same CPU core under a
    different name, so copy the configuration to account for that.
    
    Change-Id: I9febf79b388301bde6211d185b5b8161cdadb9ff
    Signed-off-by: Paul Fertser <[email protected]>

diff --git a/src/rtos/FreeRTOS.c b/src/rtos/FreeRTOS.c
index a646269..8e99c26 100644
--- a/src/rtos/FreeRTOS.c
+++ b/src/rtos/FreeRTOS.c
@@ -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 */
        }
 };
 

-- 

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to