projects
/
fw
/
stlink
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add a TODO to check for Supply Voltage before setting F4 paralleisme to 32 bits
[fw/stlink]
/
src
/
stlink-common.c
diff --git
a/src/stlink-common.c
b/src/stlink-common.c
index 77ab98d0275e0584c3bb1f9c499ef6cde0d2649d..5a51314240eceab6d68bf2d4144f4fd1c6b7aecf 100644
(file)
--- a/
src/stlink-common.c
+++ b/
src/stlink-common.c
@@
-1245,6
+1245,7
@@
int stlink_write_flash(stlink_t *sl, stm32_addr_t addr, uint8_t* base, unsigned
/* First unlock the cr */
unlock_flash_if(sl);
+ /* TODO: Check that Voltage range is 2.7 - 3.6 V */
/* set parallelisim to 32 bit*/
write_flash_cr_psiz(sl, 2);