summaryrefslogtreecommitdiff
path: root/chip/stm32/config-stm32f100.h
diff options
context:
space:
mode:
Diffstat (limited to 'chip/stm32/config-stm32f100.h')
-rw-r--r--chip/stm32/config-stm32f100.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chip/stm32/config-stm32f100.h b/chip/stm32/config-stm32f100.h
index b23814f4ad..ab4440f34d 100644
--- a/chip/stm32/config-stm32f100.h
+++ b/chip/stm32/config-stm32f100.h
@@ -10,6 +10,10 @@
#define CONFIG_FLASH_BANK_SIZE 0x1000
#define CONFIG_FLASH_ERASE_SIZE 0x0400 /* erase bank size */
#define CONFIG_FLASH_WRITE_SIZE 0x0002 /* minimum write size */
+
+/* No page mode on STM32F, so no benefit to larger write sizes */
+#define CONFIG_FLASH_WRITE_IDEAL_SIZE 0x0002
+
#define CONFIG_RAM_BASE 0x20000000
#define CONFIG_RAM_SIZE 0x00002000