]> git.sur5r.net Git - openocd/commit
rtos: add instructions and helper code to make FreeRTOS work again
authorAndreas Fritiofson <andreas.fritiofson@gmail.com>
Thu, 16 Apr 2015 11:08:14 +0000 (13:08 +0200)
committerPaul Fertser <fercerpav@gmail.com>
Thu, 16 Apr 2015 19:23:46 +0000 (20:23 +0100)
commit9dfb58e802787b1dcee756cdf963a7a2ac808eca
tree35e9ec89c51c0c2c03f8f46c802ee3be349bfd1c
parent6b2887e16acefada94a496ef786882d04b9b89a2
rtos: add instructions and helper code to make FreeRTOS work again

Run-time tested with FreeRTOS V8.1.2 (current version).

For the time being I propose this way of dealing with RTOSes that do
not export necessary information on their own.

I also suggest implementing a similar scheme for ChibiOS, exporting
the necessary struct fields' offsets via an OpenOCD-specific helper.

Change-Id: Iacf8b88004d62206215fe80011fd7592438446a3
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/2347
Tested-by: jenkins
contrib/rtos-helpers/FreeRTOS-openocd.c [new file with mode: 0644]
doc/openocd.texi
src/rtos/FreeRTOS.c