diff --git a/drivers/include/ethos.h b/drivers/include/ethos.h index fdc4408d39..efc3489c9a 100644 --- a/drivers/include/ethos.h +++ b/drivers/include/ethos.h @@ -28,20 +28,34 @@ #include "net/netdev.h" #include "tsrb.h" #include "mutex.h" +#include "kernel_defines.h" #ifdef __cplusplus extern "C" { #endif /* if using ethos + stdio, use STDIO_UART values unless overridden */ -#ifdef MODULE_STDIO_ETHOS +#if IS_USED(MODULE_STDIO_ETHOS) || defined(DOXYGEN) #include "stdio_uart.h" +/** + * @defgroup drivers_ethos_config Ethernet-over-serial driver driver compile configuration + * @ingroup config_drivers_netdev + * @{ + */ +/** + * @brief Set the default UART Interface. + */ #ifndef ETHOS_UART #define ETHOS_UART STDIO_UART_DEV #endif + +/** + * @brief Set the default baudrate. + */ #ifndef ETHOS_BAUDRATE #define ETHOS_BAUDRATE STDIO_UART_BAUDRATE #endif +/** @} */ #endif /**