summaryrefslogtreecommitdiff
path: root/src/rtos/rtos.c
diff options
context:
space:
mode:
authorAlan Bowman <alan.michael.bowman@gmail.com>2011-05-23 20:32:00 +0100
committerØyvind Harboe <oyvind.harboe@zylin.com>2011-05-25 22:05:23 +0200
commita57daf23db62738754c309dfcda0f4f3cfa62fa6 (patch)
tree4a62e57f71f993b4b4bc652d1ff9d9cc46f55c10 /src/rtos/rtos.c
parent6d6837f988cbce26de0195ad69736241501cdb0e (diff)
downloadopenocd+libswd-a57daf23db62738754c309dfcda0f4f3cfa62fa6.tar.gz
openocd+libswd-a57daf23db62738754c309dfcda0f4f3cfa62fa6.tar.bz2
openocd+libswd-a57daf23db62738754c309dfcda0f4f3cfa62fa6.tar.xz
openocd+libswd-a57daf23db62738754c309dfcda0f4f3cfa62fa6.zip
Add eCos/Cortex RTOS support
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 3cdd9125..9eed08e0 100644
--- a/src/rtos/rtos.c
+++ b/src/rtos/rtos.c
@@ -38,11 +38,13 @@ static int str_to_hex( char* hex_dst, char* src );
/* RTOSs */
extern struct rtos_type FreeRTOS_rtos;
extern struct rtos_type ThreadX_rtos;
+extern struct rtos_type eCos_rtos;
static struct rtos_type *rtos_types[] =
{
&ThreadX_rtos,
&FreeRTOS_rtos,
+ &eCos_rtos,
NULL
};