mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-10 18:24:11 +01:00
35 lines
1.4 KiB
Diff
35 lines
1.4 KiB
Diff
|
From fceb681b4421dd00eb47085990b77c0f0716517d 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 | 11 +++++++++++
|
||
|
1 files changed, 11 insertions(+), 0 deletions(-)
|
||
|
|
||
|
diff --git a/src/rtos/FreeRTOS.c b/src/rtos/FreeRTOS.c
|
||
|
index eeab134..e57806e 100644
|
||
|
--- a/src/rtos/FreeRTOS.c
|
||
|
+++ b/src/rtos/FreeRTOS.c
|
||
|
@@ -63,6 +63,17 @@ 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
|
||
|
|