
#Blue pill schematic Pc#


Have a look at mbed-STM32F030F4 and Andy's hints for some good tips. Try to optimize your program until it's using less than 64kB flash memory. In order to fit into an STM32F103C8T6 board the used Flash should not exceed 64kB (depending on your actual board). Once the compilation is complete (started by clicking on the Build only button in the Compile drop list or by pressing Ctrl+B) you can visually check the size of used flash memory in the Program details - Build tab. Although it seems that majority of Blue Pill boards sold online usually feature 128kB Flash rather than 64kB. However, the STM32F103C8T6 is equipped with only 64kB. Keep in mind that the online compiler is checking for 128kB maximum flash size. Or click here to import this demo into your online compiler. Using the mbed online compiler to build programs for the STM32F103C8T6 boardĬreate a program as if it was for a NUCLEO-F103RB board (select NUCLEO-F103RB as target platform for the online compiler). Once saved to your local drive, change the extension from png to lbr.
#Blue pill schematic zip#
Schematicīecause neither lbr nor zip files can be uploaded to mbed wiki pages anymore to download the eagle library right-click on the link and select Save link as. So to turn the LED on or off you have to set the DigitalOut to 0 or 1 respectively.

Arduino (green/white) and the additional naming labels are not indicated on the board.Īlso notice that the on-board LED is connected to pin PC_13 and, via a resistor, to +3.3V. Instead of 'PA_1' you can find the label 'A1' on the board). Please notice that in order to fit the small size board, the leading 'P' and the '_' characters are omitted from labels indicated on the board (e.g. SERIAL_RX=PA_3 I2C_SDA=PB_9 SPI_MISO=PA_6

For more details on pin definitions see Table 5 in the Datasheet. Maximum allowed I/O voltage levels (next to pin names) are courtesy of Thor Sten to help you avoid board damage.
