X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Ftarget%2Ftarget%2Faduc702x.cfg;h=3bc474f223b3b53564b29356ef6953d95ddeda3d;hb=ef1cfb23947bd32798077c6abb5c25a049460ae9;hp=fdffbfea6d9185f1fd544b629474409748593013;hpb=3c8ef2c41baea675526af28f01008fcb550f8748;p=fw%2Fopenocd diff --git a/src/target/target/aduc702x.cfg b/src/target/target/aduc702x.cfg index fdffbfea6..3bc474f22 100644 --- a/src/target/target/aduc702x.cfg +++ b/src/target/target/aduc702x.cfg @@ -34,5 +34,5 @@ proc watchdog_service {} { set watchdog_hdl [after 500 watchdog_service] } -proc target_0_post_halt {} { watchdog_service } -proc arget_0_pre_resume {} { global watchdog_hdl; after cancel $watchdog_hdl } +[new_target_name] configure -event old-post_halt { watchdog_service } +[new_target_name] configure -event old-pre_resume { global watchdog_hdl; after cancel $watchdog_hdl }