From 1785fd73c58b27a5732928398aa4a528fbce96ad Mon Sep 17 00:00:00 2001 From: Uwe Bonnes Date: Sun, 18 Dec 2011 19:24:32 +0100 Subject: [PATCH] Add a TODO to check for Supply Voltage before setting F4 paralleisme to 32 bits --- src/stlink-common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/stlink-common.c b/src/stlink-common.c index 77ab98d..5a51314 100644 --- 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);