diff options
author | Hsiangkai Wang <hsiangkai@gmail.com> | 2013-06-10 11:37:24 +0800 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2013-09-13 19:37:45 +0000 |
commit | 356f8a74122b45b383c141358ee7b11adf7a37f0 (patch) | |
tree | 2e1e4f2cd6590a73ac7178cb74adc43363070aa0 /src/rtos/FreeRTOS.c | |
parent | a8d0fec087b18d44a05124e48fa9f2ef111d3e8a (diff) | |
download | riscv-openocd-356f8a74122b45b383c141358ee7b11adf7a37f0.zip riscv-openocd-356f8a74122b45b383c141358ee7b11adf7a37f0.tar.gz riscv-openocd-356f8a74122b45b383c141358ee7b11adf7a37f0.tar.bz2 |
nds32: support FreeRTOS
Change-Id: I117b5541fb19388c0f5c2344ee42d9151c9a222e
Signed-off-by: Hsiangkai Wang <hsiangkai@gmail.com>
Reviewed-on: http://openocd.zylin.com/1577
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'src/rtos/FreeRTOS.c')
-rw-r--r-- | src/rtos/FreeRTOS.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/rtos/FreeRTOS.c b/src/rtos/FreeRTOS.c index 04cbdfc..321b1e1 100644 --- a/src/rtos/FreeRTOS.c +++ b/src/rtos/FreeRTOS.c @@ -72,7 +72,19 @@ const struct FreeRTOS_params FreeRTOS_params_list[] = { 0, /* thread_stack_offset; */ 52, /* thread_name_offset; */ &rtos_standard_Cortex_M3_stacking, /* stacking_info */ - } + }, + { + "nds32_v3", /* target_name */ + 4, /* thread_count_width; */ + 4, /* pointer_width; */ + 16, /* list_next_offset; */ + 20, /* list_width; */ + 8, /* list_elem_next_offset; */ + 12, /* list_elem_content_offset */ + 0, /* thread_stack_offset; */ + 52, /* thread_name_offset; */ + &rtos_standard_NDS32_N1068_stacking, /* stacking_info */ + }, }; #define FREERTOS_NUM_PARAMS ((int)(sizeof(FreeRTOS_params_list)/sizeof(struct FreeRTOS_params))) |