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
Diff: mbed_app.json
- Revision:
- 0:2cf53c219693
- Child:
- 1:96018ca8cb3f
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed_app.json Thu May 14 05:27:57 2020 +0000 @@ -0,0 +1,12 @@ +{ + "requires": ["bare-metal", "events", "rtos-api"], + "target_overrides": { + "*": { + "platform.stdio-baud-rate" : 115200, + "platform.stdio-convert-newlines" : true, + "platform.stdio-buffered-serial" : true, + "platform.stdio-flush-at-exit" : true, + "target.default_lib" : "small" + } + } +}