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

mbed_app.json

Committer:
hudakz
Date:
2020-05-18
Revision:
1:96018ca8cb3f
Parent:
0:2cf53c219693
Child:
2:f6392c8bd0e0

File content as of revision 1:96018ca8cb3f:

{
    "requires": ["bare-metal", "events", "rtos-api"],
    "target_overrides": {
        "*": {
            "platform.stdio-baud-rate"          : 9600,
            "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"
        }
    }
}