stlink: add DAP direct driver
[fw/openocd] / src / target / arm_adi_v5.h
index 88b7e5c874732d0055c6e759620582e28ed494b9..17365bddb5a062d294bb09434050636178cf9a94 100644 (file)
@@ -279,6 +279,12 @@ struct adiv5_dap {
         * swizzle appropriately. */
        bool ti_be_32_quirks;
 
+       /**
+        * STLINK adapter need to know if last AP operation was read or write, and
+        * in case of write has to flush it with a dummy read from DP_RDBUFF
+        */
+       bool stlink_flush_ap_write;
+
        /**
         * Signals that an attempt to reestablish communication afresh
         * should be performed before the next access.