1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-20 03:53:49 +01:00
RIOT/boards/common/native/include/eui_provider_params.h
Mikolai Gütschow ed19204fb5
boards/native*: move common code to boards/common/native
Co-Authored-By: Oleg Hahm <oleg@riot-os.org>
2025-04-01 12:39:14 +02:00

45 lines
930 B
C

/*
* Copyright (C) 2020 ML!PA Consulting GmbH
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup boards_common_native
* @{
*
* @file
* @brief EUI providers found on the board
*
* @author Benjamin Valentin <benjamin.valentin@ml-pa.com>
*/
#ifndef EUI_PROVIDER_PARAMS_H
#define EUI_PROVIDER_PARAMS_H
#include "native_cli_eui_provider.h"
#ifdef __cplusplus
extern "C" {
#endif
/**
* @name EUI sources on the board
* EUI-64 can be provided with the -Z command line argument
* @{
*/
#define EUI64_PROVIDER_FUNC native_cli_get_eui64
#ifndef EUI64_PROVIDER_TYPE
#define EUI64_PROVIDER_TYPE NETDEV_SOCKET_ZEP
#endif
#define EUI64_PROVIDER_INDEX NETDEV_INDEX_ANY
/** @} */
#ifdef __cplusplus
}
#endif
#endif /* EUI_PROVIDER_PARAMS_H */
/** @} */