mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-11-30 08:24:11 +01:00
36 lines
1.0 KiB
Diff
36 lines
1.0 KiB
Diff
From 357f02c963478c4994ba5038accadce1576601d5 Mon Sep 17 00:00:00 2001
|
|
From: Stacey Sheldon <stac@solidgoldbomb.org>
|
|
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 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 */
|
|
}
|
|
};
|
|
|
|
--
|
|
1.7.5.4
|
|
|