]> git.sur5r.net Git - openocd/commit
RTOS support: Add FPU support for FreeRTOS
authorJonathan Dumaresq <jdumaresq@cimeq.qc.ca>
Wed, 6 Apr 2016 20:00:06 +0000 (16:00 -0400)
committerFreddie Chopin <freddie.chopin@gmail.com>
Wed, 4 May 2016 21:36:23 +0000 (22:36 +0100)
commitf5b7033742e0858610d37808f15b25602ba62995
tree3454a4a41fe3dfa7a826af918f8a7fb653992b44
parent5396ec5dcc64354c8101f8d3f16d498ca3b10326
RTOS support: Add FPU support for FreeRTOS

Add new structure for for working with FPU thread in thread view.
This modification support both stacking.
When FPU is activated, LR must be validated to check if the FPU
register are push on the stack. This is mandatory to find the correct
stack pointer position.

the modified code was inspired and adapted from

https://github.com/TauLabs/TauLabs/commit/88d2003bb83a6b72c796274c889e307f96645966

Change-Id: I6641926aa14e7216cacb399cbc8bb0db324cc9fc
Signed-off-by: Jonathan Dumaresq <jdumaresq@cimeq.qc.ca>
Reviewed-on: http://openocd.zylin.com/3397
Tested-by: jenkins
Reviewed-by: Sergey A. Borshch <sb-sf@users.sourceforge.net>
Reviewed-by: Harry Zhurov <harry.zhurov@gmail.com>
Reviewed-by: Anton Gusev
Reviewed-by: Михаил Цивинский <mtsivinsky@gmail.com>
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
src/rtos/FreeRTOS.c
src/rtos/rtos_standard_stackings.c
src/rtos/rtos_standard_stackings.h