aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJeremy Drake <jeremydrake+gnuk@eacceleration.com>2017-08-02 16:11:34 -0700
committerNIIBE Yutaka <gniibe@fsij.org>2017-08-03 20:48:13 +0900
commit5fe5ff36c4d88e7cc09b5b834e0bc1a7fa595619 (patch)
treec51adc5704371e11987ecf6461477a2e724c5a48 /ChangeLog
parenta4f28ee17680742b0b0055f68b7a0741ccb17d6b (diff)
Allow compile-time override of detected flash size.
On the STM32F103C8, as used in the "blue pill" boards, it has been determined that, despite these only officially having 64KiB flash, it is possible to actually use 128KiB of flash. This commit allows for a preprocessor define STM32F103_OVERRIDE_FLASH_SIZE which, when set, is used as the size of flash in KiB instead of reading it from the FLASH_SIZE_REG.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c5c56c4..065a9d1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-08-03 Jeremy Drake <jeremydrake+gnuk@eacceleration.com>
+
+ * mcu/sys-stm32f103.c (flash_write): Allow compile time
+ flash size definition by STM32F103_OVERRIDE_FLASH_SIZE_KB.
+
2017-08-02 NIIBE Yutaka <gniibe@fsij.org>
* contrib/adc-gnu-linux.c: New.