target/arm_cti: add new 'ack' and 'channel' commands 15/5315/4
authorTarek BOCHKATI <tarek.bouchkati@gmail.com>
Mon, 16 Dec 2019 15:05:17 +0000 (16:05 +0100)
committerTomas Vanek <vanekt@fbl.cz>
Thu, 2 Jan 2020 21:19:27 +0000 (21:19 +0000)
commit0750a7c085b0fb8b195b210a6835c93ea88a19f3
treee5e3369fd2379a2a9276ea426b40fceddbae044e
parentbc0667c2371b7b142356aaab7f125c30f76168fd
target/arm_cti: add new 'ack' and 'channel' commands

these commands have been introduced to ease the manipulation of CTI trough
script files, these commands are:
 - $cti_name ack $event : to acknowledge a CTI event
 - $cti_name channel $channel_number $operation: to perform an operation
    on a specific channel, the possible operations are:
    gate, ungate, set, clear and pulse

Change-Id: I35463867a3c85072f3776c3aeb1e5788953ec435
Signed-off-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com>
Reviewed-on: http://openocd.zylin.com/5315
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Tested-by: jenkins
doc/openocd.texi
src/target/arm_cti.c