cmd: add missing usage vars
[fw/openocd] / src / jtag / interfaces.c
index 76a4e8d103eca81067adcfc5ee33c57a1b5c5983..7e8748a0da65493d696a73fac41515900daa8ef0 100644 (file)
@@ -100,6 +100,9 @@ extern struct jtag_interface buspirate_interface;
 #if BUILD_REMOTE_BITBANG == 1
 extern struct jtag_interface remote_bitbang_interface;
 #endif
+#if BUILD_STLINK == 1
+extern struct jtag_interface stlink_interface;
+#endif
 #endif // standard drivers
 
 /**
@@ -169,6 +172,9 @@ struct jtag_interface *jtag_interfaces[] = {
 #if BUILD_REMOTE_BITBANG == 1
                &remote_bitbang_interface,
 #endif
+#if BUILD_STLINK == 1
+               &stlink_interface,
+#endif
 #endif // standard drivers
                NULL,
        };