Bare-metal configuration for a Bluepill board.

Warning

It does not work with the Mbed Online Compiler.

Follow these steps to import and compile them with Mbed CLI:

mbed import https://os.mbed.com/users/hudakz/code/Baremetal_Blinky_Bluepill
mbed compile -t GCC_ARM -m bluepill
Committer:
hudakz
Date:
Thu Jun 04 21:46:13 2020 +0000
Revision:
3:90a9ecd02b47
Parent:
2:1367098252c5
Bare-metal blinky on Bluepill.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
hudakz 0:a04710facbb6 1 {
hudakz 0:a04710facbb6 2 "requires": ["bare-metal"],
hudakz 0:a04710facbb6 3 "target_overrides": {
hudakz 0:a04710facbb6 4 "*": {
hudakz 0:a04710facbb6 5 "platform.stdio-baud-rate" : 115200,
hudakz 0:a04710facbb6 6 "platform.stdio-convert-newlines" : true,
hudakz 0:a04710facbb6 7 "platform.stdio-buffered-serial" : true,
hudakz 0:a04710facbb6 8 "platform.stdio-flush-at-exit" : true,
hudakz 2:1367098252c5 9 "target.c_lib" : "small"
hudakz 0:a04710facbb6 10 }
hudakz 0:a04710facbb6 11 }
hudakz 0:a04710facbb6 12 }