Successfully locate and open stlinkv1 by usb
[fw/stlink] / src / stlink-common.h
index cb6c6cc09705ddbdebc7d7d0cfbde60746027729..18e1c0c733697577b759aa262e0c992900d4e0e3 100644 (file)
@@ -175,15 +175,13 @@ extern "C" {
         /* sram settings */
 #define STM32_SRAM_BASE 0x20000000
 #define STM32_SRAM_SIZE (8 * 1024)
+#define STM32L_SRAM_SIZE (16 * 1024)
         stm32_addr_t sram_base;
         size_t sram_size;
 
+        struct stlink_version_ version;
     };
 
-    // some quick and dirty logging...
-    void D(stlink_t *sl, char *txt);
-    void DD(stlink_t *sl, char *format, ...);
-
     //stlink_t* stlink_quirk_open(const char *dev_name, const int verbose);
 
     // delegated functions...