1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/bluepill
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: Added module boards_common_stm32f103c8 & refactored bluepill 2018-06-04 08:52:23 +02:00
include boards/cpu/drivers/sys: use generic stdio_ if 2018-08-22 10:54:25 +02:00
board.c add support for bluepill board 2017-10-27 16:06:50 +02:00
doc.txt boards: Enable STM32F103C8 flash hack via env var 2018-11-05 14:19:21 +01: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: Added module boards_common_stm32f103c8 & refactored bluepill 2018-06-04 08:52:23 +02:00
Makefile.include boards: Added module boards_common_stm32f103c8 & refactored bluepill 2018-06-04 08:52:23 +02:00