summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-04-18 22:08:16 +0100
committerDamien George <damien.p.george@gmail.com>2015-04-18 22:08:16 +0100
commit3e592531eb172206f93739b5c7363d7d25bbf45d (patch)
tree23a1364ae5facbbc21ad1cfbd5ce0d8761924745
parent90e6d0c2ac3dcda46d93b061802692444bd931a4 (diff)
downloadmicropython-3e592531eb172206f93739b5c7363d7d25bbf45d.tar.gz
micropython-3e592531eb172206f93739b5c7363d7d25bbf45d.zip
stmhal: For flash storage use same params for F407 as F405.
-rw-r--r--stmhal/storage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/storage.c b/stmhal/storage.c
index d3dc82a330..e2a9a7c474 100644
--- a/stmhal/storage.c
+++ b/stmhal/storage.c
@@ -34,7 +34,7 @@
#include "flash.h"
#include "storage.h"
-#if defined(STM32F405xx)
+#if defined(STM32F405xx) || defined(STM32F407xx)
#define CACHE_MEM_START_ADDR (0x10000000) // CCM data RAM, 64k
#define FLASH_PART1_START_BLOCK (0x100)