I'm programming for a STM32F103C8T6 (aka blue pill), with the be datasheet here.
On page 14 it states:
2.3.2 Embedded Flash memory 64 or 128 Kbytes of embedded Flash is available for storing programs and data.
Now mine has 64 KB, however, does this mean I have 100% available, or is there some part reduced? And if so, how much? Or is there a way to find out when it will not 'fit' (like an error will show up?).
I use an STM32 ST-LINK V2, and afaik I'm not using any special bootloader, development environment is Workbench 4 STM / Eclipse, and using HAL/STMCube.
Currently I'm using only about 19KB but I'm not finished (and running my unit tests also within this code, although I can switch it off, which saves half).