cmsis_dap: add support for swo commands
commit6ae38ef7f7ff6fd51d4536ddf60d905ed6ac158e
authorAdrian Negreanu <adrian.negreanu@nxp.com>
Wed, 19 May 2021 10:33:30 +0000 (19 13:33 +0300)
committerAntonio Borneo <borneo.antonio@gmail.com>
Fri, 4 Jun 2021 16:45:30 +0000 (4 17:45 +0100)
tree82520f2925598b404435692ba81d2e4b539dbd26
parentc4dd883c9a919b0b0a36bc538157820225b85610
cmsis_dap: add support for swo commands

Replaced mixed snake_case_CamelCase with snake_case.
Define variables at first-use location.

CMSIS-DAP SWO specification:

    https://arm-software.github.io/CMSIS_5/DAP/html/group__DAP__swo__gr.html

Change-Id: Ieba79b16efd445143f964b614673d041aae74f92
Signed-off-by: Adrian Negreanu <adrian.negreanu@nxp.com>
Reviewed-on: http://openocd.zylin.com/5820
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
src/jtag/drivers/cmsis_dap.c
src/jtag/drivers/cmsis_dap.h