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: custom_targets.json
- Revision:
- 0:2cf53c219693
- Child:
- 4:b57198581ca4
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/custom_targets.json Thu May 14 05:27:57 2020 +0000 @@ -0,0 +1,26 @@ +{ + "BLUEPILL": { + "inherits": [ + "FAMILY_STM32" + ], + "core": "Cortex-M3", + "default_toolchain": "ARMC6", + "extra_labels_add": [ + "STM32F1", + "STM32F103C8" + ], + "supported_toolchains": [ + "ARMC6", + "GCC_ARM" + ], + "device_has_add": [ + "CAN", + "SERIAL_ASYNCH", + "FLASH" + ], + "device_has_remove": [ + "STDIO_MESSAGES", + "LPTICKER" + ] + } +} \ No newline at end of file