![](/media/cache/profiles/7c39a5f991bef4a1e34187677a65871d.jpg.50x50_q85.jpg)
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
Diff: custom_targets.json
- Revision:
- 0:a04710facbb6
- Child:
- 3:90a9ecd02b47
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/custom_targets.json Thu May 14 05:25:26 2020 +0000 @@ -0,0 +1,26 @@ +{ + "BLUEPILL": { + "inherits": [ + "FAMILY_STM32" + ], + "core": "Cortex-M3", + "default_toolchain": "ARMC6", + "extra_labels_add": [ + "STM32F1", + "STM32F103C8" + ], + "supported_toolchains": [ + "ARMC6", + "GCC_ARM" + ], + "device_has_add": [ + "CAN", + "SERIAL_ASYNCH", + "FLASH" + ], + "device_has_remove": [ + "STDIO_MESSAGES", + "LPTICKER" + ] + } +} \ No newline at end of file