diff options
Diffstat (limited to 'chip/stm32/config_chip.h')
-rw-r--r-- | chip/stm32/config_chip.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chip/stm32/config_chip.h b/chip/stm32/config_chip.h index 3668d1b7e5..571f8ae015 100644 --- a/chip/stm32/config_chip.h +++ b/chip/stm32/config_chip.h @@ -45,6 +45,14 @@ #define CONFIG_PROGRAM_MEMORY_BASE 0x08000000 +/* Memory-mapped internal flash */ +#define CONFIG_INTERNAL_STORAGE +#define CONFIG_MAPPED_STORAGE + +/* Program is run directly from storage */ +#define CONFIG_MAPPED_STORAGE_BASE CONFIG_PROGRAM_MEMORY_BASE + +/* Compute the rest of the flash params from these */ #include "config_std_internal_flash.h" /* System stack size */ |