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:
parent
c460c0eb77
commit
748e85ed39
@ -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
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user