tcl/target: enable -rtos hwthread
The rtos hwthread has been merged in 2019 with commit 85ba2dc4c6
("rtos/hwthread: add hardware-thread pseudo rtos").
During review in patchset 19 the name of the rtos has been changed
from 'hawt' to 'hwthread'.
Some target config file was already merged ready for hwthread, but
keeping the relevant lines commented and still reporting the old
name.
Enable rtos hwtread to the target that were supposed to use it.
Fix the name of the rtos.
Change-Id: I877862dcdba39f26462bb542bac06d1a5f5f222d
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/7384
Tested-by: jenkins
This commit is contained in:
parent
5292c7eae9
commit
a3ed12401b
|
@ -42,8 +42,7 @@ for { set _core 0 } { $_core < $_cores } { incr _core 1 } {
|
|||
#set _command "$_command -defer-examine"
|
||||
set _smp_command "$_smp_command ${_TARGETNAME}$_core"
|
||||
} else {
|
||||
# uncomment when "hawt" rtos is merged
|
||||
# set _command "$_command -rtos hawt"
|
||||
set _command "$_command -rtos hwthread"
|
||||
set _smp_command "target smp ${_TARGETNAME}$_core"
|
||||
}
|
||||
|
||||
|
|
|
@ -49,8 +49,7 @@ for { set _core 0 } { $_core < $_cores } { incr _core 1 } {
|
|||
set _command "$_command -defer-examine"
|
||||
set _smp_command "$_smp_command ${_TARGETNAME}$_core"
|
||||
} else {
|
||||
# uncomment when "hawt" rtos is merged
|
||||
# set _command "$_command -rtos hawt"
|
||||
set _command "$_command -rtos hwthread"
|
||||
set _smp_command "target smp ${_TARGETNAME}$_core"
|
||||
}
|
||||
|
||||
|
|
|
@ -57,8 +57,7 @@ for { set _core 0 } { $_core < $_cores } { incr _core 1 } {
|
|||
set _command "$_command -defer-examine"
|
||||
set _smp_command "$_smp_command ${_TARGETNAME}$_core"
|
||||
} else {
|
||||
# uncomment when "hawt" rtos is merged
|
||||
# set _command "$_command -rtos hawt"
|
||||
set _command "$_command -rtos hwthread"
|
||||
set _smp_command "target smp ${_TARGETNAME}$_core"
|
||||
}
|
||||
|
||||
|
|
|
@ -86,8 +86,7 @@ for { set _core 0 } { $_core < $_cores } { incr _core } {
|
|||
set _command "$_command -defer-examine"
|
||||
set _smp_command "$_smp_command $_TARGETNAME.$_core"
|
||||
} else {
|
||||
# uncomment when "hawt" rtos is merged
|
||||
#set _command "$_command -rtos hawt"
|
||||
set _command "$_command -rtos hwthread"
|
||||
set _smp_command "target smp $_TARGETNAME.$_core"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue