Bare-metal configuration with EventQueue for a Bluepill board.

Warning

It does not work with the Mbed Online Compiler.

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

mbed import https://os.mbed.com/users/hudakz/code/Baremetal_EventQue_Bluepill
mbed compile -t GCC_ARM -m bluepill

Files at this revision

API Documentation at this revision

Comitter:
hudakz
Date:
Thu Jun 04 21:49:34 2020 +0000
Parent:
3:f25880700bda
Commit message:
Bare-metal with EventQueue 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
mbed_app.json Show annotated file Show diff for this revision Revisions of this file
diff -r f25880700bda -r b57198581ca4 custom_targets.json
--- a/custom_targets.json	Mon May 18 15:26:33 2020 +0000
+++ b/custom_targets.json	Thu Jun 04 21:49:34 2020 +0000
@@ -1,7 +1,7 @@
 {
     "BLUEPILL": {
         "inherits": [
-            "FAMILY_STM32"
+            "MCU_STM32_BAREMETAL"
         ],
         "core": "Cortex-M3",
         "default_toolchain": "ARMC6",
diff -r f25880700bda -r b57198581ca4 mbed-os.lib
--- a/mbed-os.lib	Mon May 18 15:26:33 2020 +0000
+++ b/mbed-os.lib	Thu Jun 04 21:49:34 2020 +0000
@@ -1,1 +1,1 @@
-https://github.com/ARMmbed/mbed-os/#1b2a68ae204b70a7aaf3818dc8fa3881250b13b0
+https://github.com/ARMmbed/mbed-os/#8b0956030a291ba140891899a87a179f337a7062
diff -r f25880700bda -r b57198581ca4 mbed_app.json
--- a/mbed_app.json	Mon May 18 15:26:33 2020 +0000
+++ b/mbed_app.json	Thu Jun 04 21:49:34 2020 +0000
@@ -6,7 +6,6 @@
             "platform.stdio-convert-newlines"   : true,
             "platform.stdio-buffered-serial"    : true,
             "platform.stdio-flush-at-exit"      : true,
-            "platform.callback-nontrivial"      : true,
             "target.tickless-from-us-ticker"    : true,
             "target.c_lib"                      : "small"
         }