summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/storage.c
diff options
context:
space:
mode:
authorDave Hylands <dhylands@gmail.com>2017-06-03 13:27:49 -0700
committerDamien George <damien.p.george@gmail.com>2017-06-07 13:14:40 +1000
commit551a7317554b84651b0c3fd97f495753c17042ad (patch)
treeddec334de122df2ccbcd4508674c8b3789c49582 /stmhal/storage.c
parent9db1c50f18c9fecbbd4288dd8f67634c3f628dc6 (diff)
downloadmicropython-551a7317554b84651b0c3fd97f495753c17042ad.tar.gz
micropython-551a7317554b84651b0c3fd97f495753c17042ad.zip
stmhal: Add support for NUCLEO_F446RE board.
Diffstat (limited to 'stmhal/storage.c')
-rw-r--r--stmhal/storage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/storage.c b/stmhal/storage.c
index d0f2782856..1931cd6079 100644
--- a/stmhal/storage.c
+++ b/stmhal/storage.c
@@ -59,7 +59,7 @@
#define FLASH_MEM_SEG2_NUM_BLOCKS (128) // sector 11: 128k
#endif
-#elif defined(STM32F401xE) || defined(STM32F411xE)
+#elif defined(STM32F401xE) || defined(STM32F411xE) || defined(STM32F446xx)
STATIC byte flash_cache_mem[0x4000] __attribute__((aligned(4))); // 16k
#define CACHE_MEM_START_ADDR (&flash_cache_mem[0])