Skip to content

Commit

Permalink
tcl/target: enable -rtos hwthread
Browse files Browse the repository at this point in the history
The rtos hwthread has been merged in 2019 with commit 85ba2dc
("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 <[email protected]>
Reviewed-on: https://review.openocd.org/c/openocd/+/7384
Tested-by: jenkins
  • Loading branch information
borneoa committed Jan 15, 2023
1 parent 5292c7e commit a3ed124
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
3 changes: 1 addition & 2 deletions tcl/target/hi3798.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

Expand Down
3 changes: 1 addition & 2 deletions tcl/target/hi6220.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

Expand Down
3 changes: 1 addition & 2 deletions tcl/target/marvell/88f37x0.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

Expand Down
3 changes: 1 addition & 2 deletions tcl/target/xilinx_zynqmp.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

Expand Down

0 comments on commit a3ed124

Please sign in to comment.