]> git.gag.com Git - fw/openocd/blobdiff - src/target/hla_target.c
armv7m_trace: get rid of the old tpiu code
[fw/openocd] / src / target / hla_target.c
index 99afccc490d0e46acc01f1398a63dc82d6c6347e..ca8b5874afd9baba202bba390dc3bb1649d10b80 100644 (file)
@@ -39,6 +39,7 @@
 #include "cortex_m.h"
 #include "arm_semihosting.h"
 #include "target_request.h"
+#include <rtt/rtt.h>
 
 #define savedDCRDR  dbgbase  /* FIXME: using target->dbgbase to preserve DCRDR */
 
@@ -626,6 +627,14 @@ static const struct command_registration adapter_command_handlers[] = {
        {
                .chain = armv7m_trace_command_handlers,
        },
+       {
+               .chain = rtt_target_command_handlers,
+       },
+       /* START_DEPRECATED_TPIU */
+       {
+               .chain = arm_tpiu_deprecated_command_handlers,
+       },
+       /* END_DEPRECATED_TPIU */
        COMMAND_REGISTRATION_DONE
 };