projects
/
fw
/
stlink
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
88099a9
)
merge request: my STM32F042 has 6k of RAM according to table 2 of the datasheet
author
texane
<texane@gmail.com>
Fri, 20 Mar 2015 16:52:25 +0000
(17:52 +0100)
committer
texane
<texane@gmail.com>
Fri, 20 Mar 2015 16:52:25 +0000
(17:52 +0100)
src/stlink-common.h
patch
|
blob
|
history
diff --git
a/src/stlink-common.h
b/src/stlink-common.h
index 04a1081017806e3601e8a79ac38e4d519ab6d31c..3021691c6a07277047d513787c0d30cad95d1b63 100644
(file)
--- a/
src/stlink-common.h
+++ b/
src/stlink-common.h
@@
-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
.description = "F04x device",
.flash_size_reg = 0x1ffff7cc, // "Flash size data register" (pg735)
.flash_pagesize = 0x400, // Page sizes listed in Table 4
- .sram_size = 0x1
0
00, // "SRAM" byte size in hex from Table 2
+ .sram_size = 0x1
8
00, // "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
},
.bootrom_base = 0x1fffec00, // "System memory" starting address from Table 2
.bootrom_size = 0xC00 // "System memory" byte size in hex from Table 2
},