aboutsummaryrefslogtreecommitdiff
path: root/mcu/sys-stm32f103.c
AgeCommit message (Collapse)Author
2017-09-29Fix sys for STM32F103.NIIBE Yutaka
2017-08-03Allow compile-time override of detected flash size.Jeremy Drake
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.
2016-06-30const pointer cleanupNIIBE Yutaka
2016-05-31Cleanup of sys and its macroNIIBE Yutaka
2016-05-30consolidate mcu-chip specific codeNIIBE Yutaka