projects
/
fw
/
stlink
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d92870
)
fix typo in stm32l0x flash loader
author
Robin Kreis
<r.kreis@uni-bremen.de>
Tue, 28 Apr 2015 20:37:01 +0000
(22:37 +0200)
committer
Robin Kreis
<r.kreis@uni-bremen.de>
Tue, 28 Apr 2015 20:37:01 +0000
(22:37 +0200)
The typo caused errors when flashing an stm32l052. This commit makes
stlink-common.c match flashloaders/stm32l0x.s.
src/stlink-common.c
patch
|
blob
|
history
diff --git
a/src/stlink-common.c
b/src/stlink-common.c
index 4599e6aa8acd924591453a33993e401d81e3f511..962cddbf54dddba7f38ad13b09cc9d7006500810 100644
(file)
--- a/
src/stlink-common.c
+++ b/
src/stlink-common.c
@@
-1339,7
+1339,7
@@
int write_loader_to_sram(stlink_t *sl, stm32_addr_t* addr, size_t* size) {
0x04, 0xe0,
0x0c, 0x68,
- 0x04, 0x6
6
,
+ 0x04, 0x6
0
,
0x01, 0x33,
0x04, 0x31,
0x04, 0x30,