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

custom_targets.json

Committer:
hudakz
Date:
2020-06-04
Revision:
4:b57198581ca4
Parent:
0:2cf53c219693

File content as of revision 4:b57198581ca4:

{
    "BLUEPILL": {
        "inherits": [
            "MCU_STM32_BAREMETAL"
        ],
        "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"
        ]
    }
}