1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/common/stm32f103c8
Marian Buschsieweke 82ea9a02de
boards: Enable STM32F103C8 flash hack via env var
The STM32F103C8 secretly comes with 128KiB flash instead of 64KiB. Still, only
64KiB of it are tested and guaranteed to work. However, most of the times the
whole 128KiB flash works just fine. In the BluePill documentation this fact is
already documented and by using

    $ make BOARD=bluepill CPU_MODEL=stm32f103cb

the whole 128 KiB can be used by RIOT. When using this hack routinely, it easier
to use environment variables instead. But allowing to overwrite CPU_MODEL via
environment variables seems to be a bad thing, as it is easy to forget to clear
that environment variable when changing the BOARD variable.

This commit introduces the new STM32F103C8_FLASH_HACK variable, which unlocks
the 128KiB FLASH when set to "1". The BluePill documentation has been updated
accordingly.
2018-11-05 14:19:21 +01:00
..
dist boards/stm32f103c8: Remove lines from openocd.cfg handled my makefile 2018-08-10 16:59:57 +02:00
include boards*: adapt f1 based boards to new i2c api 2018-07-25 12:01:37 +02:00
Makefile boards: Added module boards_common_stm32f103c8 & refactored bluepill 2018-06-04 08:52:23 +02:00
Makefile.dep boards: Added module boards_common_stm32f103c8 & refactored bluepill 2018-06-04 08:52:23 +02:00
Makefile.features boards: unconditionally include CPU/Makefile.features 2018-10-11 17:13:40 +02:00
Makefile.include boards: Enable STM32F103C8 flash hack via env var 2018-11-05 14:19:21 +01:00