stmhal: Add support for flash storage on STM32F415.

This commit is contained in:
Dave Hylands 2016-11-25 00:11:10 -08:00 committed by Damien George
parent dbc09d03f6
commit 21e1703d37
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@
#include "storage.h" #include "storage.h"
#include "irq.h" #include "irq.h"
#if defined(STM32F405xx) || defined(STM32F407xx) #if defined(STM32F405xx) || defined(STM32F415xx) || defined(STM32F407xx)
#define CACHE_MEM_START_ADDR (0x10000000) // CCM data RAM, 64k #define CACHE_MEM_START_ADDR (0x10000000) // CCM data RAM, 64k
#define FLASH_SECTOR_SIZE_MAX (0x10000) // 64k max, size of CCM #define FLASH_SECTOR_SIZE_MAX (0x10000) // 64k max, size of CCM