aboutsummaryrefslogtreecommitdiff
path: root/src/rtos/rtos.c
diff options
context:
space:
mode:
authorMatthias Blaicher <matthias@blaicher.com>2012-10-05 18:56:04 +0200
committerPeter Stuge <peter@stuge.se>2012-10-16 06:32:03 +0000
commit14e12c3969fef1a4649de1db0b0fac47e5295708 (patch)
treeea5e0712be1f54ac54824d9f865af6171776772c /src/rtos/rtos.c
parentd8e4a7370f439a5feb3948d5ed33f0884b8109f3 (diff)
rtos: Add ChibiOS/RT support
This patch adds ChibiOS/RT support. This patch requires at least ChibiOS/RT development version starting from SVN revision 4734. Note, that the Thread structures depend not only on the target but also on the ChibiOS configuration at build time. To correct this ChibiOS includes a new "memory signature" which specifies the offsets. Special thanks go to Peter Stuge and Spencer Oliver for their continous input and feedback to this patch. Change-Id: I842bf7ba6c2309a4efe93d29ea6cd0784a8b22a3 Signed-off-by: Matthias Blaicher <matthias@blaicher.com> Reviewed-on: http://openocd.zylin.com/901 Tested-by: jenkins Reviewed-by: Peter Stuge <peter@stuge.se>
Diffstat (limited to 'src/rtos/rtos.c')
-rw-r--r--src/rtos/rtos.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rtos/rtos.c b/src/rtos/rtos.c
index ed559c39..8e2b568d 100644
--- a/src/rtos/rtos.c
+++ b/src/rtos/rtos.c
@@ -34,12 +34,14 @@ extern struct rtos_type FreeRTOS_rtos;
extern struct rtos_type ThreadX_rtos;
extern struct rtos_type eCos_rtos;
extern struct rtos_type Linux_os;
+extern struct rtos_type ChibiOS_rtos;
static struct rtos_type *rtos_types[] = {
&ThreadX_rtos,
&FreeRTOS_rtos,
&eCos_rtos,
&Linux_os,
+ &ChibiOS_rtos,
NULL
};