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
Revision:
3:f25880700bda
Parent:
1:96018ca8cb3f
--- a/main.cpp	Mon May 18 15:24:18 2020 +0000
+++ b/main.cpp	Mon May 18 15:26:33 2020 +0000
@@ -1,6 +1,6 @@
 #include "mbed.h"
 
-DigitalOut  led1(PC_13);
+DigitalOut  led1(LED1);
 InterruptIn button(PA_8, PullUp);
 EventQueue  eventQueue;