]> git.sur5r.net Git - openocd/blobdiff - src/jtag/interface.h
initial SWD transport (SWD infrastructure #2)
[openocd] / src / jtag / interface.h
index 3226944e3f5b5ea04f51989f35a10d597c7d3559..958af8f5a518b5844db4322ae80a83c2f9830c1b 100644 (file)
@@ -209,6 +209,8 @@ struct jtag_interface {
        /** transports supported in C code (NULL terminated vector) */
        const char **transports;
 
+       const struct swd_driver *swd;
+
        /**
         * Execute queued commands.
         * @returns ERROR_OK on success, or an error code on failure.
@@ -294,4 +296,6 @@ struct jtag_interface {
 
 extern const char *jtag_only[];
 
+extern const struct swd_driver *swd;
+
 #endif // OPENOCD_JTAG_INTERFACE_H