diff options
author | Chao Du <124672769+Du-Chao@users.noreply.github.com> | 2023-03-09 08:24:06 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-08 16:24:06 -0800 |
commit | 59e368e3089fd38ee7d88c3456e1922eaa9ca658 (patch) | |
tree | 712756b616a129277ce1a1a17921b12ca17d88d2 /doc | |
parent | cd481a97e9ae604880b8239679bf83534e83b381 (diff) | |
download | riscv-openocd-59e368e3089fd38ee7d88c3456e1922eaa9ca658.zip riscv-openocd-59e368e3089fd38ee7d88c3456e1922eaa9ca658.tar.gz riscv-openocd-59e368e3089fd38ee7d88c3456e1922eaa9ca658.tar.bz2 |
Calculate the FreeRTOS type sizes and offsets more adaptively. (#806)
* Calculate the FreeRTOS type sizes and offsets more adaptively.
The definition of TickType_t varies between different targets. And it is also related to configUSE_16_BIT_TICKS option.
Thus introduce a new command to make sure we are using a correct ticktype size.
Change-Id: I9e38b331a9f07b96eb9a2c259e32377fca0106ad
Signed-off-by: Chao Du <duchao@eswincomputing.com>
* redundant semicolon.
Change-Id: Ia21f0537e476099d8fe519ef78b3328d14123a38
* Update after review.
Change-Id: I1825185ec9b0557d7e01f34a8f366661b3734aa7
* update doc
Change-Id: I24b21c88b02ca3d76f1362f2545e86c068fc0ec6
---------
Signed-off-by: Chao Du <duchao@eswincomputing.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/openocd.texi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi index 99cae9a..b66627f 100644 --- a/doc/openocd.texi +++ b/doc/openocd.texi @@ -12018,6 +12018,14 @@ contrib/rtos-helpers/FreeRTOS-openocd.c contrib/rtos-helpers/uCOS-III-openocd.c @end table +@section RTOS Commands +@cindex RTOS Commands + +@deffn {Config Command} {freertos_ticktype_size} (2|4|8) +Pass the size (in bytes) of FreeRTOS TickType_t to OpenOCD. To make sure the +calculation of offsets and sizes is correct. Defaults to 4. +@end deffn + @anchor{usingopenocdsmpwithgdb} @section Using OpenOCD SMP with GDB @cindex SMP |