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
Revision 3:90a9ecd02b47, committed 2020-06-04
- Comitter:
- hudakz
- Date:
- Thu Jun 04 21:46:13 2020 +0000
- Parent:
- 2:1367098252c5
- Commit message:
- Bare-metal blinky on Bluepill.
Changed in this revision
custom_targets.json | Show annotated file Show diff for this revision Revisions of this file |
mbed-os.lib | Show annotated file Show diff for this revision Revisions of this file |
diff -r 1367098252c5 -r 90a9ecd02b47 custom_targets.json --- a/custom_targets.json Mon May 18 16:48:54 2020 +0000 +++ b/custom_targets.json Thu Jun 04 21:46:13 2020 +0000 @@ -1,7 +1,7 @@ { "BLUEPILL": { "inherits": [ - "FAMILY_STM32" + "MCU_STM32_BAREMETAL" ], "core": "Cortex-M3", "default_toolchain": "ARMC6",
diff -r 1367098252c5 -r 90a9ecd02b47 mbed-os.lib --- a/mbed-os.lib Mon May 18 16:48:54 2020 +0000 +++ b/mbed-os.lib Thu Jun 04 21:46:13 2020 +0000 @@ -1,1 +1,1 @@ -https://github.com/ARMmbed/mbed-os/#1b2a68ae204b70a7aaf3818dc8fa3881250b13b0 +https://github.com/ARMmbed/mbed-os/#8b0956030a291ba140891899a87a179f337a7062