ST


A world leader in providing the semiconductor solutions that make a positive contribution to people’s lives, both today and in the future.

You are viewing an older revision! See the latest version

STDIO

With the default STM32 MBED configuration, STDIO RX and TX pins are set with the virtual COM pins from ST-Link.

If you want to use some other pins,

- for a custom board

- if you don't use/removed ST-Link part

- ...

You are able to redefine STDIO RX and TX pins in the json config files.

Here is an example of mbed_app.json :

"target_overrides": {
        "NUCLEO_F411RE": {
            "target.stdio_uart_tx": "D8",
            "target.stdio_uart_rx": "D3",
        }
}

Default STDIO baudrate value is set now to MBED_CONF_PLATFORM_STDIO_BAUD_RATE

Default other UART baudrate value is set now to MBED_CONF_PLATFORM_DEFAULT_SERIAL_BAUD_RATE


All wikipages