LP-89 - Port OP_15.05.01 fixes. Release notes:
[librepilot.git] / flight / Project / OpenOCD / 0002-rtos-add-stm32_stlink-to-FreeRTOS-targets.patch
blob6140a4bb14959099ebc6b97633cfda04d8a056d2
1 From 357f02c963478c4994ba5038accadce1576601d5 Mon Sep 17 00:00:00 2001
2 From: Stacey Sheldon <stac@solidgoldbomb.org>
3 Date: Thu, 2 Feb 2012 22:42:26 -0500
4 Subject: [PATCH 2/2] rtos: add stm32_stlink to FreeRTOS targets
6 ---
7 src/rtos/FreeRTOS.c | 12 ++++++++++++
8 1 files changed, 12 insertions(+), 0 deletions(-)
10 diff --git a/src/rtos/FreeRTOS.c b/src/rtos/FreeRTOS.c
11 index a646269..8e99c26 100644
12 --- a/src/rtos/FreeRTOS.c
13 +++ b/src/rtos/FreeRTOS.c
14 @@ -59,6 +59,18 @@ const struct FreeRTOS_params FreeRTOS_params_list[] = {
15 0, /* thread_stack_offset; */
16 52, /* thread_name_offset; */
17 &rtos_standard_Cortex_M3_stacking, /* stacking_info */
18 + },
19 + {
20 + "stm32_stlink", /* target_name */
21 + 4, /* thread_count_width; */
22 + 4, /* pointer_width; */
23 + 16, /* list_next_offset; */
24 + 20, /* list_width; */
25 + 8, /* list_elem_next_offset; */
26 + 12, /* list_elem_content_offset */
27 + 0, /* thread_stack_offset; */
28 + 52, /* thread_name_offset; */
29 + &rtos_standard_Cortex_M3_stacking, /* stacking_info */
33 --
34 1.7.5.4