1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

drivers/ethos: set defaults for !ethos_stdio

This commit is contained in:
Benjamin Valentin 2022-02-04 12:08:39 +01:00
parent c460c0eb77
commit 748e85ed39

View File

@ -55,6 +55,17 @@ extern "C" {
#define ETHOS_BAUDRATE STDIO_UART_BAUDRATE
#endif
/** @} */
#else
#ifndef ETHOS_UART
#if IS_USED(MODULE_USBUS_CDC_ACM)
#define ETHOS_UART UART_DEV(0)
#else
#define ETHOS_UART UART_DEV(1)
#endif
#endif
#ifndef ETHOS_BAUDRATE
#define ETHOS_BAUDRATE 115200
#endif
#endif
/**