platformio / platformio-docs

PlatformIO Documentation
https://docs.platformio.org
Apache License 2.0
240 stars 325 forks source link

Update blackpill_f103c8_128.rst #208

Closed MaJerle closed 3 years ago

MaJerle commented 3 years ago

There is no such thing like STM32F103C8 (128kB), it is either STM32F103C8 (64kB) or STM32F103CB (128kB).

I think other things would need to be changed accordingly (references too)

CLAassistant commented 3 years ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

valeros commented 3 years ago

Hi @MaJerle ! Thanks for the PR. Although the datasheet for F103C8 says it's has 64KB, in reality the most (if not all) blackpill boards based on F103C8 have 128 KB. For this reason the manifest for that "enhanced" variant of the MCU was added two years ago https://github.com/platformio/platform-ststm32/issues/184, so I'd better just leave it as it is for backward compatibility.

MaJerle commented 3 years ago

How do I know if it has 64 or 128kB?

valeros commented 3 years ago

IIRC, stm32flash is able to report the flash size for such cases.