merge request: my STM32F042 has 6k of RAM according to table 2 of the datasheet
authortexane <texane@gmail.com>
Fri, 20 Mar 2015 16:52:25 +0000 (17:52 +0100)
committertexane <texane@gmail.com>
Fri, 20 Mar 2015 16:52:25 +0000 (17:52 +0100)
src/stlink-common.h

index 04a1081017806e3601e8a79ac38e4d519ab6d31c..3021691c6a07277047d513787c0d30cad95d1b63 100644 (file)
@@ -385,7 +385,7 @@ extern "C" {
             .description = "F04x device",
             .flash_size_reg = 0x1ffff7cc,      // "Flash size data register" (pg735)
             .flash_pagesize = 0x400,           // Page sizes listed in Table 4
-            .sram_size = 0x1000,               // "SRAM" byte size in hex from Table 2
+            .sram_size = 0x1800,               // "SRAM" byte size in hex from Table 2
             .bootrom_base = 0x1fffec00,                // "System memory" starting address from Table 2
             .bootrom_size = 0xC00              // "System memory" byte size in hex from Table 2
         },