jtag/hla_layout: add #include <target/arm_tpiu_swo.h>
authorTarek BOCHKATI <tarek.bouchkati@gmail.com>
Thu, 11 Nov 2021 22:55:39 +0000 (23:55 +0100)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 20 Nov 2021 14:43:51 +0000 (14:43 +0000)
hla_layout.h uses explicitly tpiu_pin_protocol enum defined in
arm_tpiu_swo.h.
To make this header file consistent, add the missing include.

Change-Id: Ibecc279da8d6859ced2b8377e812554c747d81bb
Signed-off-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/6687
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
src/jtag/hla/hla_layout.h

index a8088fe95ca823686d7e0cd38a1955dabe82f056..732fe1e6ae1aca6e572445a43ba4b9e1f89370d4 100644 (file)
@@ -23,6 +23,7 @@
 #define OPENOCD_JTAG_HLA_HLA_LAYOUT_H
 
 #include <target/armv7m_trace.h>
+#include <target/arm_tpiu_swo.h>
 
 /** */
 struct hl_interface_s;