]> git.sur5r.net Git - openocd/commit
rtos: add support for uC/OS-III
authorSteven Stallion <stallion@squareup.com>
Sat, 16 Jul 2016 03:01:00 +0000 (22:01 -0500)
committerPaul Fertser <fercerpav@gmail.com>
Thu, 8 Dec 2016 12:29:35 +0000 (12:29 +0000)
commit1eae39b40d5338e96194ad3c83949718a857a2a2
treeff2be9ba5afebdac70a69754db6ba49c908e3709
parent29964c79846ea419e113dc90c0d74f1a7e16e70a
rtos: add support for uC/OS-III

This patch introduces RTOS support for uC/OS-III. Currently, only
FPU-less ARM Cortex-M targets are supported. Due to the configurability
of the RTOS, an OpenOCD-specific file must be linked along with the
project to determine the correct offsets within the OS_TCB structure.

In addition to the above, a crash was fixed in rtos_get_gdb_reg_list
such that RTOS support could be used between resets without restarting
OpenOCD and support for the Hg packet was cleaned up.

Change-Id: Ide004a689e6b886185df665c00fb644629eb31d1
Signed-off-by: Steven Stallion <stallion@squareup.com>
Reviewed-on: http://openocd.zylin.com/3556
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
contrib/rtos-helpers/uCOS-III-openocd.c [new file with mode: 0644]
doc/openocd.texi
src/rtos/Makefile.am
src/rtos/rtos.c
src/rtos/rtos_ucos_iii_stackings.c [new file with mode: 0644]
src/rtos/rtos_ucos_iii_stackings.h [new file with mode: 0644]
src/rtos/uCOS-III.c [new file with mode: 0644]