mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-28 07:51:19 +01:00
drivers/include/ethos.h : Compile Configs
This commit is contained in:
parent
10d6b7a976
commit
bc65ffdcde
@ -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
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user