]> git.sur5r.net Git - openocd/blobdiff - src/target/armv7m.h
stlink: add armv7m stlink handling
[openocd] / src / target / armv7m.h
index 6002b571fc10a6af0a05f472be4d6be95eca3ed6..bcf0ee1aaeb03c125791352fd6ce0b6f27221942 100644 (file)
@@ -171,9 +171,11 @@ struct armv7m_common {
        struct adiv5_dap dap;
 
        int fp_feature;
-
        uint32_t demcr;
 
+       /* stlink is a high level adapter, does not support all functions */
+       bool stlink;
+
        /* Direct processor core register read and writes */
        int (*load_core_reg_u32)(struct target *target,
                enum armv7m_regtype type, uint32_t num, uint32_t *value);